From 95afebe675ed992cc9f4bfbebafa9c44e8b9a5cb Mon Sep 17 00:00:00 2001 From: Peter Hanecak Date: Thu, 17 Oct 2024 17:51:19 +0200 Subject: [PATCH] clean-up, based on recent changes in planetiler-core: s/LayerPostProcesser/LayerPostProcessor --- src/main/java/org/openmaptiles/OpenMapTilesProfile.java | 2 +- src/main/java/org/openmaptiles/layers/Boundary.java | 2 +- src/main/java/org/openmaptiles/layers/Building.java | 2 +- src/main/java/org/openmaptiles/layers/Housenumber.java | 2 +- src/main/java/org/openmaptiles/layers/Landcover.java | 2 +- src/main/java/org/openmaptiles/layers/Landuse.java | 2 +- src/main/java/org/openmaptiles/layers/MountainPeak.java | 2 +- src/main/java/org/openmaptiles/layers/Park.java | 2 +- src/main/java/org/openmaptiles/layers/Place.java | 2 +- src/main/java/org/openmaptiles/layers/Poi.java | 2 +- src/main/java/org/openmaptiles/layers/Transportation.java | 2 +- src/main/java/org/openmaptiles/layers/TransportationName.java | 2 +- src/main/java/org/openmaptiles/layers/Water.java | 2 +- src/main/java/org/openmaptiles/layers/Waterway.java | 2 +- 14 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/main/java/org/openmaptiles/OpenMapTilesProfile.java b/src/main/java/org/openmaptiles/OpenMapTilesProfile.java index bafa1a3f..26371139 100644 --- a/src/main/java/org/openmaptiles/OpenMapTilesProfile.java +++ b/src/main/java/org/openmaptiles/OpenMapTilesProfile.java @@ -42,7 +42,7 @@ * * Layers can also subscribe to notifications when we finished processing an input source by implementing * {@link FinishHandler} or post-process features in that layer before rendering the output tile by implementing - * {@link LayerPostProcesser}. + * {@link LayerPostProcessor}. */ public class OpenMapTilesProfile extends ForwardingProfile { diff --git a/src/main/java/org/openmaptiles/layers/Boundary.java b/src/main/java/org/openmaptiles/layers/Boundary.java index 01fb3e98..3b801dbd 100644 --- a/src/main/java/org/openmaptiles/layers/Boundary.java +++ b/src/main/java/org/openmaptiles/layers/Boundary.java @@ -99,7 +99,7 @@ public class Boundary implements ForwardingProfile.OsmRelationPreprocessor, OpenMapTilesProfile.OsmAllProcessor, Tables.OsmBoundaryPolygon.Handler, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, ForwardingProfile.FinishHandler { /* diff --git a/src/main/java/org/openmaptiles/layers/Building.java b/src/main/java/org/openmaptiles/layers/Building.java index bd38eca8..d255ea89 100644 --- a/src/main/java/org/openmaptiles/layers/Building.java +++ b/src/main/java/org/openmaptiles/layers/Building.java @@ -67,7 +67,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE public class Building implements OpenMapTilesSchema.Building, Tables.OsmBuildingPolygon.Handler, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, ForwardingProfile.OsmRelationPreprocessor { /* diff --git a/src/main/java/org/openmaptiles/layers/Housenumber.java b/src/main/java/org/openmaptiles/layers/Housenumber.java index 63b3c4ba..85f487e9 100644 --- a/src/main/java/org/openmaptiles/layers/Housenumber.java +++ b/src/main/java/org/openmaptiles/layers/Housenumber.java @@ -66,7 +66,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE public class Housenumber implements OpenMapTilesSchema.Housenumber, Tables.OsmHousenumberPoint.Handler, - ForwardingProfile.LayerPostProcesser { + ForwardingProfile.LayerPostProcessor { private static final Logger LOGGER = LoggerFactory.getLogger(Housenumber.class); private static final String OSM_SEPARATOR = ";"; diff --git a/src/main/java/org/openmaptiles/layers/Landcover.java b/src/main/java/org/openmaptiles/layers/Landcover.java index 0039d6c6..c06fa5cc 100644 --- a/src/main/java/org/openmaptiles/layers/Landcover.java +++ b/src/main/java/org/openmaptiles/layers/Landcover.java @@ -66,7 +66,7 @@ public class Landcover implements OpenMapTilesSchema.Landcover, OpenMapTilesProfile.NaturalEarthProcessor, Tables.OsmLandcoverPolygon.Handler, - ForwardingProfile.LayerPostProcesser { + ForwardingProfile.LayerPostProcessor { /* * Large ice areas come from natural earth and the rest come from OpenStreetMap at higher zoom diff --git a/src/main/java/org/openmaptiles/layers/Landuse.java b/src/main/java/org/openmaptiles/layers/Landuse.java index fef52c54..44839a0a 100644 --- a/src/main/java/org/openmaptiles/layers/Landuse.java +++ b/src/main/java/org/openmaptiles/layers/Landuse.java @@ -68,7 +68,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE public class Landuse implements OpenMapTilesSchema.Landuse, OpenMapTilesProfile.NaturalEarthProcessor, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, Tables.OsmLandusePolygon.Handler { private static final ZoomFunction MIN_PIXEL_SIZE_THRESHOLDS = ZoomFunction.fromMaxZoomThresholds(Map.of( diff --git a/src/main/java/org/openmaptiles/layers/MountainPeak.java b/src/main/java/org/openmaptiles/layers/MountainPeak.java index 85fe8ace..37f56066 100644 --- a/src/main/java/org/openmaptiles/layers/MountainPeak.java +++ b/src/main/java/org/openmaptiles/layers/MountainPeak.java @@ -75,7 +75,7 @@ public class MountainPeak implements OpenMapTilesSchema.MountainPeak, Tables.OsmPeakPoint.Handler, Tables.OsmMountainLinestring.Handler, - ForwardingProfile.LayerPostProcesser { + ForwardingProfile.LayerPostProcessor { /* * Mountain peaks come from OpenStreetMap data and are ranked by importance (based on if they diff --git a/src/main/java/org/openmaptiles/layers/Park.java b/src/main/java/org/openmaptiles/layers/Park.java index aa18fb8d..40b15625 100644 --- a/src/main/java/org/openmaptiles/layers/Park.java +++ b/src/main/java/org/openmaptiles/layers/Park.java @@ -68,7 +68,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE public class Park implements OpenMapTilesSchema.Park, Tables.OsmParkPolygon.Handler, - ForwardingProfile.LayerPostProcesser { + ForwardingProfile.LayerPostProcessor { // constants for determining the minimum zoom level for a park label based on its area private static final double WORLD_AREA_FOR_70K_SQUARE_METERS = diff --git a/src/main/java/org/openmaptiles/layers/Place.java b/src/main/java/org/openmaptiles/layers/Place.java index 598c0f6a..8fcd17f2 100644 --- a/src/main/java/org/openmaptiles/layers/Place.java +++ b/src/main/java/org/openmaptiles/layers/Place.java @@ -90,7 +90,7 @@ public class Place implements Tables.OsmIslandPolygon.Handler, Tables.OsmCityPoint.Handler, Tables.OsmBoundaryPolygon.Handler, - ForwardingProfile.LayerPostProcesser { + ForwardingProfile.LayerPostProcessor { /* * Place labels locations and names come from OpenStreetMap, but we also join with natural diff --git a/src/main/java/org/openmaptiles/layers/Poi.java b/src/main/java/org/openmaptiles/layers/Poi.java index ea963611..bc93e62b 100644 --- a/src/main/java/org/openmaptiles/layers/Poi.java +++ b/src/main/java/org/openmaptiles/layers/Poi.java @@ -80,7 +80,7 @@ public class Poi implements OpenMapTilesSchema.Poi, Tables.OsmPoiPoint.Handler, Tables.OsmPoiPolygon.Handler, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, ForwardingProfile.FinishHandler { /* diff --git a/src/main/java/org/openmaptiles/layers/Transportation.java b/src/main/java/org/openmaptiles/layers/Transportation.java index 4584ae61..2c2346cf 100644 --- a/src/main/java/org/openmaptiles/layers/Transportation.java +++ b/src/main/java/org/openmaptiles/layers/Transportation.java @@ -94,7 +94,7 @@ public class Transportation implements Tables.OsmShipwayLinestring.Handler, Tables.OsmHighwayPolygon.Handler, OpenMapTilesProfile.NaturalEarthProcessor, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, ForwardingProfile.OsmRelationPreprocessor, OpenMapTilesProfile.IgnoreWikidata { diff --git a/src/main/java/org/openmaptiles/layers/TransportationName.java b/src/main/java/org/openmaptiles/layers/TransportationName.java index 6184b9e2..a861dd05 100644 --- a/src/main/java/org/openmaptiles/layers/TransportationName.java +++ b/src/main/java/org/openmaptiles/layers/TransportationName.java @@ -81,7 +81,7 @@ public class TransportationName implements Tables.OsmHighwayLinestring.Handler, Tables.OsmAerialwayLinestring.Handler, Tables.OsmShipwayLinestring.Handler, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, OpenMapTilesProfile.IgnoreWikidata, ForwardingProfile.OsmNodePreprocessor, ForwardingProfile.OsmWayPreprocessor { diff --git a/src/main/java/org/openmaptiles/layers/Water.java b/src/main/java/org/openmaptiles/layers/Water.java index 50e6e0fa..c0c3359d 100644 --- a/src/main/java/org/openmaptiles/layers/Water.java +++ b/src/main/java/org/openmaptiles/layers/Water.java @@ -72,7 +72,7 @@ public class Water implements Tables.OsmWaterPolygon.Handler, OpenMapTilesProfile.NaturalEarthProcessor, OpenMapTilesProfile.OsmWaterPolygonProcessor, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, ForwardingProfile.FinishHandler { /* diff --git a/src/main/java/org/openmaptiles/layers/Waterway.java b/src/main/java/org/openmaptiles/layers/Waterway.java index b5ac3e62..a70c8595 100644 --- a/src/main/java/org/openmaptiles/layers/Waterway.java +++ b/src/main/java/org/openmaptiles/layers/Waterway.java @@ -71,7 +71,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE public class Waterway implements OpenMapTilesSchema.Waterway, Tables.OsmWaterwayLinestring.Handler, - ForwardingProfile.LayerPostProcesser, + ForwardingProfile.LayerPostProcessor, OpenMapTilesProfile.NaturalEarthProcessor, ForwardingProfile.OsmRelationPreprocessor, OpenMapTilesProfile.OsmAllProcessor {