Class MergeSourceBuildingVisitor

java.lang.Object
org.openstreetmap.josm.data.osm.visitor.MergeSourceBuildingVisitor
All Implemented Interfaces:
OsmPrimitiveVisitor

public class MergeSourceBuildingVisitor extends Object implements OsmPrimitiveVisitor
MergeSourceBuildingVisitor helps to build the "hull" of a collection of OsmPrimitives which shall be merged into another layer. The "hull" is slightly bigger than the original collection. It includes, for instance the nodes of a way in the original collection even though these nodes might not be present explicitly in the original collection. The "hull" also includes incomplete OsmPrimitives which are referred to by relations in the original collection. And it turns OsmPrimitive referred to by Relations in the original collection into incomplete OsmPrimitives in the "hull", if they are not themselves present in the original collection.
Since:
1891