Modify

Opened 4 days ago

#24868 new defect

No key, but only value visualisation, problem.

Reported by: Allroads Owned by: team
Priority: normal Milestone:
Component: Core mappaint Version: tested
Keywords: Cc:

Description

I want to express sunrise-sunset on a [highway] with a image on a way.

In overpass it works but not in mapcss style.

overpass

way[highway][~"."~"sunrise"]({{bbox}});

mapcss

way|z19-[highway][~"."~"sunrise"]:

I read some tickets about regex problems.
Saw this MapCSSParser.jj#L169 page

Tried some variation, that does not work.
Maybe there is a better string, usable.

How to set up a mapcss string that works, when no key selected.

Later I exclude the value of opening_hours with sunrise-sunset. Because I visualise it already.
I am interested in all transportation modes with sunrise and sunset in de value as a hint in the style.

Here I gave access:conditional a no at sunset, next to that I want to see all that have sunset or sunrise in the value as a hint.(black/white image, day night)


Attachments (2)

sun.png (2.6 KB ) - added by Allroads 4 days ago.
sunrise.png (38.1 KB ) - added by Allroads 4 days ago.

Download all attachments as: .zip

Change History (2)

by Allroads, 4 days ago

Attachment: sun.png added

by Allroads, 4 days ago

Attachment: sunrise.png added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from team to the specified user.
Next status will be 'needinfo'. The owner will be changed from team to Allroads.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from team to anonymous. Next status will be 'assigned'.

Add Comment


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