Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clean-up, based on recent changes in planetiler-core reg. LayerPostProcesser #201

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/OpenMapTilesProfile.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
* </ul>
* 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 {

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Boundary.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public class Boundary implements
ForwardingProfile.OsmRelationPreprocessor,
OpenMapTilesProfile.OsmAllProcessor,
Tables.OsmBoundaryPolygon.Handler,
ForwardingProfile.LayerPostProcesser,
ForwardingProfile.LayerPostProcessor,
ForwardingProfile.FinishHandler {

/*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Building.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {

/*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Housenumber.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ";";
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Landcover.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Landuse.java
Original file line number Diff line number Diff line change
Expand Up @@ -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<Number> MIN_PIXEL_SIZE_THRESHOLDS = ZoomFunction.fromMaxZoomThresholds(Map.of(
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/MountainPeak.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Park.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Place.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Poi.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public class Poi implements
OpenMapTilesSchema.Poi,
Tables.OsmPoiPoint.Handler,
Tables.OsmPoiPolygon.Handler,
ForwardingProfile.LayerPostProcesser,
ForwardingProfile.LayerPostProcessor,
ForwardingProfile.FinishHandler {

/*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Transportation.java
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public class Transportation implements
Tables.OsmShipwayLinestring.Handler,
Tables.OsmHighwayPolygon.Handler,
OpenMapTilesProfile.NaturalEarthProcessor,
ForwardingProfile.LayerPostProcesser,
ForwardingProfile.LayerPostProcessor,
ForwardingProfile.OsmRelationPreprocessor,
OpenMapTilesProfile.IgnoreWikidata {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Water.java
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public class Water implements
Tables.OsmWaterPolygon.Handler,
OpenMapTilesProfile.NaturalEarthProcessor,
OpenMapTilesProfile.OsmWaterPolygonProcessor,
ForwardingProfile.LayerPostProcesser,
ForwardingProfile.LayerPostProcessor,
ForwardingProfile.FinishHandler {

/*
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/openmaptiles/layers/Waterway.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down
Loading