ways inheriting attributes from relation?


Does ways that are in relation inheriting properties from relation?

Example: there is a way with route=ferry tag, thats fine.
there is a way with no attributes but is a part of a relation with tags route=ferry and name=“blue road” is this valid data model, with ways that have same tags or every single way must have “same” attribute as relation?

Thank you for your time.

One example are boundary relations: all ways that form the boundary can be different objects like rivers or streets that form the boundary in real world.

All programs that can process boundary relations can work with that relation by lokking at the tagging of the relation only.

But about ferry routes? have a look at http://wiki.openstreetmap.org/wiki/Tag:route%3Dferry … or ask the guys from http://wiki.openstreetmap.org/wiki/Openseamap

How are other ways in other harbours tagged that are elements of ferry routes?

When a Garmin map is created with mkgmap, tags from relations are added to the underlying ways, and then the way gets rendered. Hence it is not necessary for a way to have a tag at all when it is part of a relation.

Thank you both for answer. I will use a similar approach as Bernhard Hiller mentioned.