modify relation's member attribute during imort #2312
Replies: 1 comment 3 replies
-
Closing as off-topic here. The Nominatim repo is the right place for this question. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using Nominatim and I was using one old osm.pbf file. I decided to update it and found out that I am no longer able to find an object which was in Nominatim before.
It is this node https://nominatim.openstreetmap.org/ui/details.html?osmtype=N&osmid=158837444&keywords=1
Long story short if I import relation 8th version of parent relation https://www.openstreetmap.org/api/0.6/relation/2017758/8 I cannot find node, but if I import 7th version https://www.openstreetmap.org/api/0.6/relation/2017758/7 - everything is fine.
The only difference is the role of the node, in 7th version it's "admin_centre" and in 8th - "label".
So my question is: can I modify this role somewhere? I tried in flex-base.lua in the function process_relation modify this relation but osm2pgsql ignores that modification.
Related question was asked in Nominatim project, paste it here, might be useful
osm-search/Nominatim#3662
Beta Was this translation helpful? Give feedback.
All reactions