How to search just the nodes shared by ways with given tags?

Hello,

In JOSM, I want to select the nodes shared by ways with specific tags.

An example, as pictured below: select all nodes shared by highway=footway and barrier=kerb, in order to add the tag barrier=kerb to the nodes themselves, in one fell swoop.

Is there an Overpass script a query for this?

Edit: solution for the given example:
type:node child barrier=kerb and child highway=footway

Thank you,
Selva

3 posts - 2 participants

Read full topic


Ce sujet de discussion accompagne la publication sur https://community.openstreetmap.org/t/how-to-search-just-the-nodes-shared-by-ways-with-given-tags/111283