public class Merge extends AbstractMerge
AbstractMerge.Input <T extends OsmEntity> bounds, hasBounds, nodeItems, relationItems, wayItems| Constructor and Description |
|---|
Merge(OsmOutputStream
Merge the elements from a collection of OSM input sources to a single OSM output.
|
Merge(OsmOutputStream
Merge the elements from a collection of OSM input sources to a single OSM output.
|
Merge(OsmOutputStream
Merge the elements from a collection of OSM input sources to a single OSM output.
|
| Modifier and Type | Method and Description |
|---|---|
void |
run()
|
advanceNodeItem, advanceRelationItem, advanceWayItem, createItem, initBoundspublic Merge(OsmOutputStreamoutput, Collection <OsmIterator > inputs)
output - am OsmOutputStream to write data to.
inputs - a collection of iterators to retrieve data from.
public Merge(OsmOutputStreamoutput, Collection <OsmIterator > inputs, Comparator <OsmEntity > comparator)
output - am OsmOutputStream to write data to.
inputs - a collection of iterators to retrieve data from.
comparator - a Comparator used to compare elements of the same type.
public Merge(OsmOutputStreamoutput, Collection <OsmIterator > inputs, Comparator <? super OsmNode > comparatorNodes, Comparator <? super OsmWay > comparatorWays, Comparator <? super OsmRelation > comparatorRelations)
output - am OsmOutputStream to write data to.
inputs - a collection of iterators to retrieve data from.
comparatorNodes - a Comparator used to compare nodes.
comparatorWays - a Comparator used to compare ways.
comparatorRelations - a Comparator used to compare relations.
public void run()
throws IOException
IOException