Class Merge



  • public class Merge
    extends Object
    • Constructor Detail

      • Merge

        public Merge(OsmOutputStream output,
                     Collection<OsmIterator> inputs)
        Merge the elements from a collection of OSM input sources to a single OSM output. The merging algorithm expects the input data to be in default order, i.e. a sequence of nodes, followed by a sequence of ways, followed by a sequence of relations, each sequence ordered by their object's identifiers.
        Parameters:
        output - am OsmOutputStream to write data to.
        inputs - a collection of iterators to retrieve data from.