Query
public Query(Envelope queryEnvelope,
PredicateEvaluator test,
Path pathOutput,
Path pathTmp,
ExtractionPaths paths,
TreeFileNames treeNames,
BatchFileNames relationNames,
FileFormat inputFormat,
OsmOutputConfig outputConfigIntermediate,
OsmOutputConfig outputConfig,
boolean keepTmp,
boolean fastRelationTests)
Create a query to extract data contained in an area from an extraction database.
-
Parameters:
-
queryEnvelope - the bounding envelope of the region to extract.
-
test - a PredicateEvaluator used for determining inclusion in the extract.
-
pathOutput - a path to a file to store output data in.
-
pathTmp - a directory to store intermediate, temporary files (pass null to use the system's default temporary storage, i.e.
Files.createTempDirectory(String, FileAttribute...) will be used.)
-
paths - an ExtractionPaths object configured for an extraction database.
-
treeNames - the names of the files in the data tree.
-
relationNames - the names of the files in the relation batches.
-
inputFormat - the
FileFormat of the database extract files.
-
outputConfigIntermediate - configuration for intermediate file storage
-
outputConfig - configuration for the final output file.
-
keepTmp - whether to keep temporary files after the extraction is done.
-
fastRelationTests - whether to include relations based on their bounding box (and not by evaluating their exact geometry).