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

Nominatim: get primary_link, secondary_link ways

0

I can't get any information about osm ways primary_link, secondary_link etc. from Nominatim. Seems that there is no information in Nominatim about this roads at all, because, for example, even on https://nominatim.openstreetmap.org/

when i try reverse search for point 55.707947 37.57625 and zoom 16 I can't get info about osm way 40946080 (but i can find it manually by link in list of points for way 51876561) https://www.openstreetmap.org/way/40946080

In postgres nominatim db (tables place and placex) i also can't find required osm_id. This case reproduces for ways with tag primary_link, secondary_link

Is there any way to get ways of that types in Nominatim (or, maybe, change data import to my (local) osm db from pbf)?

asked 01 Jun '20, 07:42

Dvf_blm's gravatar image

Dvf_blm
16112
accept rate: 0%


2 Answers:

3

The wiki says Nominatim is for named things. The secondary_link you linked to is unnamed, so I wouldn't expect Nominatim to find it.

Depending on your use case Overpass or Overpass Turbo may do what you like.

answered 01 Jun '20, 08:33

InsertUser's gravatar image

InsertUser
11.0k1369185
accept rate: 19%

Source code available on GitHub .