Nominatim with parks and promenades

Which values in “addr:street” can work when searching for memorials and other POIs?

I noticed defining addr:street can correct it, when the street displayed in search by default isn’t helpful. Which values are picked up? Do they need to have “highway=” defined somewhere?

I tried adding “addr:street=Parc Saint-Jean” to some features, but this didn’t work.

“Promenade Saint-Jean” is picked up since I added it to Way: ‪Promenade Saint-Jean‬ (‪62756426‬) | OpenStreetMap

(“Promenade” is sometimes an official or informal name for the way in the park of the same name).

In general, what’s the preferred approach? My question concerns mainly POIs in parks and on public squares. I noticed them being of varying complexity in OSM.

There isn’t anything about this on Switzerland/Map Features - OpenStreetMap Wiki but maybe I’m not looking at the right pages.

  • A memorial does not have an addr:street-Tag in my opinion, as it’s not going to receive any mail.
  • A POI (restaurant, etc.) can “inherit” the address tags for searching from the surrounding building/entrance tagged with the correct tags.

You’ve made Changeset: 177167454 | OpenStreetMap (now) 7 hours ago. Nominatim and other data consumers do not update this quickly. You’ll probably have to wait a day or so.

2 Likes

If it’s not “addr:street” what feature should be used instead?

Update for “Promenade Saint-Jean” was almost instantaneous. What info would need to be on “Parc Saint-Jean” for this work? Way: ‪Parc Saint-Jean‬ (‪39966731‬) | OpenStreetMap
For public squares, “highway=pedestrian” seems to work, but applying this to a park isn’t ideal.

object:street ?

I am not fan of this tagging but at least it is not clearly wrong

Thanks for the suggestion, I gave it a try at node/9817558968, but Nominatim doesn’t pick it up.

Also, the question remains which values can actually work: what needs to be on ways (or nodes or relations), so Nominatim uses them to override the best guess.

For the sample, “Boulevard Helvetique” is not useful, as the statue is on a hill, but that a road below. “Rue Charles-Galland” would be better, best “Promenade de l’Observatoire”.

You can’t “fix” that in OSM. Nominatim needs to implement support for detecting POIs inside larger features like parks or shopping malls. It’s somewhere on the TODO list to have something like that but not trivial to implement, so please have patience.

That sounds like an interesting approach. Hope it’s not purely theoretical.

Maybe public parks can be different from malls, at least when they have some official street naming and correspond to some city section.

I don’t think it will solve all cases, as the indicating the actual street as opposed to one computed by Nominatim (or another engine) is still useful for anything located on a cliff, above a cliff road.

Also, which streets would actually work?

Maybe a couple of samples from Zürich help:

  1. https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=4962062845
  2. https://nominatim.openstreetmap.org/ui/details.html?osmtype=W&osmid=617727049
  3. https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=306480499

for all 3, I’d expect the answer to be
“.. Paradeplatz, City, Altstadt, Zurich, District Zurich, Zurich, 8001, Switzerland”,
but instead of “Paradeplatz”, it’s either “Bahnhofstrasse” or “Talacker”.

The square is defined with: relation/905841