Class CheckFlagTippecanoeProcessor

  • All Implemented Interfaces:
    org.openstreetmap.atlas.event.Processor<CheckFlagEvent>

    public class CheckFlagTippecanoeProcessor
    extends FileProcessor<CheckFlagEvent>
    This class is similar to CheckFlagFileProcessor, except here we're making line-delimited GeoJSON that plays well with tippecanoe.
    • Constructor Detail

      • CheckFlagTippecanoeProcessor

        public CheckFlagTippecanoeProcessor​(org.openstreetmap.atlas.generator.tools.spark.utilities.SparkFileHelper fileHelper,
                                            java.lang.String directory)
        Default constructor
        Parameters:
        fileHelper - SparkFileHelper instance for I/O operations
        directory - The directory to write output
    • Method Detail

      • process

        public void process​(org.openstreetmap.atlas.event.ShutdownEvent event)
      • getFilename

        protected java.lang.String getFilename()
        Overrides:
        getFilename in class FileProcessor<CheckFlagEvent>
        Returns:
        the name of the file to be used in #write() method to write files