dieghernan / nominatimlite

Lite interface for getting data from OSM geocoder service.
https://dieghernan.github.io/nominatimlite/
Other
18 stars 2 forks source link

Local Nominatim server not supported #41

Closed alexwhitedatamine closed 6 months ago

alexwhitedatamine commented 6 months ago

The package has the address https://nominatim.openstreetmap.org/ hardcoded in, which doesn't allow for the ability to connect to and query a local Nominatim instance.

I'm proposing a change to the following functions:

To add a keyword argument nominatim_server which allows the user to specify a custom URL to build the API requests from.