I filter an osm planet extract using osmfilter. I am only interested in nodes belonging to
route=subway relations. After performing this operation, I use osm2psql to load all the data into my postgres db.
The thing is that I don't know to which relation name belongs each node. I mean, I know all nodes belong to
route=subway relations, but I don't know the name of the relations.
So, if I have a relation with these tags: route=subway, name='Line 23', I would like that all the nodes belonging to this relation had also the relation tags. For example: name:'5th street station', relation_route=subway, relation_name='Line 23'.
How can I do this?