Offline reverse geolocation HTTP API.
The index is built on the cities1000.zip (all cities with a population > 1000) dump from GeoNames.
You can download it [here](all cities with a population > 1000). Once you have unzipped the file, run:
$ ge0 -build-reversegeo-index -path-cities1000txt=/path/to/cities1000.txt /data/dirOnce the index is built, you can just run:
$ ge0 /data/dirOffline reverse geocoding, using the "cities" Places index (from Geonames Cities 1000 dataset).
Returns the nearest city, data can be null if no city is found with the given precision.
Parameters: lat, lng and precision (optional, in meters, default is 5km).
$ curl http://localhost:8010/api/reversegeo?lat=1.0&lng=1.0