Skip to content

Commit 8e4a393

Browse files
author
Andy Townsend
committed
Changed the display of tourism=attraction to depend on way_area
1 parent 5c71700 commit 8e4a393

File tree

9 files changed

+615
-21
lines changed

9 files changed

+615
-21
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+
Changed the display of `tourism=attraction` to depend on `way_area`.
7+
58
## 18/10/2025
69
Now that all named things have something in name:cy, name:en, name:ga and name:gd, support styles that display that as the default name.
710

resources/changelog_svwd08.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
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+
Changed the display of `tourism=attraction` to depend on `way_area`.
5+
6+
## 18/10/2025
7+
Now that all named things have something in name:cy, name:en, name:ga and name:gd, support styles that display that as the default name.
8+
39
## 09/10/2025
410
Show sanitary dump stations with a unique icon.
511
Show `man_made=charging_point` with a unique icon, analagous to `fuel_pump`.
@@ -27,6 +33,9 @@ Handle "eco" versions of doityourself, gift, beauty, pet, and discount shops.
2733
Changed draw order of schools vs bus platforms so that area bus platforms appear there.
2834
Changed Camra links from Whatpub to new Camra site.
2935

36+
## 28/07/2025
37+
Regenerated sprites with fewer in each row (to avoid issues with generation on vanilla ImageMagick installs). No visual change
38+
3039
## 24/07/2025
3140
Show hedges in a slightly darker colour than wood.
3241
Change MapLibre library to 5.6.1 (likely no visible effect)
@@ -56,6 +65,7 @@ Show `wheelchair` flash on `amenity=fast_food` with `cuisine=kebab`, `cuisine=me
5665
Show `wheelchair` flash on `amenity=restaurant` with `cuisine=british`, `cuisine=regional`, `cuisine=mexican`, `cuisine=seafood` and synonyms.
5766

5867
## 23/06/2025
68+
Allow post boxes and similar brown things shown in the same layer to overlap other icons. This was already the case for some other small brown things.
5969
Show `wheelchair` flash on `amenity=restaurant` with no `cuisine`, `cuisine=indian`, `cuisine=chinese`, `cuisine=italian`, `cuisine=fish_and_chips`, `cuisine=burger`, `cuisine=coffee_shop`, `cuisine=sandwich`, `cuisine=chicken`, `cuisine=kebab` and `cuisine=french` and synonyms.
6070

6171
## 19/06/2025

resources/svwd01_style.json

Lines changed: 86 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16619,13 +16619,41 @@
1661916619
"text-halo-width": 1
1662016620
}
1662116621
},
16622+
{
16623+
"id": "land1-attraction-name-17",
16624+
"type": "symbol",
16625+
"source": "someoneelse",
16626+
"source-layer": "land1",
16627+
"minzoom": 17,
16628+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16629+
[ "==", "$type", "Point" ] ],
16630+
"layout": {
16631+
"text-anchor": "top",
16632+
"text-field": "{name}\n",
16633+
"text-font": [
16634+
"KlokanTech Noto Sans Regular"
16635+
],
16636+
"text-max-width": 11,
16637+
"text-offset": [ 0, 0.6 ],
16638+
"text-padding": 2,
16639+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16640+
"visibility": "visible"
16641+
},
16642+
"paint": {
16643+
"text-color": "#660033",
16644+
"text-halo-blur": 0.5,
16645+
"text-halo-color": "#ffffff",
16646+
"text-halo-width": 1
16647+
}
16648+
},
1662216649
{
1662316650
"id": "land1-attraction-name-16",
1662416651
"type": "symbol",
1662516652
"source": "someoneelse",
1662616653
"source-layer": "land1",
1662716654
"minzoom": 16,
1662816655
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16656+
[ ">", "way_area", 2000 ],
1662916657
[ "==", "$type", "Point" ] ],
1663016658
"layout": {
1663116659
"text-anchor": "top",
@@ -16647,13 +16675,68 @@
1664716675
}
1664816676
},
1664916677
{
16650-
"id": "land1-attraction-name-13",
16678+
"id": "land1-attraction-name-15",
1665116679
"type": "symbol",
1665216680
"source": "someoneelse",
1665316681
"source-layer": "land1",
16654-
"minzoom": 13,
16682+
"minzoom": 15,
16683+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16684+
[ ">", "way_area", 10000 ],
16685+
[ "==", "$type", "Point" ] ],
16686+
"layout": {
16687+
"text-anchor": "top",
16688+
"text-field": "{name}\n",
16689+
"text-font": [
16690+
"KlokanTech Noto Sans Regular"
16691+
],
16692+
"text-max-width": 11,
16693+
"text-offset": [ 0, 0.6 ],
16694+
"text-padding": 2,
16695+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16696+
"visibility": "visible"
16697+
},
16698+
"paint": {
16699+
"text-color": "#660033",
16700+
"text-halo-blur": 0.5,
16701+
"text-halo-color": "#ffffff",
16702+
"text-halo-width": 1
16703+
}
16704+
},
16705+
{
16706+
"id": "land1-attraction-name-14",
16707+
"type": "symbol",
16708+
"source": "someoneelse",
16709+
"source-layer": "land1",
16710+
"minzoom": 14,
16711+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16712+
[ ">", "way_area", 50000 ],
16713+
[ "==", "$type", "Point" ] ],
16714+
"layout": {
16715+
"text-anchor": "top",
16716+
"text-field": "{name}\n",
16717+
"text-font": [
16718+
"KlokanTech Noto Sans Regular"
16719+
],
16720+
"text-max-width": 11,
16721+
"text-offset": [ 0, 0.6 ],
16722+
"text-padding": 2,
16723+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16724+
"visibility": "visible"
16725+
},
16726+
"paint": {
16727+
"text-color": "#660033",
16728+
"text-halo-blur": 0.5,
16729+
"text-halo-color": "#ffffff",
16730+
"text-halo-width": 1
16731+
}
16732+
},
16733+
{
16734+
"id": "land1-attraction-name-7-13",
16735+
"type": "symbol",
16736+
"source": "someoneelse",
16737+
"source-layer": "land1",
16738+
"maxzoom": 14,
1665516739
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16656-
[ ">", "way_area", 2000 ],
1665716740
[ "==", "$type", "Point" ] ],
1665816741
"layout": {
1665916742
"text-anchor": "top",

resources/svwd01cy_style.json

Lines changed: 86 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16619,13 +16619,41 @@
1661916619
"text-halo-width": 1
1662016620
}
1662116621
},
16622+
{
16623+
"id": "land1-attraction-name-17",
16624+
"type": "symbol",
16625+
"source": "someoneelse",
16626+
"source-layer": "land1",
16627+
"minzoom": 17,
16628+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16629+
[ "==", "$type", "Point" ] ],
16630+
"layout": {
16631+
"text-anchor": "top",
16632+
"text-field": "{name_cy}\n",
16633+
"text-font": [
16634+
"KlokanTech Noto Sans Regular"
16635+
],
16636+
"text-max-width": 11,
16637+
"text-offset": [ 0, 0.6 ],
16638+
"text-padding": 2,
16639+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16640+
"visibility": "visible"
16641+
},
16642+
"paint": {
16643+
"text-color": "#660033",
16644+
"text-halo-blur": 0.5,
16645+
"text-halo-color": "#ffffff",
16646+
"text-halo-width": 1
16647+
}
16648+
},
1662216649
{
1662316650
"id": "land1-attraction-name-16",
1662416651
"type": "symbol",
1662516652
"source": "someoneelse",
1662616653
"source-layer": "land1",
1662716654
"minzoom": 16,
1662816655
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16656+
[ ">", "way_area", 2000 ],
1662916657
[ "==", "$type", "Point" ] ],
1663016658
"layout": {
1663116659
"text-anchor": "top",
@@ -16647,13 +16675,68 @@
1664716675
}
1664816676
},
1664916677
{
16650-
"id": "land1-attraction-name-13",
16678+
"id": "land1-attraction-name-15",
1665116679
"type": "symbol",
1665216680
"source": "someoneelse",
1665316681
"source-layer": "land1",
16654-
"minzoom": 13,
16682+
"minzoom": 15,
16683+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16684+
[ ">", "way_area", 10000 ],
16685+
[ "==", "$type", "Point" ] ],
16686+
"layout": {
16687+
"text-anchor": "top",
16688+
"text-field": "{name_cy}\n",
16689+
"text-font": [
16690+
"KlokanTech Noto Sans Regular"
16691+
],
16692+
"text-max-width": 11,
16693+
"text-offset": [ 0, 0.6 ],
16694+
"text-padding": 2,
16695+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16696+
"visibility": "visible"
16697+
},
16698+
"paint": {
16699+
"text-color": "#660033",
16700+
"text-halo-blur": 0.5,
16701+
"text-halo-color": "#ffffff",
16702+
"text-halo-width": 1
16703+
}
16704+
},
16705+
{
16706+
"id": "land1-attraction-name-14",
16707+
"type": "symbol",
16708+
"source": "someoneelse",
16709+
"source-layer": "land1",
16710+
"minzoom": 14,
16711+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16712+
[ ">", "way_area", 50000 ],
16713+
[ "==", "$type", "Point" ] ],
16714+
"layout": {
16715+
"text-anchor": "top",
16716+
"text-field": "{name_cy}\n",
16717+
"text-font": [
16718+
"KlokanTech Noto Sans Regular"
16719+
],
16720+
"text-max-width": 11,
16721+
"text-offset": [ 0, 0.6 ],
16722+
"text-padding": 2,
16723+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16724+
"visibility": "visible"
16725+
},
16726+
"paint": {
16727+
"text-color": "#660033",
16728+
"text-halo-blur": 0.5,
16729+
"text-halo-color": "#ffffff",
16730+
"text-halo-width": 1
16731+
}
16732+
},
16733+
{
16734+
"id": "land1-attraction-name-7-13",
16735+
"type": "symbol",
16736+
"source": "someoneelse",
16737+
"source-layer": "land1",
16738+
"maxzoom": 14,
1665516739
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16656-
[ ">", "way_area", 2000 ],
1665716740
[ "==", "$type", "Point" ] ],
1665816741
"layout": {
1665916742
"text-anchor": "top",

resources/svwd01en_style.json

Lines changed: 86 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16619,13 +16619,41 @@
1661916619
"text-halo-width": 1
1662016620
}
1662116621
},
16622+
{
16623+
"id": "land1-attraction-name-17",
16624+
"type": "symbol",
16625+
"source": "someoneelse",
16626+
"source-layer": "land1",
16627+
"minzoom": 17,
16628+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16629+
[ "==", "$type", "Point" ] ],
16630+
"layout": {
16631+
"text-anchor": "top",
16632+
"text-field": "{name_en}\n",
16633+
"text-font": [
16634+
"KlokanTech Noto Sans Regular"
16635+
],
16636+
"text-max-width": 11,
16637+
"text-offset": [ 0, 0.6 ],
16638+
"text-padding": 2,
16639+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16640+
"visibility": "visible"
16641+
},
16642+
"paint": {
16643+
"text-color": "#660033",
16644+
"text-halo-blur": 0.5,
16645+
"text-halo-color": "#ffffff",
16646+
"text-halo-width": 1
16647+
}
16648+
},
1662216649
{
1662316650
"id": "land1-attraction-name-16",
1662416651
"type": "symbol",
1662516652
"source": "someoneelse",
1662616653
"source-layer": "land1",
1662716654
"minzoom": 16,
1662816655
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16656+
[ ">", "way_area", 2000 ],
1662916657
[ "==", "$type", "Point" ] ],
1663016658
"layout": {
1663116659
"text-anchor": "top",
@@ -16647,13 +16675,68 @@
1664716675
}
1664816676
},
1664916677
{
16650-
"id": "land1-attraction-name-13",
16678+
"id": "land1-attraction-name-15",
1665116679
"type": "symbol",
1665216680
"source": "someoneelse",
1665316681
"source-layer": "land1",
16654-
"minzoom": 13,
16682+
"minzoom": 15,
16683+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16684+
[ ">", "way_area", 10000 ],
16685+
[ "==", "$type", "Point" ] ],
16686+
"layout": {
16687+
"text-anchor": "top",
16688+
"text-field": "{name_en}\n",
16689+
"text-font": [
16690+
"KlokanTech Noto Sans Regular"
16691+
],
16692+
"text-max-width": 11,
16693+
"text-offset": [ 0, 0.6 ],
16694+
"text-padding": 2,
16695+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16696+
"visibility": "visible"
16697+
},
16698+
"paint": {
16699+
"text-color": "#660033",
16700+
"text-halo-blur": 0.5,
16701+
"text-halo-color": "#ffffff",
16702+
"text-halo-width": 1
16703+
}
16704+
},
16705+
{
16706+
"id": "land1-attraction-name-14",
16707+
"type": "symbol",
16708+
"source": "someoneelse",
16709+
"source-layer": "land1",
16710+
"minzoom": 14,
16711+
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16712+
[ ">", "way_area", 50000 ],
16713+
[ "==", "$type", "Point" ] ],
16714+
"layout": {
16715+
"text-anchor": "top",
16716+
"text-field": "{name_en}\n",
16717+
"text-font": [
16718+
"KlokanTech Noto Sans Regular"
16719+
],
16720+
"text-max-width": 11,
16721+
"text-offset": [ 0, 0.6 ],
16722+
"text-padding": 2,
16723+
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
16724+
"visibility": "visible"
16725+
},
16726+
"paint": {
16727+
"text-color": "#660033",
16728+
"text-halo-blur": 0.5,
16729+
"text-halo-color": "#ffffff",
16730+
"text-halo-width": 1
16731+
}
16732+
},
16733+
{
16734+
"id": "land1-attraction-name-7-13",
16735+
"type": "symbol",
16736+
"source": "someoneelse",
16737+
"source-layer": "land1",
16738+
"maxzoom": 14,
1665516739
"filter": [ "all", [ "in", "class", "tourism_attraction" ],
16656-
[ ">", "way_area", 2000 ],
1665716740
[ "==", "$type", "Point" ] ],
1665816741
"layout": {
1665916742
"text-anchor": "top",

0 commit comments

Comments
 (0)