From 72abc212c3925eae354cfd3e3f0c879de27bea3d Mon Sep 17 00:00:00 2001 From: Peter Hanecak Date: Thu, 12 Oct 2023 18:15:41 +0200 Subject: [PATCH] partial fix for differences in transportation_name layer The difference is between OpenMapTiles/master (OMT) and planetiler-openmaptiles/omt_3_15_0 (PT-OMT) (e.g. development versions). The point is, that while PT-OMT was using limit of "8km" for Z9-Z11, OMT is using limit "ST_Length(geometry) > 8000 / POWER(2, zoom_level - 9) AND zoom_level BETWEEN 9 AND 11". Some further differences still visible, hence further commits expected. --- src/main/java/org/openmaptiles/layers/TransportationName.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/openmaptiles/layers/TransportationName.java b/src/main/java/org/openmaptiles/layers/TransportationName.java index 1080576e..34c7fcdb 100644 --- a/src/main/java/org/openmaptiles/layers/TransportationName.java +++ b/src/main/java/org/openmaptiles/layers/TransportationName.java @@ -109,8 +109,8 @@ public class TransportationName implements .put(7, 20_000) .put(8, 14_000) .put(9, 8_000) - .put(10, 8_000) - .put(11, 8_000); + .put(10, 4_000) + .put(11, 2_000); private static final List CONCURRENT_ROUTE_KEYS = List.of( Fields.ROUTE_1, Fields.ROUTE_2,