Modify

Opened 3 years ago

Closed 3 years ago

#4844 closed enhancement (fixed)

"correct" display of multipolygon-relations

Reported by: dieterdreist Owned by: ulfl
Priority: minor 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 Changed 3 years ago by bastiK

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

comment:2 Changed 3 years ago by anonymous

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 follow-up: Changed 3 years ago by bastiK

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.)

comment:4 in reply to: ↑ 3 Changed 3 years ago by dieterdreist

  • Priority changed from normal to minor
  • Type changed from defect to enhancement

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 Changed 3 years ago by EdLoach

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 Changed 3 years ago by stoecker

  • Resolution set to fixed
  • Status changed from new to closed

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).

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed .
as The resolution will be set. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.