Skip to content

Commit 8a45252

Browse files
author
Andy Townsend
committed
Simplify style
to show generic power generator names from vector 16, water power generator names from vector 14, and wind power generator names and icons from 14.
1 parent 0b4c5b8 commit 8a45252

File tree

5 files changed

+24
-581
lines changed

5 files changed

+24
-581
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+
Simplify style to show generic power generator names from vector 16, water power generator names from vector 14, and wind power generator names and icons from 14.
7+
58
## 20/08/2025
69
Show clocks that are neither pedestal clocks nor clock towers.
710
Handle "eco" versions of doityourself, gift, beauty, pet, and discount shops.

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+
Simplify style to show generic power generator names from vector 16, water power generator names from vector 14, and wind power generator names and icons from 14.
5+
36
## 20/08/2025
47
Show clocks that are neither pedestal clocks nor clock towers.
58
Handle "eco" versions of doityourself, gift, beauty, pet, and discount shops.

resources/svwd01_style.json

Lines changed: 6 additions & 194 deletions
Original file line numberDiff line numberDiff line change
@@ -14737,195 +14737,13 @@
1473714737
"text-halo-width": 1
1473814738
}
1473914739
},
14740-
{
14741-
"id": "land1-power-indigo-name-21",
14742-
"type": "symbol",
14743-
"source": "someoneelse",
14744-
"source-layer": "land1",
14745-
"minzoom": 21,
14746-
"filter": [ "all", [ "in", "class", "man_made_power",
14747-
"man_made_power_water",
14748-
"man_made_power_wind" ],
14749-
[ "==", "$type", "Point" ] ],
14750-
"layout": {
14751-
"text-anchor": "top",
14752-
"text-field": "{name}\n",
14753-
"text-font": [
14754-
"KlokanTech Noto Sans Regular"
14755-
],
14756-
"text-max-width": 13,
14757-
"text-offset": [ 0, 0.6 ],
14758-
"text-padding": 2,
14759-
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
14760-
"visibility": "visible"
14761-
},
14762-
"paint": {
14763-
"text-color": "#000033",
14764-
"text-halo-blur": 0.5,
14765-
"text-halo-color": "#ffffff",
14766-
"text-halo-width": 1
14767-
}
14768-
},
14769-
{
14770-
"id": "land1-power-indigo-name-20",
14771-
"type": "symbol",
14772-
"source": "someoneelse",
14773-
"source-layer": "land1",
14774-
"minzoom": 20,
14775-
"filter": [ "all", [ "in", "class", "man_made_power",
14776-
"man_made_power_water",
14777-
"man_made_power_wind" ],
14778-
[ ">", "way_area", 24 ],
14779-
[ "==", "$type", "Point" ] ],
14780-
"layout": {
14781-
"text-anchor": "top",
14782-
"text-field": "{name}\n",
14783-
"text-font": [
14784-
"KlokanTech Noto Sans Regular"
14785-
],
14786-
"text-max-width": 13,
14787-
"text-offset": [ 0, 0.6 ],
14788-
"text-padding": 2,
14789-
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
14790-
"visibility": "visible"
14791-
},
14792-
"paint": {
14793-
"text-color": "#000033",
14794-
"text-halo-blur": 0.5,
14795-
"text-halo-color": "#ffffff",
14796-
"text-halo-width": 1
14797-
}
14798-
},
14799-
{
14800-
"id": "land1-power-indigo-name-19",
14801-
"type": "symbol",
14802-
"source": "someoneelse",
14803-
"source-layer": "land1",
14804-
"minzoom": 19,
14805-
"filter": [ "all", [ "in", "class", "man_made_power",
14806-
"man_made_power_water",
14807-
"man_made_power_wind" ],
14808-
[ ">", "way_area", 50 ],
14809-
[ "==", "$type", "Point" ] ],
14810-
"layout": {
14811-
"text-anchor": "top",
14812-
"text-field": "{name}\n",
14813-
"text-font": [
14814-
"KlokanTech Noto Sans Regular"
14815-
],
14816-
"text-max-width": 13,
14817-
"text-offset": [ 0, 0.6 ],
14818-
"text-padding": 2,
14819-
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
14820-
"visibility": "visible"
14821-
},
14822-
"paint": {
14823-
"text-color": "#000033",
14824-
"text-halo-blur": 0.5,
14825-
"text-halo-color": "#ffffff",
14826-
"text-halo-width": 1
14827-
}
14828-
},
14829-
{
14830-
"id": "land1-power-indigo-name-18",
14831-
"type": "symbol",
14832-
"source": "someoneelse",
14833-
"source-layer": "land1",
14834-
"minzoom": 18,
14835-
"filter": [ "all", [ "in", "class", "man_made_power",
14836-
"man_made_power_water",
14837-
"man_made_power_wind" ],
14838-
[ ">", "way_area", 750 ],
14839-
[ "==", "$type", "Point" ] ],
14840-
"layout": {
14841-
"text-anchor": "top",
14842-
"text-field": "{name}\n",
14843-
"text-font": [
14844-
"KlokanTech Noto Sans Regular"
14845-
],
14846-
"text-max-width": 13,
14847-
"text-offset": [ 0, 0.6 ],
14848-
"text-padding": 2,
14849-
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
14850-
"visibility": "visible"
14851-
},
14852-
"paint": {
14853-
"text-color": "#000033",
14854-
"text-halo-blur": 0.5,
14855-
"text-halo-color": "#ffffff",
14856-
"text-halo-width": 1
14857-
}
14858-
},
14859-
{
14860-
"id": "land1-power-indigo-name-17",
14861-
"type": "symbol",
14862-
"source": "someoneelse",
14863-
"source-layer": "land1",
14864-
"minzoom": 17,
14865-
"filter": [ "all", [ "in", "class", "man_made_power",
14866-
"man_made_power_water",
14867-
"man_made_power_wind" ],
14868-
[ ">", "way_area", 3800 ],
14869-
[ "==", "$type", "Point" ] ],
14870-
"layout": {
14871-
"text-anchor": "top",
14872-
"text-field": "{name}\n",
14873-
"text-font": [
14874-
"KlokanTech Noto Sans Regular"
14875-
],
14876-
"text-max-width": 13,
14877-
"text-offset": [ 0, 0.6 ],
14878-
"text-padding": 2,
14879-
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
14880-
"visibility": "visible"
14881-
},
14882-
"paint": {
14883-
"text-color": "#000033",
14884-
"text-halo-blur": 0.5,
14885-
"text-halo-color": "#ffffff",
14886-
"text-halo-width": 1
14887-
}
14888-
},
1488914740
{
1489014741
"id": "land1-power-indigo-name-16",
1489114742
"type": "symbol",
1489214743
"source": "someoneelse",
1489314744
"source-layer": "land1",
1489414745
"minzoom": 16,
14895-
"filter": [ "all", [ "in", "class", "man_made_power",
14896-
"man_made_power_water",
14897-
"man_made_power_wind" ],
14898-
[ ">", "way_area", 19000 ],
14899-
[ "==", "$type", "Point" ] ],
14900-
"layout": {
14901-
"text-anchor": "top",
14902-
"text-field": "{name}\n",
14903-
"text-font": [
14904-
"KlokanTech Noto Sans Regular"
14905-
],
14906-
"text-max-width": 13,
14907-
"text-offset": [ 0, 0.6 ],
14908-
"text-padding": 2,
14909-
"text-size": { "stops": [ [ 12, 10 ], [ 20, 30 ] ] },
14910-
"visibility": "visible"
14911-
},
14912-
"paint": {
14913-
"text-color": "#000033",
14914-
"text-halo-blur": 0.5,
14915-
"text-halo-color": "#ffffff",
14916-
"text-halo-width": 1
14917-
}
14918-
},
14919-
{
14920-
"id": "land1-power-indigo-name-15",
14921-
"type": "symbol",
14922-
"source": "someoneelse",
14923-
"source-layer": "land1",
14924-
"minzoom": 15,
14925-
"filter": [ "all", [ "in", "class", "man_made_power",
14926-
"man_made_power_water",
14927-
"man_made_power_wind" ],
14928-
[ ">", "way_area", 40000 ],
14746+
"filter": [ "all", [ "in", "class", "man_made_power" ],
1492914747
[ "==", "$type", "Point" ] ],
1493014748
"layout": {
1493114749
"text-anchor": "top",
@@ -14947,15 +14765,11 @@
1494714765
}
1494814766
},
1494914767
{
14950-
"id": "land1-power-indigo-name-14",
14768+
"id": "land1-power_water-indigo-name",
1495114769
"type": "symbol",
1495214770
"source": "someoneelse",
1495314771
"source-layer": "land1",
14954-
"minzoom": 14,
14955-
"filter": [ "all", [ "in", "class", "man_made_power",
14956-
"man_made_power_water",
14957-
"man_made_power_wind" ],
14958-
[ ">", "way_area", 80000 ],
14772+
"filter": [ "all", [ "in", "class", "man_made_power_water" ],
1495914773
[ "==", "$type", "Point" ] ],
1496014774
"layout": {
1496114775
"text-anchor": "top",
@@ -14977,16 +14791,14 @@
1497714791
}
1497814792
},
1497914793
{
14980-
"id": "land1-power-indigo-name-12-13",
14794+
"id": "land1-power-indigo-imagenameicon",
1498114795
"type": "symbol",
1498214796
"source": "someoneelse",
1498314797
"source-layer": "land1",
14984-
"maxzoom": 14,
14985-
"filter": [ "all", [ "in", "class", "man_made_power",
14986-
"man_made_power_water",
14987-
"man_made_power_wind" ],
14798+
"filter": [ "all", [ "in", "class", "man_made_power_wind" ],
1498814799
[ "==", "$type", "Point" ] ],
1498914800
"layout": {
14801+
"icon-image": "{class}",
1499014802
"text-anchor": "top",
1499114803
"text-field": "{name}\n",
1499214804
"text-font": [

0 commit comments

Comments
 (0)