Skip to content

Commit 26e0ed1

Browse files
author
Andy Townsend
committed
Don't show parking spaces at low zooms.
1 parent 5ee4e41 commit 26e0ed1

File tree

11 files changed

+1940
-1764
lines changed

11 files changed

+1940
-1764
lines changed

resources/changelog_svwd01.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
See also the [changelog](https://github.com/SomeoneElseOSM/SomeoneElse-vector-web-display/blob/main/changelog.md) for the scripts here.
33
Except as noted, all changes also apply to the [SVWD06 Android native display style](https://github.com/SomeoneElseOSM/SomeoneElse-vector-web-display/blob/main/resources/README_svwd06.md).
44

5+
## As yet unreleased
6+
Don't show parking spaces at low zooms.
7+
58
## 20/09/2025
69
Added support for various wind monitoring stations, and also water quality.
710

resources/changelog_svwd08.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changes made to the [SVWD08 web display style](https://github.com/SomeoneElseOSM/SomeoneElse-vector-web-display/blob/main/resources/README_svwd08.md).
22

3+
## As yet unreleased
4+
Don't show parking spaces at low zooms.
5+
36
## 20/09/2025
47
Added support for various wind monitoring stations, and also water quality.
58

resources/svwd01_call_icon_convert.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@
121121
~/src/SomeoneElse-vector-web-display/svwd_convert_icon_from_raster.sh ~/src/openstreetmap-carto-AJT/symbols/parcel_locker.p.16.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/amenity_parcel_locker.png
122122
~/src/SomeoneElse-vector-web-display/svwd_convert_icon_from_raster.sh ~/src/openstreetmap-carto-AJT/symbols/bench.p21.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/amenity_bench.png
123123
~/src/SomeoneElse-vector-web-display/svwd_convert_icon_from_raster.sh ~/src/openstreetmap-carto-AJT/symbols/parking_free.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/amenity_parking.png
124+
~/src/SomeoneElse-vector-web-display/svwd_convert_icon_from_raster.sh ~/src/openstreetmap-carto-AJT/symbols/parking_free.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/amenity_parking_space.png
124125
~/src/SomeoneElse-vector-web-display/svwd_convert_icon_from_raster.sh ~/src/openstreetmap-carto-AJT/symbols/parking_pay.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/amenity_parking_pay.png
125126
~/src/SomeoneElse-vector-web-display/svwd_convert_icon_from_raster.sh ~/src/openstreetmap-carto-AJT/symbols/parking_freedisabled.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/amenity_parking_freedisabled.png
126127
~/src/SomeoneElse-vector-web-display/svwd_convert_icon_from_raster.sh ~/src/openstreetmap-carto-AJT/symbols/parking_paydisabled.png ~/src/SomeoneElse-vector-web-display/resources/svwd01_icons/amenity_parking_paydisabled.png
640 Bytes
Loading

resources/svwd01_style.json

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2364,6 +2364,7 @@
23642364
"source-layer": "land1",
23652365
"minzoom": 9,
23662366
"filter": [ "all", [ "in", "class", "amenity_parking",
2367+
"amenity_parking_space",
23672368
"amenity_parking_pay",
23682369
"amenity_parking_freedisabled",
23692370
"amenity_parking_paydisabled" ] ],
@@ -2393,6 +2394,24 @@
23932394
}
23942395
}
23952396
},
2397+
{
2398+
"id": "land1-parkingspace-outline-18",
2399+
"type": "line",
2400+
"source": "someoneelse",
2401+
"source-layer": "land1",
2402+
"minzoom": 18,
2403+
"filter": [ "all", [ "in", "class", "amenity_parking_space" ] ],
2404+
"paint": {
2405+
"line-color": "#dcd078",
2406+
"line-width": {
2407+
"base": 0.6,
2408+
"stops": [
2409+
[ 15, 0.6 ],
2410+
[ 20, 1.2 ]
2411+
]
2412+
}
2413+
}
2414+
},
23962415
{
23972416
"id": "land1-theme_park-line-12",
23982417
"type": "line",
@@ -11720,6 +11739,38 @@
1172011739
"text-opacity": 0.33
1172111740
}
1172211741
},
11742+
{
11743+
"id": "land1-parkingspace-lightblue-imagename-centroidprivate-18",
11744+
"type": "symbol",
11745+
"source": "someoneelse",
11746+
"source-layer": "land1",
11747+
"minzoom": 18,
11748+
"filter": [ "all", [ "in", "class", "amenity_parking_space" ],
11749+
[ "any", [ "==", "access", "no" ],
11750+
[ "has", "parking_space" ] ],
11751+
[ "==", "$type", "Point" ] ],
11752+
"layout": {
11753+
"icon-image": "{class}",
11754+
"text-anchor": "top",
11755+
"text-field": "{name}\n",
11756+
"text-font": [
11757+
"KlokanTech Noto Sans Regular"
11758+
],
11759+
"text-max-width": 14,
11760+
"text-offset": [ 0, 0.6 ],
11761+
"text-padding": 2,
11762+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
11763+
"visibility": "visible"
11764+
},
11765+
"paint": {
11766+
"text-color": "#0066ff",
11767+
"text-halo-blur": 0.5,
11768+
"text-halo-color": "#ffffff",
11769+
"text-halo-width": 1,
11770+
"icon-opacity": 0.33,
11771+
"text-opacity": 0.33
11772+
}
11773+
},
1172311774
{
1172411775
"id": "land1-various-lightblue-imagename-16",
1172511776
"type": "symbol",

0 commit comments

Comments
 (0)