Modify

Opened 16 years ago

Closed 15 years ago

#4844 closed enhancement (fixed)

"correct" display of multipolygon-relations

Reported by: dieterdreist Owned by: ulfl
Priority: minor Milestone:
Component: Internal mappaint style Version: latest
Keywords: multipolygon relation mappaint Cc:

Description

according to this page http://wiki.openstreetmap.org/wiki/Multipolygon and recent talk on talk-de generally the tags to describe multipolygons should go on the relation and not on the outer way. JOSM though encourages people to tag the outer way as it doesn't use tags on the relation for visualization (mappaint-style). Could you update this?

Attachments (0)

Change History (6)

comment:1 by bastiK, 16 years ago

Both styles are supported, already. Could you give an example, where the map display is not right?

comment:2 by anonymous, 16 years ago

in the case of multipolygon-highway-pedestrian-areas and buildings the "object" wasn't displayed as such. Examples here:
http://www.openstreetmap.org/browse/relation/534584

comment:3 by bastiK, 16 years ago

I still don't get it. Maybe a screenshot would clearly show the problem.

In case you are referring to the color of the line itself: It has to be neutral because the way can be in more than one multipolygon. (Imagine adjacent landuse areas.)

in reply to:  3 comment:4 by dieterdreist, 16 years ago

Priority: normalminor
Type: defectenhancement

Replying to bastiK:

In case you are referring to the color of the line itself: It has to be neutral because the way can be in more than one multipolygon. (Imagine adjacent landuse areas.)

OK, I see, you're right. I was confused for the line color. The only feature that might be possible (but maybe not worth the effort) would be to check, if the line is part of more than one MP, and if in that case those MP are all the same kind of feature, and color the line dispite it has no tags with the appropriate color if all MPs it is in are of the same kind and otherwise keep it uncolored.

comment:5 by EdLoach, 15 years ago

Not sure whether I should add to this ticket or open another, but this relation: http://www.openstreetmap.org/browse/relation/953670 doesn't render correctly in my opinion (with the tags on the relation rather than on the ways. It should fill in all the blue to the coast as tidalflat wetland, but does something strange with the one untagged outerway which doesn't have coastline tags on, and ignore the ways that are also coastline that closes the large outer polygon (there are also some small outer polygons outside the large one). Mapnik seems to handle it...

comment:6 by stoecker, 15 years ago

Resolution: fixed
Status: newclosed

Sorry. Here was bug. JOSM now renders untagged ways according to relation again. The style is like for all overlapping things choosen by one way which is rendered (the first one encountered in this case).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain ulfl.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.