Skip to content

Commit

Permalink
Removed surface=mud, sand and surface=sand, mud,
Browse files Browse the repository at this point in the history
no longer in the data.
  • Loading branch information
Andy Townsend committed Dec 9, 2024
1 parent 2154764 commit fbf84d5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Use `theatre:type` to detect concert halls.
Use more verge tags to detect verges.
Treat `government=customs` as a government office.
If a `tourism=attraction` is also a `highway`, show as `highway`.
Removed `surface=mud, sand` and `surface=sand, mud`, no longer in the data.

## 27/11/2024
Add more links to the web pages, vector about, vector changelogs, etc. - and links between them.
Expand Down
4 changes: 1 addition & 3 deletions style.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2019,13 +2019,11 @@ function filter_tags_generic(keyvalues, nokeys)
if (( keyvalues["natural"] == "wetland" ) and
(( keyvalues["wetland"] == nil ) or
( keyvalues["wetland"] == "tidalflat" ))) then
if (( keyvalues["surface"] == "mud" ) or
( keyvalues["surface"] == "mud, sand" )) then
if ( keyvalues["surface"] == "mud" ) then
keyvalues["natural"] = "mud"
end

if (( keyvalues["surface"] == "sand" ) or
( keyvalues["surface"] == "sand, mud" ) or
( keyvalues["surface"] == "dirt/sand" )) then
keyvalues["natural"] = "sand"
end
Expand Down
4 changes: 1 addition & 3 deletions taginfo.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"data_format": 1,
"data_url": "https://raw.githubusercontent.com/SomeoneElseOSM/SomeoneElse-style/master/taginfo.json",
"data_updated": "20241129T025500Z",
"data_updated": "20241209T103800Z",
"project": {
"name": "SomeoneElse: Rural pedestrian CartoCSS maps",
"description": "This map style is designed for England and Wales-based rural pedestrians. It shows public rights of way and long distance paths.",
Expand Down Expand Up @@ -3352,11 +3352,9 @@
{ "key": "surface", "value": "grass", "description": "Show grass beer gardens in green" },
{ "key": "surface", "value": "gravel", "description": "Show gravel residential an service roads as lower quality; show wetlands based on the surface that is set" },
{ "key": "surface", "value": "mud", "description": "Show wetlands based on the surface that is set" },
{ "key": "surface", "value": "mud, sand", "description": "Show wetlands based on the surface that is set" },
{ "key": "surface", "value": "pebblestone", "description": "Show wetlands based on the surface that is set" },
{ "key": "surface", "value": "rock", "description": "Show wetlands based on the surface that is set" },
{ "key": "surface", "value": "sand", "description": "Show wetlands based on the surface that is set" },
{ "key": "surface", "value": "sand, mud", "description": "Show wetlands based on the surface that is set" },
{ "key": "surface", "value": "scree", "description": "Show scree if another natural feature is set" },
{ "key": "surface", "value": "shingle", "description": "Show wetlands based on the surface that is set" },
{ "key": "surface", "value": "unpaved", "description": "Show gravel residential an service roads as lower quality" },
Expand Down

0 comments on commit fbf84d5

Please sign in to comment.