Re:Geocode-sqlite: Geocode rows in an SQLite database table
by kvutza on Monday May 17, 2021 @07:33AM
(#27182307)
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?
Re:Geocode-sqlite: Geocode rows in an SQLite database table
by mtmail on Monday May 17, 2021 @08:31AM
(#27182702)
> from geopy.geocoders import Nominatum
It's called Nominatim, not Nominatum. If you run into issues then reporting it on github repository might be the best option. It's not clear if the HN user is the author of the library.
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/