planetiler/src/main/java/com/onthegomap/flatmap/profiles/OpenMapTilesProfile.java

40 wiersze
1.0 KiB
Java

package com.onthegomap.flatmap.profiles;
import com.graphhopper.reader.ReaderRelation;
import com.onthegomap.flatmap.Profile;
import com.onthegomap.flatmap.RenderableFeatures;
import com.onthegomap.flatmap.SourceFeature;
import com.onthegomap.flatmap.VectorTileEncoder;
import com.onthegomap.flatmap.reader.OpenStreetMapReader.RelationInfo;
import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class OpenMapTilesProfile implements Profile {
private static final Logger LOGGER = LoggerFactory.getLogger(OpenMapTilesProfile.class);
@Override
public void release() {
}
@Override
public List<VectorTileEncoder.VectorTileFeature> postProcessLayerFeatures(String layer, int zoom,
List<VectorTileEncoder.VectorTileFeature> items) {
return items;
}
@Override
public List<RelationInfo> preprocessOsmRelation(ReaderRelation relation) {
return null;
}
@Override
public void processFeature(SourceFeature sourceFeature,
RenderableFeatures features) {
}
}