kopia lustrzana https://github.com/onthegomap/planetiler
39 wiersze
1014 B
Java
39 wiersze
1014 B
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;
|
|
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.Feature> postProcessLayerFeatures(String layer, int zoom,
|
|
List<VectorTileEncoder.Feature> items) {
|
|
return items;
|
|
}
|
|
|
|
@Override
|
|
public List<OpenStreetMapReader.RelationInfo> preprocessOsmRelation(ReaderRelation relation) {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void processFeature(SourceFeature sourceFeature,
|
|
RenderableFeatures features) {
|
|
|
|
}
|
|
|
|
}
|