Class WorldAtlasGenerator
- java.lang.Object
-
- org.openstreetmap.atlas.utilities.runtime.Command
-
- org.openstreetmap.atlas.generator.world.WorldAtlasGenerator
-
public class WorldAtlasGenerator extends org.openstreetmap.atlas.utilities.runtime.CommandSingle 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>BOUNDARIESstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>CODE_VERSIONstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>DATA_VERSIONstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>EDGE_CONFIGURATIONstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File>PBF_NODE_CONFIGURATIONstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File>PBF_RELATION_CONFIGURATIONstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File>PBF_WAY_CONFIGURATIONstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>SHOULD_ALWAYS_SLICE_CONFIGURATION
-
Constructor Summary
Constructors Constructor Description WorldAtlasGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidmain(java.lang.String[] args)protected intonRun(org.openstreetmap.atlas.utilities.runtime.CommandMap command)static voidsetHadoopFileSystemConfiguration(java.util.Map<java.lang.String,java.lang.String> newConfiguration)protected org.openstreetmap.atlas.utilities.runtime.Command.SwitchListswitches()
-
-
-
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
-
-
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:
onRunin classorg.openstreetmap.atlas.utilities.runtime.Command
-
switches
protected org.openstreetmap.atlas.utilities.runtime.Command.SwitchList switches()
- Specified by:
switchesin classorg.openstreetmap.atlas.utilities.runtime.Command
-
-