missing keywords in a member of relation with role "label" #3662
Unanswered
denis-olyanyuk
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Linking is hard-coded and cannot be disabled. You really would have to hack the SQL code for your instance. The specific example happens to work on osm.org because updates are not particularly good at catching changes in relation roles (see #1539). Lets take a step back here. Why do you need the keywords for the node? Is it because you rather would like to have the node in the search results, and if yes, why? Or do you do something with the keywords themselves? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have self hosted nominatim and recently I downloaded a new osm.pbf file (I was using north-america from geofabrik downloaded about a year ago).
I noticed that this node https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=158837444&keywords=1 is missing keywords, but it has in public nominatim and had with previous version of osm.pbf file.
After some investigation I found out: it worked with older version of parent relation https://www.openstreetmap.org/api/0.6/relation/2017758/7
and doesn't work with new one https://www.openstreetmap.org/api/0.6/relation/2017758/8
The only difference is that in parent relation node had role "admin_centre" and not it's "label".
So I have two questions: is there any way to prevent this objects from linking (because later in placex triggers it becomes linked objects and skips from creating keywords? I was trying to modify role in lua script: in file flex-base.lua in function process_relations, but even if I change role it still imported with non modified value.
Why is it working in public nominatim? Am I doing something wrong?
Beta Was this translation helpful? Give feedback.
All reactions