From 12da04b03e1796d62eb88257dbdf6fd3d3a94b88 Mon Sep 17 00:00:00 2001 From: HeikoGr Date: Thu, 27 Apr 2023 11:26:54 +0200 Subject: [PATCH 1/2] Update Transit.java filter for razed, demolished and removed railways --- tiles/src/main/java/com/protomaps/basemap/layers/Transit.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiles/src/main/java/com/protomaps/basemap/layers/Transit.java b/tiles/src/main/java/com/protomaps/basemap/layers/Transit.java index 01a639f7..d21ae9d7 100644 --- a/tiles/src/main/java/com/protomaps/basemap/layers/Transit.java +++ b/tiles/src/main/java/com/protomaps/basemap/layers/Transit.java @@ -22,7 +22,7 @@ public void processFeature(SourceFeature sf, FeatureCollector features) { sf.hasTag("aerialway", "cable_car") || sf.hasTag("route", "ferry") || sf.hasTag("aeroway", "runway", "taxiway")) && - (!sf.hasTag("railway", "abandoned", "construction", "platform", "proposed"))) { + (!sf.hasTag("railway", "abandoned", "razed", "demolished", "removed", "construction", "platform", "proposed"))) { int minzoom = 11; From 2a440165a1f821ad76fcc401baf92e91d9933c74 Mon Sep 17 00:00:00 2001 From: HeikoGr Date: Fri, 28 Apr 2023 07:32:45 +0200 Subject: [PATCH 2/2] Update Roads.java filter for abandoned, razed, demolished and removed --- tiles/src/main/java/com/protomaps/basemap/layers/Roads.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c699f307..b60c07db 100644 --- a/tiles/src/main/java/com/protomaps/basemap/layers/Roads.java +++ b/tiles/src/main/java/com/protomaps/basemap/layers/Roads.java @@ -21,7 +21,7 @@ public String name() { @Override public void processFeature(SourceFeature sourceFeature, FeatureCollector features) { if (sourceFeature.canBeLine() && sourceFeature.hasTag("highway") && - !(sourceFeature.hasTag("highway", "proposed", "construction"))) { + !(sourceFeature.hasTag("highway", "proposed", "abandoned", "razed", "demolished", "removed", "construction"))) { String highway = sourceFeature.getString("highway"); var feat = features.line("roads") .setId(FeatureId.create(sourceFeature))