News for hackers. Stuff that matters.
Re:Redis 3.2.0 is out by cft on Friday May 06, 2016 @07:47AM (#11643232)
I like their new GEO sorted set with latitude and longitude. Can someone point me to a [reasonably priced] geocoding database to display nearest Town, Region (only where appropriate), Country (in English) based on latitude and longitude?
Re:Redis 3.2.0 is out by cullenking on Friday May 06, 2016 @12:11PM (#11644895)
It's a big deal to run (takes lots of hardware), but I really like nominatim. I've played with them all and it's the one I've settled on. Helps that I run it on a pair of OSM tile rendering and routing servers. Only downside to nominatim is the space requirement (~ 700gb), and the fact that it takes forever to build the database (24 - 36 hours on 256gb ram machines w/ SSDs....)
Re:Redis 3.2.0 is out by killahpriest on Friday May 06, 2016 @08:25AM (#11643443)
Re:Redis 3.2.0 is out by jnthn on Friday May 06, 2016 @10:16AM (#11644110)
We at Teleport have an open API for this as well, check if the following would be of use: http://developers.teleport.org/api/getting_started/#search_n...
Re:Redis 3.2.0 is out by okramcivokram on Friday May 06, 2016 @07:51AM (#11643263)
I've used GeoNames (geonames.org) for a few projects.
Re:Redis 3.2.0 is out by jbrantly on Friday May 06, 2016 @12:32PM (#11645036)
I can second GeoNames. Sometimes it's hard to beat free. We take a couple files from their dump[1] (primarily the city data) and import into a database. We can then geolocate a lat/long to the closest city.

1. http://download.geonames.org/export/dump/

Re:Redis 3.2.0 is out by lucaspiller on Friday May 06, 2016 @08:30AM (#11643461)
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/

Re:Redis 3.2.0 is out by cft on Friday May 06, 2016 @07:56AM (#11643284)
I was turned off by their blurp that their US zip codes database contains only 21k zips out of 41.5k. Are they sufficiently complete for small towns?
Re:Redis 3.2.0 is out by hamandcheese on Friday May 06, 2016 @08:28AM (#11643450)
The incomplete zips (for at least one database I've read about) come from corporate or industrial areas where not many people actually live.
Re:Redis 3.2.0 is out by maxerickson on Friday May 06, 2016 @08:56AM (#11643607)
Officially US zip codes are just collections of addresses, they don't necessarily correspond to areas.

I think most free datasets are probably just the areas that Census derived for TIGER (or at the very least, rely heavily on that data).

Re:Redis 3.2.0 is out by drewda on Friday May 06, 2016 @09:31AM (#11643799)
An open data gazetteer https://whosonfirst.mapzen.com/
Re:Redis 3.2.0 is out by Ruud-v-A on Friday May 06, 2016 @10:53AM (#11644374)
Wouldn’t it be possible to get this data from Openstreetmap?
Re:Redis 3.2.0 is out by ikawe on Friday May 06, 2016 @12:12PM (#11644907)
More specifically, the OSM project Nominatim does Address->Lat,Lon

http://wiki.openstreetmap.org/wiki/Nominatim