Class ChangeNodesCommand

All Implemented Interfaces:
PseudoCommand

Command that changes the nodes list of a way. The same can be done with ChangeCommand, but this is more efficient. (Needed for the duplicate node fixing tool of the validator, when processing large data sets.)
  • Constructor Details

    • ChangeNodesCommand

      public ChangeNodesCommand(Way way, List<Node> newNodes)
      Constructs a new ChangeNodesCommand.
      Parameters:
      way - The way to modify
      newNodes - The new list of nodes for the given way
    • ChangeNodesCommand

      public ChangeNodesCommand(DataSet ds, Way way, List<Node> newNodes)
      Constructs a new ChangeNodesCommand.
      Parameters:
      ds - The target data set. Must not be null
      way - The way to modify
      newNodes - The new list of nodes for the given way
      Since:
      12726
  • Method Details