Live data from Hacker News

Geocode-sqlite: Geocode rows in an SQLite database table

github.com

1–10 of 20 posts

Re: Geocode-sqlite: Geocode rows in an SQLite database table

#4
Just keep in mind while there is no API key required for OSM's Nominatum, there are no guarantees and they explicitly discourage bulk geocoding, with no clarification on what is bulk. [1] The lack of clarification seems intentional, which is understandable.

geocode-sqlite does support non-OSM hosted instances of Nominatum so find an alternative if you have large or regular geocoding tasks.

[1] https://operations.osmfoundation.org/policies/nominatim/

Re: Geocode-sqlite: Geocode rows in an SQLite database table

#5

Just keep in mind while there is no API key required for OSM's Nominatum, there are no guarantees and they explicitly discourage bulk geocoding, with no clarification on what is bulk. [1] The lack of clarification seems intentional, which is understandable. geocode-sqlite does support non-OSM hosted instances of Nominatum so find an alternative if you have large or regular geocoding tasks. [1] https://operations.osmf…

I've been trying to find a good self hosted docker version but just haven't had any luck. I have about 30k addresses I need to geocode and the paid solution are way out of budget.

Re: Geocode-sqlite: Geocode rows in an SQLite database table

#6
I recently ran into the problem of how to efficiently filter a list of geo-locations based on a specific distance to a given geo-location. I could not find any discussion anywhere about possible algorithms. Does anyone have a recommendation (article, book, Web-site)?

Re: Geocode-sqlite: Geocode rows in an SQLite database table

#7

I recently ran into the problem of how to efficiently filter a list of geo-locations based on a specific distance to a given geo-location. I could not find any discussion anywhere about possible algorithms. Does anyone have a recommendation (article, book, Web-site)?

If you can use PostgreSQL, the obvious solution is PostGIS and the "geography" data type:

https://postgis.net/ https://postgis.net/docs/postgis_usage.html#PostGIS_Geograph...

Re: Geocode-sqlite: Geocode rows in an SQLite database table

#9

I recently ran into the problem of how to efficiently filter a list of geo-locations based on a specific distance to a given geo-location. I could not find any discussion anywhere about possible algorithms. Does anyone have a recommendation (article, book, Web-site)?

https://gis.stackexchange.com/ and to a lesser extend https://help.openstreetmap.org/

Re: Geocode-sqlite: Geocode rows in an SQLite database table

#10

Just keep in mind while there is no API key required for OSM's Nominatum, there are no guarantees and they explicitly discourage bulk geocoding, with no clarification on what is bulk. [1] The lack of clarification seems intentional, which is understandable. geocode-sqlite does support non-OSM hosted instances of Nominatum so find an alternative if you have large or regular geocoding tasks. [1] https://operations.osmf…

The example of Nominatum use at the geocode-sqlite page shows using a local, thus non-OSM hosted, instance of Nominatum.

nominatum = Nominatum(user_agent="this-is-me", domain="nominatum.local.dev", scheme="http")

I have not tried it myself, thus if it fails, could you please report on what goes wrong there?

Post reply on HN