NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

JOSM MAPCSS

When I use a code:

[lanes!~/1|2|3|4|5|6|7/]::highway_lanes_layer

to exclude: negated ​Regular expression match, all others should get a "else" icon Then I have a lanes=10 on a way. This 10 should get a "else" icon, This icon is not showing, because 10 has number 1 in 10, the program can not choose. Also lanes=1 icon is not showing. If I have lanes=8 or lanes=9, I get the "else" icon.

What am I doing wrong.

asked 12 Feb '19, 21:25

Allroads's gravatar image

Allroads
222161725
accept rate: 10%


permanent link

answered 04 Apr '19, 20:54

Klumbumbus's gravatar image

Klumbumbus
5431119
accept rate: 8%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×622

question asked: 12 Feb '19, 21:25

question was seen: 1,218 times

last updated: 04 Apr '19, 20:54

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum