Modify ↓
Opened 8 years ago
Closed 8 years ago
#13477 closed defect (duplicate)
mapcss area selector matches open lines
Reported by: | francois.lacombe | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Core mappaint | Version: | |
Keywords: | mapcss, area, fill | Cc: |
Description (last modified by )
Hi,
It seems that the mapcss area type selector matches open lines on JOSM.
Use this simple piece of mapcss :
area[test="ok"]{ fill-color:"#31A500"; text-color:"#00DE00"; }
and draw an open line with test=ok
and the space between its nodes is filled.
That doesn't sound right against the definition given here : http://wiki.openstreetmap.org/wiki/MapCSS/0.2#Types
Am I wrong ?
Attachments (0)
Change History (5)
comment:1 by , 8 years ago
Description: | modified (diff) |
---|
comment:2 by , 8 years ago
Description: | modified (diff) |
---|
comment:3 by , 8 years ago
Description: | modified (diff) |
---|
comment:4 by , 8 years ago
comment:5 by , 8 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
Closed as duplicate of #10058.
Note:
See TracTickets
for help on using tickets.
It have to be said that adding :closed at the end of the selector solve the "open line" problem described in this ticket's description.
It wasn't so intuitive even if I should have read the manual.
I'm looking for areas which aren't closed. Does this really exists ?
If not, may the :closed be implicit and removed from JOSM implementation ?
way[blablabla=blablabl]:closed and area[blablabla=blablabl] are easily understandable and sounds equivalent.