From 48bd9fbd585056f37e1f0d7dc073848d0353da7e Mon Sep 17 00:00:00 2001 From: Oliver Wipfli Date: Thu, 22 Aug 2024 16:48:42 +0200 Subject: [PATCH] Fix highways (#291) --- tiles/src/main/java/com/protomaps/basemap/layers/Roads.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tiles/src/main/java/com/protomaps/basemap/layers/Roads.java b/tiles/src/main/java/com/protomaps/basemap/layers/Roads.java index ce7f5d8f..ddc407ef 100644 --- a/tiles/src/main/java/com/protomaps/basemap/layers/Roads.java +++ b/tiles/src/main/java/com/protomaps/basemap/layers/Roads.java @@ -144,6 +144,8 @@ public void processOsm(SourceFeature sf, FeatureCollector features) { // Core OSM tags for different kinds of places .setAttrWithMinzoom("layer", Parse.parseIntOrNull(sf.getString("layer")), 12) .setAttrWithMinzoom("oneway", sf.getString("oneway"), 14) + // `highway` is a temporary attribute that gets removed in the post-process step + .setAttr("highway", highway) .setMinPixelSize(0) .setPixelTolerance(0) .setZoomRange(minZoom, maxZoom);