Class IntervalExtractor
java.lang.Object
org.openstreetmap.osmosis.extract.apidb.v0_6.IntervalExtractor
Performs an extract from a database for a single time interval and writes to a change file.
-
Constructor Summary
ConstructorsConstructorDescriptionIntervalExtractor(Configuration config, File baseDirectory, Date intervalBegin, Date intervalEnd, boolean fullHistory) Creates a new instance. -
Method Summary
-
Constructor Details
-
IntervalExtractor
public IntervalExtractor(Configuration config, File baseDirectory, Date intervalBegin, Date intervalEnd, boolean fullHistory) Creates a new instance.- Parameters:
config- The configuration object defining runtime parameters.baseDirectory- The root of the changeset extraction directory tree.intervalBegin- The beginning of the interval to extract.intervalEnd- The end of the interval to extract.fullHistory- Specifies if full version history should be returned, or just a single change per entity for the interval.
-
-
Method Details
-
run
public void run()Runs the changeset extraction.
-