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 Don-vip)

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 francois.lacombe, 8 years ago

Description: modified (diff)

comment:2 by francois.lacombe, 8 years ago

Description: modified (diff)

comment:3 by Don-vip, 8 years ago

Description: modified (diff)

comment:4 by francois.lacombe, 8 years ago

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.

comment:5 by bastiK, 8 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #10058.

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.