google maps - efficient way to geocode huge amount of twitter user location -


i'd geocode around 2m strings representing cities or states or countries of whole world every day. theses strings not clean, (you have make distinction between "paris,france" , "paris,tx" instance, have have geocode "paris" french city !) that's why i'm looking use gmaps api or osm nominatim api.

the brute force solution dump osm data on computer , process locally, hope can find easier way it.

obviously, can reduce amount of strings geocoded, store results not have query twice string, still have hundred thousands strings geocode...

thanks !

to comply usage policy when using osm's nominatim instance have wait 1 second between each request. geocoding 100.000 requests take around 28 hours feasible you. alternatively can use 1 of other nominatim instances (after checking usage policy!) or try install locally.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -