|
|
||||||
|
||||||
| Index Link To US Private Messages Archive FAQ RSS | ||||||
| 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
|
||||
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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. |
|
|||
|
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.
|
|
|||
|
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 :) |
|
|||
|
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:
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 |
|
|||
|
Quote:
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 |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
WebProWorld |
Advertise |
Contact Us |
About |
Forum Rules |
MVP's |
Archive |
Newsletter Archive |
Top |
WebProNews
WebProWorld is an iEntry, Inc. ® site - © 2009 All Rights Reserved Privacy Policy and Legal iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509 |