Skip to content

Commit fbf84d5

Browse files
author
Andy Townsend
committed
Removed surface=mud, sand and surface=sand, mud,
no longer in the data.
1 parent 2154764 commit fbf84d5

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

changelog.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ Use `theatre:type` to detect concert halls.
1919
Use more verge tags to detect verges.
2020
Treat `government=customs` as a government office.
2121
If a `tourism=attraction` is also a `highway`, show as `highway`.
22+
Removed `surface=mud, sand` and `surface=sand, mud`, no longer in the data.
2223

2324
## 27/11/2024
2425
Add more links to the web pages, vector about, vector changelogs, etc. - and links between them.

style.lua

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2019,13 +2019,11 @@ function filter_tags_generic(keyvalues, nokeys)
20192019
if (( keyvalues["natural"] == "wetland" ) and
20202020
(( keyvalues["wetland"] == nil ) or
20212021
( keyvalues["wetland"] == "tidalflat" ))) then
2022-
if (( keyvalues["surface"] == "mud" ) or
2023-
( keyvalues["surface"] == "mud, sand" )) then
2022+
if ( keyvalues["surface"] == "mud" ) then
20242023
keyvalues["natural"] = "mud"
20252024
end
20262025

20272026
if (( keyvalues["surface"] == "sand" ) or
2028-
( keyvalues["surface"] == "sand, mud" ) or
20292027
( keyvalues["surface"] == "dirt/sand" )) then
20302028
keyvalues["natural"] = "sand"
20312029
end

taginfo.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"data_format": 1,
33
"data_url": "https://raw.githubusercontent.com/SomeoneElseOSM/SomeoneElse-style/master/taginfo.json",
4-
"data_updated": "20241129T025500Z",
4+
"data_updated": "20241209T103800Z",
55
"project": {
66
"name": "SomeoneElse: Rural pedestrian CartoCSS maps",
77
"description": "This map style is designed for England and Wales-based rural pedestrians. It shows public rights of way and long distance paths.",
@@ -3352,11 +3352,9 @@
33523352
{ "key": "surface", "value": "grass", "description": "Show grass beer gardens in green" },
33533353
{ "key": "surface", "value": "gravel", "description": "Show gravel residential an service roads as lower quality; show wetlands based on the surface that is set" },
33543354
{ "key": "surface", "value": "mud", "description": "Show wetlands based on the surface that is set" },
3355-
{ "key": "surface", "value": "mud, sand", "description": "Show wetlands based on the surface that is set" },
33563355
{ "key": "surface", "value": "pebblestone", "description": "Show wetlands based on the surface that is set" },
33573356
{ "key": "surface", "value": "rock", "description": "Show wetlands based on the surface that is set" },
33583357
{ "key": "surface", "value": "sand", "description": "Show wetlands based on the surface that is set" },
3359-
{ "key": "surface", "value": "sand, mud", "description": "Show wetlands based on the surface that is set" },
33603358
{ "key": "surface", "value": "scree", "description": "Show scree if another natural feature is set" },
33613359
{ "key": "surface", "value": "shingle", "description": "Show wetlands based on the surface that is set" },
33623360
{ "key": "surface", "value": "unpaved", "description": "Show gravel residential an service roads as lower quality" },

0 commit comments

Comments
 (0)