Uses of Interface
org.openstreetmap.josm.command.SplitWayCommand.Strategy
-
Packages that use SplitWayCommand.Strategy Package Description org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set. -
-
Uses of SplitWayCommand.Strategy in org.openstreetmap.josm.command
Methods in org.openstreetmap.josm.command that return SplitWayCommand.Strategy Modifier and Type Method 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.Methods in org.openstreetmap.josm.command with parameters of type SplitWayCommand.Strategy Modifier and Type Method 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 wayway
into chunks ofwayChunks
and replies the result of this process in an instance ofSplitWayCommand
.static java.util.Optional<SplitWayCommand>
SplitWayCommand. splitWay(Way way, java.util.List<java.util.List<Node>> wayChunks, java.util.Collection<? extends OsmPrimitive> selection, SplitWayCommand.Strategy splitStrategy, SplitWayCommand.WhenRelationOrderUncertain whenRelationOrderUncertain)
Splits the wayway
into chunks ofwayChunks
and replies the result of this process in an instance ofSplitWayCommand
.
-