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.Strategy |
SplitWayCommand.Strategy.keepFirstChunk()
Returns a strategy which selects the first way chunk.
|
static SplitWayCommand.Strategy |
SplitWayCommand.Strategy.keepLongestChunk()
Returns a strategy which selects the way chunk with the highest node count to keep.
|
Modifier and Type | Method and Description |
---|---|
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 . |