This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Missing municipality/hamlet details on self-hosted server

0

Hi all,

Since a few weeks we've running a self-hosted Nominatim server now. The server is running like a gem, but we noticed a little difference in some of our queries sometimes.

Screenshot

When we request a reverse query with lat/lon data on our self-hosted server, we are receiving (almost) the same information as the nominatim.openstreetmap.org API, but unfortunately the municipality and also the hamlet is sometimes missing on our self-hosted server.

Does anyone have an idea how to add these missing municipality/hamlet details to our output?

Many thanks in advance!

Kind regards, Randy Dautzenberg

asked 04 Jul '23, 13:03

Randy's gravatar image

Randy
11113
accept rate: 0%

edited 04 Jul '23, 13:12


2 Answers:

1

Try format=geocodejson instead of format=jsonv2 - are you still seeing differences?

answered 04 Jul '23, 13:18

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
82.5k927201273
accept rate: 23%

0

Hi Frederik,

Many thanks for your very quick response! I've tried to add the format=geocodejson instead of format=jsonv2.

There is a little difference in the city and locality this time. Does that mean there's something wrong with our self-hosted server?

Screenshot

Again many thanks for the quick reply!

Kind regards, Randy

answered 04 Jul '23, 13:34

Randy's gravatar image

Randy
11113
accept rate: 0%

edited 04 Jul '23, 13:41

Source code available on GitHub .