Package | Description |
---|---|
org.openstreetmap.josm.command |
Provides the classes for JOSM commands allowing to modify an OSM data set.
|
Modifier and Type | Method and Description |
---|---|
static SplitWayCommand |
SplitWayCommand.doSplitWay(Way way,
Way wayToKeep,
java.util.List<Way> newWays,
java.util.List<OsmPrimitive> newSelection)
Effectively constructs the
SplitWayCommand . |
static SplitWayCommand |
SplitWayCommand.split(Way way,
java.util.List<Node> atNodes,
java.util.Collection<? extends OsmPrimitive> selection)
Splits the way
way at the nodes in atNodes and replies
the result of this process in an instance of SplitWayCommand . |
static SplitWayCommand |
SplitWayCommand.splitWay(Way way,
java.util.List<java.util.List<Node>> wayChunks,
java.util.Collection<? extends OsmPrimitive> selection)
Splits the way
way into chunks of wayChunks and replies
the result of this process in an instance of SplitWayCommand . |
static SplitWayCommand |
SplitWayCommand.splitWay(Way way,
java.util.List<java.util.List<Node>> wayChunks,
java.util.Collection<? extends OsmPrimitive> selection,
SplitWayCommand.Strategy splitStrategy)
Splits the way
way into chunks of wayChunks and replies
the result of this process in an instance of SplitWayCommand . |