OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

Please note that these forums will be down from approximately 8am UTC on 7th December while the server is moved to a new data centre - we will attempt to minimise the downtime but expect it to be at least several hours.

#1 2012-03-05 15:57:53

ViewFromTheBoundary
Member
Registered: 2012-03-05
Posts: 1

Adding a tag to all of the ways in a relation?

I'd like to create a map that highlights the mainline railway routes.  There's a tag already defined for this (usage=main), but it's not been widely nor consistently used.

Various users have created relations for the different train routes, eg relation 1323496 covers the Thalys train route number 9300 from Paris to Amsterdam.  The relation consists of four nodes (the stops) and large number of ways (the route).

How can I best/ most easily add the tag usage=main to all of the ways in a relation?

Offline

#2 2012-03-08 11:48:23

stephan75
Member
Registered: 2008-05-28
Posts: 2,540

Re: Adding a tag to all of the ways in a relation?

I assume you are using JOSM as editor, report if not.

If you know the object ID of that relation, you can load only this relation in JOSM by choosing "download Object", type -> relation ... and then the ID. also check the option "download relatinn's elements".

when this has gone right, you can click that relation with right mouse key in JOSM's relation list ... choose "select all elements" ... and you can add a tagg to all members at once.

Success?

Offline

#3 2012-03-08 13:55:56

PHerison
Member
From: Oberursel, Germany
Registered: 2008-04-04
Posts: 1,200

Re: Adding a tag to all of the ways in a relation?

...after this step you have to deselect the nodes to end up with ways only. I guess the search-filter in JOSM can perform this after you select all members of the relation.

Offline

#4 2012-03-08 14:09:50

ajoessen
Member
Registered: 2009-09-16
Posts: 2,073

Re: Adding a tag to all of the ways in a relation?

PHerison wrote:

...after this step you have to deselect the nodes to end up with ways only. I guess the search-filter in JOSM can perform this after you select all members of the relation.


Or set a filter type:node and select the ways with a rectangle.

HTH,
ajoessen

Offline

Board footer

Powered by FluxBB