iEntry 10th Anniversary Forum Rules Search
WebProWorld
Register FAQ Calendar Mark Forums Read
Web Programming Discussion Forum Working with an API? Developing a plugin? Writing a Mod or script for your favorite blog, Web 2.0 site or Forum? Welcome.

Share Thread: & Tags

Share Thread:

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-21-2004, 03:01 PM
WebProWorld New Member
 
Join Date: Sep 2004
Location: memphis, tn
Posts: 4
Silverhaze RepRank 0
Default Online Directory

Hello,
I am trying to figure out how to build an online directory for this organization I am working with. What they are looking for is just like the one you will find at napps.com. Anything where someone can do a search by location and get a list of companies servicing that location would work great. Any suggestion would help, also we don’t have the hosting service yet so if we need to get a host with special service that won’t be a problem.
Reply With Quote
  #2 (permalink)  
Old 09-21-2004, 04:46 PM
WebProWorld Pro
 
Join Date: May 2004
Location: United Kingdom
Posts: 151
php~pro RepRank 0
Default

Well building the postal search is the expensive part. You need the mathdata for the postcodes. Mathdata works through the database and compares the lat and long co-ordinates along with the postcode and calculates the distance. If you want this feature, be prepared to pay. Here in the UK only a few select companies have rights to the data and therefore monopolise. Luckily I work on contract to one of these places and aquired it. For the USA I did see someone selling a full application and a good price, I just cant remember where. Google for postal code search, postal code proximity search, or mathdata. If you get the data there are freely available scripts for the US that will do the calculations.
Reply With Quote
  #3 (permalink)  
Old 09-22-2004, 08:54 PM
WebProWorld Member
 
Join Date: Sep 2004
Location: Idaho
Posts: 40
MHenscheid RepRank 0
Default

See if you can get a list of zip codes with their latitude and longitude (I got one a while ago at http://www.census.gov/geo/www/gazetteer/places2k.html, they might have a more recent one somewhere).

Once you have the lat and long, do a search for the formula to check distance based on lat and long. The result will be "air" distance, but it might be enough for what you need.

Here is the working version on my site: http://www.nrsweb.com/services/dealerlocator.asp. It does not sort by proximity yet...but it's on my list :)
Reply With Quote
  #4 (permalink)  
Old 09-23-2004, 05:06 AM
WebProWorld Pro
 
Join Date: May 2004
Location: United Kingdom
Posts: 151
php~pro RepRank 0
Default

I believe 3 such script are available for USA and Canada free of charge. Search the open source.
Reply With Quote
  #5 (permalink)  
Old 09-24-2004, 03:20 AM
DrTandem1's Avatar
WebProWorld 1,000+ Club
 
Join Date: Oct 2003
Location: Encinitas, CA
Posts: 1,830
DrTandem1 RepRank 2
Default

Why not just tell them to use Google?
__________________
DrTandem's San Diego Web Page Design, drtandem.com
Reply With Quote
  #6 (permalink)  
Old 09-24-2004, 08:01 AM
WebProWorld Pro
 
Join Date: May 2004
Location: United Kingdom
Posts: 151
php~pro RepRank 0
Default

Because I think the poster has common sense and doesnt excatly need things spelling out, unlike some. If you read all posts releating to the query you would have seen this.
Quote:
php~pro
Google for postal code search, postal code
Pity you couldnt make a more useful contribution to the posters query, perhaps you are out of your depth. Try http://www.lilypie.com. They have forums more suited to your academic level.



Zip Code Database with distance calculation algorithm. Planned support for MySQL, Postgres, Interbase/Firebird SQL, SQL-Lite, MS-SQL, as well as Python, Perl, PHP, ASP, and others.
http://sourceforge.net/projects/zips/

Insight into what is involved.
http://www.census.gov/cgi-bin/geo/gisfaq?Q5.1
Reply With Quote
  #7 (permalink)  
Old 09-24-2004, 04:40 PM
WebProWorld Pro
 
Join Date: Feb 2004
Location: Varna
Posts: 202
arpecop RepRank 0
Default

Quote:
Why not just tell them to use Google?
LOL
80% of the answers in all questions !
other 20% (you are not so good to find them in google)
I hope understand me (sorry for bad english)[/quote]
__________________
Read the forum rules about signatures
Reply With Quote
  #8 (permalink)  
Old 09-29-2004, 10:23 AM
WebProWorld New Member
 
Join Date: Sep 2004
Location: memphis, tn
Posts: 4
Silverhaze RepRank 0
Default Thanks

Thanks for all the help!!
Reply With Quote
Reply

  WebProWorld > Webmaster, IT and Security Discussion > Web Programming Discussion Forum

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:49 PM.



Search Engine Optimization by vBSEO 3.3.0