Class RawAtlasCreator
- java.lang.Object
-
- org.openstreetmap.atlas.utilities.runtime.Command
-
- org.openstreetmap.atlas.generator.creator.RawAtlasCreator
-
public class RawAtlasCreator extends org.openstreetmap.atlas.utilities.runtime.CommandThis tool allows the user to replicate raw flowAtlasGeneratorconditions on a certain shard. It isDynamicAtlasenabled, and will create sliced shards for expansion where necessary.
-
-
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.generator.creator.RawAtlasCreator.RawAtlasFlavor>ATLAS_FLAVORstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.geography.boundary.CountryBoundaryMap>BOUNDARIESstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>COUNTRYstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.Boolean>FAIL_FAST_CACHE_MISSstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>FULLY_SLICED_ATLAS_CACHE_PATHstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>LINE_SLICED_ATLAS_CACHE_PATHstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File>OUTPUTstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>PBF_PATHstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>PBF_SHARDINGstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>RAW_ATLAS_CACHE_PATHstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>SHARDING_TYPEstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.geography.sharding.Shard>TILEstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.Boolean>USE_JAVA_ATLASstatic org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String>WATER_RELATION_SUB_ATLAS_CACHE_PATH
-
Constructor Summary
Constructors Constructor Description RawAtlasCreator()
-
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)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
-
COUNTRY
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> COUNTRY
-
OUTPUT
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.streaming.resource.File> OUTPUT
-
PBF_PATH
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> PBF_PATH
-
FAIL_FAST_CACHE_MISS
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.Boolean> FAIL_FAST_CACHE_MISS
-
PBF_SHARDING
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> PBF_SHARDING
-
SHARDING_TYPE
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> SHARDING_TYPE
-
TILE
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.geography.sharding.Shard> TILE
-
ATLAS_FLAVOR
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<org.openstreetmap.atlas.generator.creator.RawAtlasCreator.RawAtlasFlavor> ATLAS_FLAVOR
-
USE_JAVA_ATLAS
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.Boolean> USE_JAVA_ATLAS
-
LINE_SLICED_ATLAS_CACHE_PATH
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> LINE_SLICED_ATLAS_CACHE_PATH
-
WATER_RELATION_SUB_ATLAS_CACHE_PATH
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> WATER_RELATION_SUB_ATLAS_CACHE_PATH
-
FULLY_SLICED_ATLAS_CACHE_PATH
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> FULLY_SLICED_ATLAS_CACHE_PATH
-
RAW_ATLAS_CACHE_PATH
public static final org.openstreetmap.atlas.utilities.runtime.Command.Switch<java.lang.String> RAW_ATLAS_CACHE_PATH
-
-
Method Detail
-
main
public static void main(java.lang.String[] args)
-
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
-
-