Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#9623 closed defect (fixed)

Small issue with multipolygon having fence and fence_type

Reported by: naoliv Owned by: team
Priority: normal Milestone: 14.01 (hotfix)
Component: Core Version:
Keywords: Cc:


With two ways forming a closed polygon, both having barrier=fence + fence_type=chain_link, select them and create a multipolygon. Note how barrier=fence is kept on the ways but fence_type=chain_link is thrown inside the relation.

Shouldn't fence_type stay together with barrier, at the way?

Attachments (1)

example.osm (1.4 KB) - added by naoliv 7 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 7 years ago by simon04

Since r5225, barriers (as well as source) are considered to be "linear tags" which are excluded from being moved to relation tags. In this case, I agree, that the result is wrong/unwanted.

In this case, the multipolygon is a "barrier multipolygon" and thus the barrier tag should be moved. Not too easy to determine this automatically …

Changed 7 years ago by naoliv

Attachment: example.osm added

comment:2 Changed 7 years ago by naoliv

I think that barrier shouldn't be moved, even if both ways have the same barrier value.
See the example.

Select ways tagged with m1=yes and create a multipolygon
Then select ways tagged with m2=yes and create another multipolygon

Note that m1 will have the same type of barriers while m2 will have two types (it won't be possible to move barrier inside the relation then).
This makes me think that barrier (plus fence_type and other properties related to the barrier) should always be part of the way.

comment:3 Changed 7 years ago by simon04

Resolution: fixed
Status: newclosed

In 6765/josm:

fix #9623 - Create multipolygon: do not move fence_type tag to relation

comment:4 Changed 7 years ago by Don-vip

Milestone: 14.01 (hotfix)

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.