Re:A fast, offline reverse geocoder in Python
by mtmail on Saturday March 28, 2015 @09:22AM
(#9281410)
OSM data doesn't contain an easy way to find the top 1000 cities. You'd end up with 100.000s. Looking for wikipedia tags, population (which often comes from Wikipedia) and 'admin' tags might be a good guide.
(I work on a OSM geocoder, not offline but has a Python library http://geocoder.opencagedata.com/)
Would it be possible to use OpenStreetMap data?
http://planet.openstreetmap.org/