If you're thinking about moving off of Google Maps, by far the most difficult piece of the stack to replicate is its geocoder. Google probably has the most comprehensive database and by far the best address parsing. It also has this problematic line in its terms of service:
Note: the Geocoding API may only be used in conjunction with a Google map; geocoding results without displaying them on a map is prohibited. For complete details on allowed usage, consult the Maps API Terms of Service License Restrictions.
So, no Google map, no Google geocoder.
We do have other options, of course:
- Yahoo Placefinder
- Bing
- Geocoder.us
- Nominatum (MapQuest)
- Pelias
- NYC Geoclient
##Usage:
This depents on setting environment variables for geocoder keys. source setup_env.sh
script, when appropriately configured with your keys, will set them.
Once that is set, all that is necessary is to run python bin/geocode.py [INFILE]
. This will write out a file called out.csv