I am working on a personal project that requires users to enter an address. Then the address will get converted into Latitude and Longitude values which will then be saved into our local database for future reference.
My question to you all, is how would you all suggest I go about doing the address to lat/long conversion. I know the Google Maps API allows this sort of conversion, but they also have restrictions on how you may use the converted values. (See http://code.google.com/apis/maps/faq.ht ... der_exists)
What are your thoughts?
Street Address to Lat/Long Conversion
Moderator: General Moderators
- flying_circus
- Forum Regular
- Posts: 732
- Joined: Wed Mar 05, 2008 10:23 pm
- Location: Sunriver, OR
Re: Street Address to Lat/Long Conversion
I havent found a good (free) solution yet.
Google geocoding and you should come up with a few results. Maybe one will work for you?
Google geocoding and you should come up with a few results. Maybe one will work for you?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: Street Address to Lat/Long Conversion
Address geocoding would involve highly expensive databases. In my Uni program (geomatics), I think our databases for Canada alone were around $20,000 for this capability.
Your best bet would be to do it by zip/postal code. Although, these databases usually come with a price tag, they are far cheaper. If memory serves, you can get one for North America for a couple hundred bucks.
Your best bet would be to do it by zip/postal code. Although, these databases usually come with a price tag, they are far cheaper. If memory serves, you can get one for North America for a couple hundred bucks.
Re: Street Address to Lat/Long Conversion
Thanks guys. I to have thought about accomplishing it on a zip code only basis. I have been searching around looking for a good zip code database that gets updated for sometime now. Do you all know of any particular ones?
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: Street Address to Lat/Long Conversion
MaxMind seems to be the online defacto for GeoIP.