Uses of Class
org.openstreetmap.josm.command.SplitWayCommand
-
Packages that use SplitWayCommand Package Description org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set. -
-
Uses of SplitWayCommand in org.openstreetmap.josm.command
Methods in org.openstreetmap.josm.command that return SplitWayCommand Modifier and Type Method Description static SplitWayCommand
SplitWayCommand. split(Way way, java.util.List<Node> atNodes, java.util.Collection<? extends OsmPrimitive> selection)
Splits the wayway
at the nodes inatNodes
and replies the result of this process in an instance ofSplitWayCommand
.(package private) static SplitWayCommand
SplitWayCommand. splitBasedOnAnalyses(Way way, java.util.List<Way> newWays, java.util.List<OsmPrimitive> newSelection, SplitWayCommand.Analysis analysis, int indexOfWayToKeep)
static SplitWayCommand
SplitWayCommand. splitWay(Way way, java.util.List<java.util.List<Node>> wayChunks, java.util.Collection<? extends OsmPrimitive> selection)
Splits the wayway
into chunks ofwayChunks
and replies the result of this process in an instance ofSplitWayCommand
.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
.Methods in org.openstreetmap.josm.command that return types with arguments of type SplitWayCommand Modifier and Type Method Description static java.util.Optional<SplitWayCommand>
SplitWayCommand. doSplitWay(Way way, Way wayToKeep, java.util.List<Way> newWays, java.util.List<OsmPrimitive> newSelection, SplitWayCommand.WhenRelationOrderUncertain whenRelationOrderUncertain)
Effectively constructs theSplitWayCommand
.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
.
-