| 1 |
|
| 2 |
# If something is not meant to have a name, record this so |
| 3 |
# that it doesn't get highlighted. |
| 4 |
noname=yes { name 'deliberately does not have a name' } |
| 5 |
|
| 6 |
# Catch no-name main road separately so we can give them different |
| 7 |
# zoom levels. |
| 8 |
highway=motorway & ref != * {add oneway = yes } [0x01 resolution 12] |
| 9 |
highway=primary & (ref!=* & name != *) [0x01 resolution 19] |
| 10 |
highway=secondary & (ref != * & name != *) [0x01 resolution 20] |
| 11 |
|
| 12 |
# Catch residential streets with no name display them even at lower |
| 13 |
# zooms than you would normally. |
| 14 |
(highway=residential |
| 15 |
| highway=living_street |
| 16 |
| highway=unclassified) & name != * |
| 17 |
[0x01 resolution 21] |
| 18 |
|
| 19 |
# Give the main roads that are OK slightly more prominence so you |
| 20 |
# can get your bearings easier |
| 21 |
highway=motorway [0x6 resolution 12] |
| 22 |
highway=trunk [0x6 resolution 16] |
| 23 |
highway=primary [0x6 resolution 19] |
| 24 |
|
| 25 |
# Everything else goes as a thin line. |
| 26 |
highway=* |
| 27 |
{name '${name} (${ref})' | '${ref}' } |
| 28 |
[0x7 resolution 22] |
| 29 |
|
| 30 |
include lines from default; |