public abstract class RelationsDistributorBase extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
fileNamesNodes |
protected String |
fileNamesRelations |
protected String |
fileNamesTreeRelations |
protected String |
fileNamesWays |
protected FileFormat |
inputFormat |
protected IdBboxListOutputStream |
outputBboxes |
protected OsmOutputConfig |
outputConfig |
protected OsmStreamOutput |
outputEmpty |
protected OsmStreamOutput |
outputNonTree |
protected Map<Node,OsmStreamOutput> |
outputs |
protected Path |
pathData |
protected Path |
pathOutputBboxes |
protected Path |
pathOutputEmpty |
protected Path |
pathOutputNonTree |
protected Path |
pathTree |
protected List<Path> |
subdirs |
protected DataTree |
tree |
protected DataTreeFiles |
treeFilesRelations |
Constructor and Description |
---|
RelationsDistributorBase(Path pathTree,
Path pathData,
Path pathOutputEmpty,
Path pathOutputNonTree,
Path pathOutputBboxes,
String fileNamesRelations,
String fileNamesWays,
String fileNamesNodes,
String fileNamesTreeRelations,
FileFormat inputFormat,
OsmOutputConfig outputConfig) |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
build(Path path) |
protected void |
finish() |
protected void |
init() |
protected InMemoryMapDataSet |
read(Path path,
boolean readMetadata,
boolean keepTags) |
protected void |
run() |
protected Path pathTree
protected Path pathData
protected Path pathOutputEmpty
protected Path pathOutputNonTree
protected Path pathOutputBboxes
protected String fileNamesRelations
protected String fileNamesWays
protected String fileNamesNodes
protected String fileNamesTreeRelations
protected FileFormat inputFormat
protected OsmOutputConfig outputConfig
protected DataTree tree
protected DataTreeFiles treeFilesRelations
protected OsmStreamOutput outputEmpty
protected OsmStreamOutput outputNonTree
protected Map<Node,OsmStreamOutput> outputs
protected IdBboxListOutputStream outputBboxes
public RelationsDistributorBase(Path pathTree, Path pathData, Path pathOutputEmpty, Path pathOutputNonTree, Path pathOutputBboxes, String fileNamesRelations, String fileNamesWays, String fileNamesNodes, String fileNamesTreeRelations, FileFormat inputFormat, OsmOutputConfig outputConfig)
protected void init() throws IOException
IOException
protected void run() throws IOException
IOException
protected void finish() throws IOException
IOException
protected abstract void build(Path path) throws IOException
IOException
protected InMemoryMapDataSet read(Path path, boolean readMetadata, boolean keepTags) throws IOException
IOException