public class PbfLoader
extends java.lang.Object
implements java.io.Serializable
Resources pbfs and build a single Atlas from it, following the wanted
country border and shard| Constructor and Description |
|---|
PbfLoader(PbfContext pbfContext,
java.util.Map<java.lang.String,java.lang.String> sparkContext,
org.openstreetmap.atlas.geography.boundary.CountryBoundaryMap boundaries,
org.openstreetmap.atlas.geography.atlas.pbf.AtlasLoadingOption atlasLoadingOption,
java.lang.String codeVersion,
java.lang.String dataVersion,
java.util.Set<org.openstreetmap.atlas.geography.sharding.Shard> countryShards)
Construct
|
| Modifier and Type | Method and Description |
|---|---|
org.openstreetmap.atlas.geography.atlas.Atlas |
generateRawAtlas(java.lang.String countryName,
org.openstreetmap.atlas.geography.sharding.Shard shard) |
static void |
setAtlasSaveFolder(org.openstreetmap.atlas.streaming.resource.File atlasSaveFolder) |
public PbfLoader(PbfContext pbfContext, java.util.Map<java.lang.String,java.lang.String> sparkContext, org.openstreetmap.atlas.geography.boundary.CountryBoundaryMap boundaries, org.openstreetmap.atlas.geography.atlas.pbf.AtlasLoadingOption atlasLoadingOption, java.lang.String codeVersion, java.lang.String dataVersion, java.util.Set<org.openstreetmap.atlas.geography.sharding.Shard> countryShards)
pbfContext - The context explaining where to find the PBFssparkContext - The context from Sparkboundaries - The CountryBoundaryMapatlasLoadingOption - The loading optionscodeVersion - The version of the code useddataVersion - The version of the data in the PBFscountryShards - Set of Shards for the Atlas meta datapublic static void setAtlasSaveFolder(org.openstreetmap.atlas.streaming.resource.File atlasSaveFolder)
public org.openstreetmap.atlas.geography.atlas.Atlas generateRawAtlas(java.lang.String countryName,
org.openstreetmap.atlas.geography.sharding.Shard shard)