From 136f9ee52519eeb41c85aa5badca7447623cd116 Mon Sep 17 00:00:00 2001 From: Julien Etienne Date: Sun, 26 Jul 2026 23:17:23 +0700 Subject: [PATCH] Add laterite, rock, sand to vector unpaved surface list vector/tilemaker/process-otm.lua classifies surface into "unpaved" for the streets_med/streets vector layers, but the value list was missing laterite (approved via OSM's proposal process, 29-0-0, https://wiki.openstreetmap.org/wiki/Proposal:Surface=laterite, documented at https://wiki.openstreetmap.org/wiki/Tag:surface=laterite), rock, and sand, all of which are unpaved natural surfaces in the same vein as the dirt/gravel/mud/ground values already in the list. Scoped to just the missing values in this list. The raster renderer (mapnik/opentopomap.xml) doesn't use surface for paved/unpaved styling at all currently, that's a separate, much bigger gap out of scope here. --- vector/tilemaker/process-otm.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vector/tilemaker/process-otm.lua b/vector/tilemaker/process-otm.lua index 0374490..8c64126 100644 --- a/vector/tilemaker/process-otm.lua +++ b/vector/tilemaker/process-otm.lua @@ -730,7 +730,7 @@ function process_streets() mz = 13 end if kind ~= "" and surface ~= "" then - if surface == "unpaved" or surface == "compacted" or surface == "dirt" or surface == "earth" or surface == "fine_gravel" or surface == "grass" or surface == "grass_paver" or surface == "gravel" or surface == "ground" or surface == "mud" or surface == "pebblestone" or surface == "salt" or surface == "woodchips" or surface == "clay" then + if surface == "unpaved" or surface == "compacted" or surface == "dirt" or surface == "earth" or surface == "fine_gravel" or surface == "grass" or surface == "grass_paver" or surface == "gravel" or surface == "ground" or surface == "mud" or surface == "pebblestone" or surface == "salt" or surface == "woodchips" or surface == "clay" or surface == "laterite" or surface == "rock" or surface == "sand" then surface = "unpaved" elseif surface == "paved" or surface == "asphalt" or surface == "cobblestone" or surface == "cobblestone:flattended" or surface == "sett" or surface == "concrete" or surface == "concrete:lanes" or surface == "concrete:plates" or surface == "paving_stones" then surface = "unpaved"