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

Nominatim not showing city’s shape/boundaries, only single point

0

The title says it all, when I query on the osm page I get the correct represenation of the city and its borders/shape:

https://nominatim.openstreetmap.org/search.php?q=Hamburg&polygon_geojson=1&viewbox=

But when I do it on my server it just shows the single point in the center of the city. What am I missing?

I should mention that I moved the whole /srv/nominatim/ installation to a different location due to limited space on that mounting point. Tho I did adjust all the symlink and everything seems to work fine, except for this single little issue.

Thank you!

Where can I tell postgres the new file location?

asked 26 Jun '20, 09:45

dszill's gravatar image

dszill
11224
accept rate: 0%

edited 26 Jun '20, 11:01


One Answer:

0

There where some recent fixes in the software of Nominatim and the OSM data to ensure that state cities like Hamburg are matched correctly against their boundaries. You need at least Nominatim 3.5.0 and OSM data from April 2020 or later to make this work correctly on your server.

answered 26 Jun '20, 14:35

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

edited 26 Jun '20, 14:35

Source code available on GitHub .