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

Query subways master and child relationship

0

Hello, how to query OSM child relationship that have no wikidata tag? Thanks

asked 15 Apr '23, 19:48

bouzinac's gravatar image

bouzinac
26224
accept rate: 0%

1

Can you explain what you're actually trying to do and why wikidata is relevant?

(15 Apr '23, 22:48) InsertUser

Tagging wikidata ID on child relationships would help build maps such as in https://en.wikipedia.org/wiki/Template:Rapid_transit_OSM_map . For that template to function on a wiki using OSM layered tracks, child relationships of a master route shall have a wikidata id.

(15 Apr '23, 23:00) bouzinac
1

That's more Wikipedia's problem than ours. Transit routes are recorded in OSM with their own relation ID's. See here for the general overview.

(16 Apr '23, 18:13) InsertUser

Source code available on GitHub .