Modify

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#6147 closed defect (invalid)

mapcss - multipolygon - Inner polygon should not be filled

Reported by: Gubaer Owned by: team
Priority: normal Milestone:
Component: Core Version: latest
Keywords: mapcss, multipolygon Cc:

Description

NOK Case

  • Configure the map css style styles.css. Disable all styles except styles.css
  • Open data-set-7.1.osm
  • The area is filled in blue. It shouldn't be filled because it belongs to a multipolygon with role inner

OK Case

  • Disable all styles except the JOSM internal style
  • Open data-set-7.2.osm
  • The area isn't filled in blue, as expected

Attachments (3)

data-set-7.1.osm (1.5 KB ) - added by Gubaer 13 years ago.
NOK case: not rendered as expected using MapCSS
data-set-7.2.osm (1.5 KB ) - added by Gubaer 13 years ago.
OK case: rendered as expected using MapCSS
styles.mapcss (323 bytes ) - added by Gubaer 13 years ago.
Map style to test with

Download all attachments as: .zip

Change History (7)

by Gubaer, 13 years ago

Attachment: data-set-7.1.osm added

NOK case: not rendered as expected using MapCSS

by Gubaer, 13 years ago

Attachment: data-set-7.2.osm added

OK case: rendered as expected using MapCSS

by Gubaer, 13 years ago

Attachment: styles.mapcss added

Map style to test with

comment:1 by Gubaer, 13 years ago

Summary: mapcss - multipolygon - problem with inner polygonmapcss - multipolygon - Inner polygon should not be filled

comment:2 by bastiK, 13 years ago

relation[type=multipolygon][objcod=LNDARE] > area {}

Strange selector, what do you think this means?

comment:3 by Gubaer, 13 years ago

Resolution: invalid
Status: newclosed

Good question. It should be

relation[type=multipolygon][objcod=LNDARE] {}

shouldn't it?

This solves the problem. Closing.

comment:4 by bastiK, 13 years ago

yes, either that or simply area[objcod=LNDARE] {}

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
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.