Hacker News new | ask | show | jobs
by lucaspiller 3702 days ago
I'm using it for a photo app (I only need town/city level granularity), and it works well for my needs. Note that the dataset is based upon populated places though, so YMMV if you need to lookup somewhere in the middle of nowhere.

Here is a JavaScript library I wrote for it, along with some scripts for munging the GeoNames dataset:

https://github.com/lucaspiller/offline-geocoder/

If you need higher granularity, take a look at this OSM project:

https://github.com/twain47/Nominatim/