Skip to content

Commit 082324e

Browse files
author
Andy Townsend
committed
Where LDPs in England and Wales are operated by National Trails
and have a `ref` value, display a black and white shield with that `ref` on it.
1 parent 4daf036 commit 082324e

File tree

9 files changed

+722
-672
lines changed

9 files changed

+722
-672
lines changed

resources/changelog_svwd01.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ See also the [changelog](https://github.com/SomeoneElseOSM/SomeoneElse-vector-we
55
Draw embankment casings (via `levee`) after other casings.
66
Show embankments on roads (via `bridge=levee`) on `motorway`, `unclassified`, `residential`, `living_street`, `service` and `pedestrian`.
77
Show embankments on a variety of paths, steps and tracks (via `bridge=levee`).
8+
Where LDPs in England and Wales are operated by National Trails and have a `ref` value, display a black and white shield with that `ref` on it.
89

910
## 16/01/2025
1011
At zoom 12, make unclassified and service roads slightly more visible.

resources/svwd01_call_icon_convert.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -992,6 +992,7 @@ cp ~/src/SomeoneElse-vector-web-display/resources/svwd01_source_icons/shield_tru
992992
cp ~/src/SomeoneElse-vector-web-display/resources/svwd01_source_icons/shield_trunk_long.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/shield_trunk_long.png
993993
cp ~/src/SomeoneElse-vector-web-display/resources/svwd01_source_icons/shield_other_short.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/shield_other_short.png
994994
cp ~/src/SomeoneElse-vector-web-display/resources/svwd01_source_icons/shield_other_long.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/shield_other_long.png
995+
cp ~/src/SomeoneElse-vector-web-display/resources/svwd01_source_icons/shield_NT.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/shield_NT.png
995996

996997
#
997998
# Oneway marker
9.01 KB
Loading
9.01 KB
Loading

resources/svwd01_style.json

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17693,6 +17693,38 @@
1769317693
},
1769417694
"minzoom": 15
1769517695
},
17696+
{
17697+
"id": "label-shield-NT-15",
17698+
"type": "symbol",
17699+
"source-layer": "transportation",
17700+
"filter": [ "all", [ "in", "class", "ldpnwn" ],
17701+
[ "has", "ref" ],
17702+
[ "==", "operator", "National Trails" ] ],
17703+
"layout": {
17704+
"icon-image": "shield_NT",
17705+
"icon-size": { "stops": [ [ 15, 1.0 ],
17706+
[ 17, 1.0 ],
17707+
[ 20, 3.0 ] ] },
17708+
"text-field": "{ref}",
17709+
"text-font": [ "KlokanTech Noto Sans Regular" ],
17710+
"symbol-placement": "line",
17711+
"symbol-spacing": { "stops": [ [ 10, 450 ],
17712+
[ 20, 1800 ] ] },
17713+
"text-rotation-alignment": "viewport",
17714+
"text-offset": [0, 0],
17715+
"text-size": { "stops": [ [ 15, 5 ],
17716+
[ 17, 5 ],
17717+
[ 20, 15 ] ] }
17718+
},
17719+
"source": "someoneelse",
17720+
"paint": {
17721+
"text-color": "black",
17722+
"text-halo-color": "rgba(255, 255, 255, 0.8)",
17723+
"text-halo-width": 0,
17724+
"text-halo-blur": 0
17725+
},
17726+
"minzoom": 15
17727+
},
1769617728
{
1769717729
"id": "poi-centroid-12",
1769817730
"type": "symbol",

0 commit comments

Comments
 (0)