Class WorldAtlasGenerator


  • public class WorldAtlasGenerator
    extends org.openstreetmap.atlas.utilities.runtime.Command
    Single threaded process taking an OSM PBF file and making an Atlas from it.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.openstreetmap.atlas.utilities.runtime.Command

        org.openstreetmap.atlas.utilities.runtime.Command.Flag, org.openstreetmap.atlas.utilities.runtime.Command.Optionality, org.openstreetmap.atlas.utilities.runtime.Command.Switch<T extends java.lang.Object>, org.openstreetmap.atlas.utilities.runtime.Command.SwitchList
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.geography.boundary.CountryBoundaryMap> BOUNDARIES  
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> CODE_VERSION  
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> DATA_VERSION  
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> EDGE_CONFIGURATION  
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File> PBF_NODE_CONFIGURATION  
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File> PBF_RELATION_CONFIGURATION  
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File> PBF_WAY_CONFIGURATION  
      static org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> SHOULD_ALWAYS_SLICE_CONFIGURATION  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      protected int onRun​(org.openstreetmap.atlas.utilities.runtime.CommandMap command)  
      static void setHadoopFileSystemConfiguration​(java.util.Map<java.lang.String,​java.lang.String> newConfiguration)  
      protected org.openstreetmap.atlas.utilities.runtime.Command.SwitchList switches()  
      • Methods inherited from class org.openstreetmap.atlas.utilities.runtime.Command

        commandSummary, getCommandMap, lastRawCommand, run, runWithoutQuitting
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • BOUNDARIES

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.geography.boundary.CountryBoundaryMap> BOUNDARIES
      • CODE_VERSION

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> CODE_VERSION
      • DATA_VERSION

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> DATA_VERSION
      • EDGE_CONFIGURATION

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> EDGE_CONFIGURATION
      • SHOULD_ALWAYS_SLICE_CONFIGURATION

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> SHOULD_ALWAYS_SLICE_CONFIGURATION
      • PBF_WAY_CONFIGURATION

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File> PBF_WAY_CONFIGURATION
      • PBF_NODE_CONFIGURATION

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File> PBF_NODE_CONFIGURATION
      • PBF_RELATION_CONFIGURATION

        public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File> PBF_RELATION_CONFIGURATION
    • Constructor Detail

      • WorldAtlasGenerator

        public WorldAtlasGenerator()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • setHadoopFileSystemConfiguration

        public static void setHadoopFileSystemConfiguration​(java.util.Map<java.lang.String,​java.lang.String> newConfiguration)
      • onRun

        protected int onRun​(org.openstreetmap.atlas.utilities.runtime.CommandMap command)
        Specified by:
        onRun in class org.openstreetmap.atlas.utilities.runtime.Command
      • switches

        protected org.openstreetmap.atlas.utilities.runtime.Command.SwitchList switches()
        Specified by:
        switches in class org.openstreetmap.atlas.utilities.runtime.Command