Uses of Class
org.openstreetmap.josm.data.osm.Node
-
Packages that use Node Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap modes
.org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set.org.openstreetmap.josm.command.conflict Provides commands for handling conflicts.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classesorg.openstreetmap.josm.data.osm.event Provides the classes for OSM dataset events.org.openstreetmap.josm.data.osm.history Provides the classes for OSM primitiveshistory
(edition revisions).org.openstreetmap.josm.data.osm.visitor Provides the classes for performing actions on OSM primitives using Visitor design pattern.org.openstreetmap.josm.data.osm.visitor.paint.relations Provides the classes for painting and cachingMultipolygon
relations.org.openstreetmap.josm.data.validation Provides the classes for JOSM data validation.org.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.org.openstreetmap.josm.data.validation.util Provides utilities classes for JOSM data validation.org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.conflict.pair.nodes Provides the classes for displaying conflicts in ways list of nodes.org.openstreetmap.josm.gui.dialogs Provides three kinds of dialogs: Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI Changeset dialog based on a standalone implementation, dedicated to OSM changesets management Extended dialogs for everything elseorg.openstreetmap.josm.gui.history Provides GUI classes for handling history of OSM objects.org.openstreetmap.josm.gui.layer Provides classes for handling the different kinds of map layers.org.openstreetmap.josm.gui.layer.validation Provides classes for handling validation layer.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.io.remotecontrol.handler Provides the classes for remote control handlers (features exposed to the browser).org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of Node in org.openstreetmap.josm.actions
Fields in org.openstreetmap.josm.actions declared as Node Modifier and Type Field Description private Node
CreateCircleAction.PolarNode. node
private Node
UnGlueAction. selectedNode
Fields in org.openstreetmap.josm.actions with type parameters of type Node Modifier and Type Field Description private Set<Node>
SelectNonBranchingWaySequences. nodes
endpoints of selected waysprivate Set<Node>
SelectNonBranchingWaySequences. outerNodes
outer endpoints of selected waysprivate static Map<Node,EastNorth>
OrthogonalizeAction. rememberMovements
Remember movements, so the user can later undo it for certain nodes(package private) List<Node>
SplitWayAction.SegmentToKeepSelectionDialog. selectedNodes
private Set<Node>
UnGlueAction. selectedNodes
List<Node>
OrthogonalizeAction.WayData. wayNodes
The assigned wayMethods in org.openstreetmap.josm.actions that return Node Modifier and Type Method Description private static Node
UnGlueAction. cloneNode(Node originalNode, List<Command> cmds)
private Node
JoinAreasAction.WayTraverser. getHeadNode()
Walking throughJoinAreasAction.WayInPolygon
segments, head node is the current positionprivate Node
JoinAreasAction.WayTraverser. getPrevNode()
Node just before head node.private static Node[]
AlignInLineAction. nodeFurthestAppart(List<Node> nodes)
Return the two nodes the most distant from the provided list.private static Node[]
AlignInLineAction. nodePairFurthestApart(List<Node> nodes)
Return 2 nodes making up the line along which provided nodes must be aligned.static Node
MergeNodesAction. selectTargetLocationNode(List<Node> candidates)
Select the location of the target node after merge.static Node
MergeNodesAction. selectTargetNode(Collection<Node> candidates)
Find which node to merge into (i.e.Methods in org.openstreetmap.josm.actions that return types with arguments of type Node Modifier and Type Method Description private static List<List<Node>>
JoinAreasAction. buildNodeChunks(Way way, Collection<Node> splitNodes)
Simple chunking version.private List<Node>
UnJoinNodeWayAction. cleanSelectedNodes(List<Way> selectedWays, List<Node> selectedNodes)
Removes irrelevant nodes from user selection.private static List<Node>
AlignInCircleAction. collectNodesAnticlockwise(List<Way> ways)
Assuming all ways can be joined into polygon, create an ordered list of node.private static List<Node>
AlignInCircleAction. collectNodesWithExternReferrers(List<Way> ways)
Collect all nodes with more than one referrer.private static Set<Node>
SimplifyWayAction. getMultiUseNodes(Way w)
Calculate a set of nodes which occurs more than once in the wayList<Node>
JoinAreasAction.AssembledPolygon. getNodes()
private Collection<Node>
CopyCoordinatesAction. getSelectedNodes()
private static List<Node>
CombineWayAction. joinWithMultipolygonCode(Collection<Way> ways)
UseMultipolygon.joinWays(Collection)
to join ways.private static List<Node>
UnGlueAction. modifyWay(Node originalNode, Way w, List<Command> cmds, List<Node> newNodes)
dupe the given node of the given way assume that originalNode is in the way the new node will be put into the parameter newNodes. the add-node command will be put into the parameter cmds. the changed way will be returned and must be put into cmds by the caller!private static List<Node>
CreateCircleAction. orderNodesByTrafficHand(List<Node> nodes)
Order nodes according to left/right hand traffic.private static List<Node>
CreateCircleAction. orderNodesByWay(List<Node> nodes, Way way)
Order nodes according to way direction.private static Set<Node>
DistributeAction. removeNodesWithoutCoordinates(Collection<Node> col)
Remove nodes without known coordinates from a collection.private static List<Node>
AlignInCircleAction. sortByAngle(List<Node> nodes)
protected static List<Node>
CombineWayAction. tryJoin(Collection<Way> ways)
Methods in org.openstreetmap.josm.actions with parameters of type Node Modifier and Type Method Description static void
AlignInCircleAction. addMoveCommandIfNeeded(Node n, PolarCoor coor, List<Command> cmds)
Add aMoveCommand
to move a node to a PolarCoor if there is a significant move.private void
SelectNonBranchingWaySequences. addNodes(Node node)
Add a way endpoint to nodes, outerNodesprivate static Command
AlignInLineAction. alignSingleNode(Node node, List<AlignInLineAction.Line> lines)
Align a single node relative to a set of lines #9081private static Node
UnGlueAction. cloneNode(Node originalNode, List<Command> cmds)
int
JoinNodeWayAction.NodeDistanceToRefNodeComparator. compare(Node first, Node second)
static void
MergeNodesAction. doMergeNodes(OsmDataLayer layer, Collection<Node> nodes, Node targetLocationNode)
Merges the nodes innodes
at the specified node's location.private static Way
SelectNonBranchingWaySequences. findWay(Collection<OsmPrimitive> selection, Node node)
Finds out if the current selection can be extended.protected static List<Command>
MergeNodesAction. fixParentWays(Collection<Node> nodesToDelete, Node targetNode)
Fixes the parent ways referring to one of the nodes.private static double
JoinAreasAction.WayTraverser. getAngle(Node n1, Node n2, Node n3)
Returns oriented angle (N1N2, N1N3) in range [0; 2*Math.PI[private static List<AlignInLineAction.Line>
AlignInLineAction. getInvolvedLines(Node node, List<Way> refWays)
Get lines useful to do alignment of a single nodeCommand
AlignInLineAction.Line. intersectionCommand(Node n, AlignInLineAction.Line other)
Intersection of two line.protected static boolean
SimplifyWayAction. isRequiredNode(Way way, Node node, Set<Node> multipleUseNodes)
Replies true ifnode
is a required node which can't be removed in order to simplify the way.static Command
MergeNodesAction. mergeNodes(Collection<Node> nodes, Node targetLocationNode)
Merges the nodes innodes
at the specified node's location.static Command
MergeNodesAction. mergeNodes(Collection<Node> nodes, Node targetNode, Node targetLocationNode)
Merges the nodes innodes
onto one of the nodes.private static List<Node>
UnGlueAction. modifyWay(Node originalNode, Way w, List<Command> cmds, List<Node> newNodes)
dupe the given node of the given way assume that originalNode is in the way the new node will be put into the parameter newNodes. the add-node command will be put into the parameter cmds. the changed way will be returned and must be put into cmds by the caller!private static Command
OrthogonalizeAction. orthogonalize(List<OrthogonalizeAction.WayData> wayDataList, Node singleNode)
Try to orthogonalize the given ways by moving only a single given nodeCommand
AlignInLineAction.Line. projectionCommand(Node n)
Orthogonal projection of a node N along this line.(package private) static void
UnGlueAction. update(PropertiesMembershipChoiceDialog dialog, Node existingNode, List<Node> newNodes, List<Command> cmds)
private static void
UnGlueAction. updateMemberships(PropertiesMembershipChoiceDialog.ExistingBothNew memberships, Node originalNode, List<Node> newNodes, List<Command> cmds)
put all newNodes into the same relation(s) that originalNode is inprivate static void
UnGlueAction. updateProperties(PropertiesMembershipChoiceDialog.ExistingBothNew tags, Node existingNode, Iterable<Node> newNodes, List<Command> cmds)
void
UploadSelectionAction.UploadHullBuilder. visit(Node n)
Method parameters in org.openstreetmap.josm.actions with type arguments of type Node Modifier and Type Method Description private static Command
AlignInLineAction. alignOnlyNodes(List<Node> nodes)
Align nodes in case 3 or more nodes are selected.private static List<List<Node>>
JoinAreasAction. buildNodeChunks(Way way, Collection<Node> splitNodes)
Simple chunking version.protected static void
SimplifyWayAction. buildSimplifiedNodeList(List<Node> wnew, int from, int to, double threshold, List<Node> simplifiedNodes)
Builds the simplified list of nodes for a way segment given by a lower indexfrom
and an upper indexto
protected static void
CombineWayAction. detectReversedWays(Collection<Way> ways, List<Node> path, List<Way> reversedWays, List<Way> unreversedWays)
private static Collection<Command>
DistributeAction. distributeNodes(Collection<Node> nodes)
Distribute nodes when only nodes are selected.static void
MergeNodesAction. doMergeNodes(OsmDataLayer layer, Collection<Node> nodes, Node targetLocationNode)
Merges the nodes innodes
at the specified node's location.protected static List<Command>
MergeNodesAction. fixParentWays(Collection<Node> nodesToDelete, Node targetNode)
Fixes the parent ways referring to one of the nodes.private static boolean
UnGlueAction. isRelationAffected(Relation r, Set<Node> affectedNodes, Collection<Way> ways)
protected static boolean
SimplifyWayAction. isRequiredNode(Way way, Node node, Set<Node> multipleUseNodes)
Replies true ifnode
is a required node which can't be removed in order to simplify the way.private Way
JoinAreasAction. keepOlder(Way way, Map<Node,Way> oldestWayMap, List<Way> discardedWays)
Create copy of given way using an older id so that we don't create a new way instead of a modified old one.static Command
MergeNodesAction. mergeNodes(Collection<Node> nodes, Node targetLocationNode)
Merges the nodes innodes
at the specified node's location.static Command
MergeNodesAction. mergeNodes(Collection<Node> nodes, Node targetNode, Node targetLocationNode)
Merges the nodes innodes
onto one of the nodes.private static Node[]
AlignInLineAction. nodeFurthestAppart(List<Node> nodes)
Return the two nodes the most distant from the provided list.private static Node[]
AlignInLineAction. nodePairFurthestApart(List<Node> nodes)
Return 2 nodes making up the line along which provided nodes must be aligned.private static List<Node>
CreateCircleAction. orderNodesByTrafficHand(List<Node> nodes)
Order nodes according to left/right hand traffic.private static List<Node>
CreateCircleAction. orderNodesByWay(List<Node> nodes, Way way)
Order nodes according to way direction.private static Set<Node>
DistributeAction. removeNodesWithoutCoordinates(Collection<Node> col)
Remove nodes without known coordinates from a collection.static Node
MergeNodesAction. selectTargetLocationNode(List<Node> candidates)
Select the location of the target node after merge.static Node
MergeNodesAction. selectTargetNode(Collection<Node> candidates)
Find which node to merge into (i.e.private static List<Node>
AlignInCircleAction. sortByAngle(List<Node> nodes)
private List<Way>
JoinAreasAction. splitWayOnNodes(Way way, Set<Node> nodes, Map<Node,Way> oldestWayMap)
This is a method that splits way into smaller parts, using the prepared nodes list as split points.private List<Way>
JoinAreasAction. splitWayOnNodes(Way way, Set<Node> nodes, Map<Node,Way> oldestWayMap)
This is a method that splits way into smaller parts, using the prepared nodes list as split points.(package private) static void
UnGlueAction. update(PropertiesMembershipChoiceDialog dialog, Node existingNode, List<Node> newNodes, List<Command> cmds)
private static void
UnGlueAction. updateMemberships(PropertiesMembershipChoiceDialog.ExistingBothNew memberships, Node originalNode, List<Node> newNodes, List<Command> cmds)
put all newNodes into the same relation(s) that originalNode is inprivate static void
UnGlueAction. updateProperties(PropertiesMembershipChoiceDialog.ExistingBothNew tags, Node existingNode, Iterable<Node> newNodes, List<Command> cmds)
private static boolean
AlignInCircleAction. validateGeometry(List<Node> nodes)
Constructors in org.openstreetmap.josm.actions with parameters of type Node Constructor Description Line(Node first, Node last)
Init a line by 2 nodes.NodeDistanceToRefNodeComparator(Node referenceNode, Node referenceNode2, boolean projectFirst)
PolarNode(EastNorth center, Node n)
Constructor parameters in org.openstreetmap.josm.actions with type arguments of type Node Constructor Description WayData(List<Node> wayNodes)
-
Uses of Node in org.openstreetmap.josm.actions.mapmode
Fields in org.openstreetmap.josm.actions.mapmode declared as Node Modifier and Type Field Description private Node
ImproveWayAccuracyAction. candidateNode
private Node
DrawAction. currentBaseNode
private Node
DrawAction. lastUsedNode
private Node
DrawAction. mouseOnExistingNode
private Node
DeleteAction.DeleteParameters. nearestNode
private Node
DrawAction. previousNode
private Node
ExtrudeAction. selectedNode
private Node
SelectAction.VirtualManager. virtualNode
Fields in org.openstreetmap.josm.actions.mapmode with type parameters of type Node Modifier and Type Field Description private List<Node>
ExtrudeAction. movingNodeList
Collection of nodes that is movedprivate List<Node>
ParallelWays. sortedNodes
Methods in org.openstreetmap.josm.actions.mapmode that return Node Modifier and Type Method Description private static Node
ParallelWays. copyNode(Node source, boolean copyTags)
static Node
ImproveWayAccuracyHelper. findCandidateNode(MapView mv, Way w, Point p)
Returns the nearest node to cursor.private Node
DrawAction. findNodeToContinueFrom(Node selectedNode, Way selectedWay)
Finds a node to continue drawing from.private Node
SelectAction. findNodeToMergeTo(Point p)
Tries to find a node to merge to when in move-merge mode for the current mouse position.Node
DrawAction. getCurrentBaseNode()
Replies the current base node, after having checked it is still usable (see #11105).private Node
ExtrudeAction. getNextNode(int index)
Gets a node from selected way after given index.private Node
ExtrudeAction. getPreviousNode(int index)
Gets a node from selected way before given index.Methods in org.openstreetmap.josm.actions.mapmode with parameters of type Node Modifier and Type Method Description private static void
DrawAction. adjustNode(Collection<Pair<Node,Node>> segs, Node n)
Adjusts the position of a node to lie on a segment (or a segment intersection).private static void
DrawAction. adjustNodeDefault(Collection<Pair<Node,Node>> segs, Node n)
private static void
DrawAction. adjustNodeTwoSegments(Collection<Pair<Node,Node>> segs, Node n)
private void
DrawAction. continueWayFromNode(Way way, Node node)
if one of the ends ofway
is givennode
, then set currentBaseNode = node and previousNode = adjacent node of wayprivate static Node
ParallelWays. copyNode(Node source, boolean copyTags)
private static void
ParallelWays. copyNodeInMap(Map<Node,Node> splitNodeMap, Node node, boolean copyTags)
private Node
DrawAction. findNodeToContinueFrom(Node selectedNode, Way selectedWay)
Finds a node to continue drawing from.private static String
DrawAction. getTitle(boolean newNode, Node n, Collection<OsmPrimitive> newSelection, Map<Way,List<Node>> reuseWays, boolean extendedWay)
static Way
DrawAction. getWayForNode(Node n)
Replies the parent way of a node, if it is the end of exactly one usable way.private static boolean
ExtrudeAction. hasNodeOtherWays(Node node, Way myWay)
This method tests ifnode
has other ways apart from the given one.private void
DrawAction. insertNodeIntoAllNearbySegments(List<WaySegment> wss, Node n, Collection<OsmPrimitive> newSelection, Collection<Command> cmds, Map<Way,List<Node>> reuseWays)
private boolean
DrawAction. isSelfContainedWay(Way selectedWay, Node currentNode, Node targetNode)
Prevent creation of ways that look like this: <----> This happens if users want to draw a no-exit-sideway from the main way like this: ^ |<----> | The solution isn't ideal because the main way will end in the side way, which is bad for navigation software ("drive straight on") but at least easier to fix.void
SelectAction. mergeNodes(OsmDataLayer layer, Collection<Node> nodes, Node targetLocationNode)
Merge nodes usingMergeNodesAction
.private void
DrawAction. tryToMoveNodeOnIntersection(List<WaySegment> wss, Node n)
Method parameters in org.openstreetmap.josm.actions.mapmode with type arguments of type Node Modifier and Type Method Description private static void
DrawAction. adjustNode(Collection<Pair<Node,Node>> segs, Node n)
Adjusts the position of a node to lie on a segment (or a segment intersection).private static void
DrawAction. adjustNode(Collection<Pair<Node,Node>> segs, Node n)
Adjusts the position of a node to lie on a segment (or a segment intersection).private static void
DrawAction. adjustNodeDefault(Collection<Pair<Node,Node>> segs, Node n)
private static void
DrawAction. adjustNodeDefault(Collection<Pair<Node,Node>> segs, Node n)
private static void
DrawAction. adjustNodeTwoSegments(Collection<Pair<Node,Node>> segs, Node n)
private static void
DrawAction. adjustNodeTwoSegments(Collection<Pair<Node,Node>> segs, Node n)
private static void
ParallelWays. copyNodeInMap(Map<Node,Node> splitNodeMap, Node node, boolean copyTags)
private static void
ParallelWays. copyNodeInMap(Map<Node,Node> splitNodeMap, Node node, boolean copyTags)
private static boolean
SelectAction. doesImpactStatusLine(Collection<Node> affectedNodes, Collection<Way> selectedWays)
private static String
DrawAction. getTitle(boolean newNode, Node n, Collection<OsmPrimitive> newSelection, Map<Way,List<Node>> reuseWays, boolean extendedWay)
private void
DrawAction. insertNodeIntoAllNearbySegments(List<WaySegment> wss, Node n, Collection<OsmPrimitive> newSelection, Collection<Command> cmds, Map<Way,List<Node>> reuseWays)
private void
ExtrudeAction. joinNodesIfCollapsed(List<Node> changedNodes)
void
SelectAction. mergeNodes(OsmDataLayer layer, Collection<Node> nodes, Node targetLocationNode)
Merge nodes usingMergeNodesAction
. -
Uses of Node in org.openstreetmap.josm.command
Classes in org.openstreetmap.josm.command with type parameters of type Node Modifier and Type Class Description class
AbstractNodesCommand<C extends Collection<Node>>
Abstracts superclass ofChangeNodesCommand
/RemoveNodesCommand
.Fields in org.openstreetmap.josm.command with type parameters of type Node Modifier and Type Field Description private Collection<Node>
MoveCommand. nodes
The objects that should be moved.protected Collection<Node>
TransformNodesCommand. nodes
The nodes to transform.protected Map<Node,Command.OldNodeState>
TransformNodesCommand. oldStates
List of all old states of the nodes.Methods in org.openstreetmap.josm.command that return types with arguments of type Node Modifier and Type Method Description static List<List<Node>>
SplitWayCommand. buildSplitChunks(Way wayToSplit, List<Node> splitPoints)
Splits the nodes ofwayToSplit
into a list of node sequences which are separated at the nodes insplitPoints
.protected static Collection<Node>
DeleteCommand. computeNodesToDelete(Collection<OsmPrimitive> primitivesToDelete)
Replies the collection of nodes referred to by primitives inprimitivesToDelete
which can be deleted too.Collection<Node>
MoveCommand. getParticipatingPrimitives()
Collection<Node>
TransformNodesCommand. getTransformedNodes()
Get the nodes with the current transformation applied.Methods in org.openstreetmap.josm.command with parameters of type Node Modifier and Type Method Description void
Command.CloneVisitor. visit(Node n)
Method parameters in org.openstreetmap.josm.command with type arguments of type Node Modifier and Type Method Description static List<List<Node>>
SplitWayCommand. buildSplitChunks(Way wayToSplit, List<Node> splitPoints)
Splits the nodes ofwayToSplit
into a list of node sequences which are separated at the nodes insplitPoints
.static List<Way>
SplitWayCommand. createNewWaysFromChunks(Way way, Iterable<List<Node>> wayChunks)
Creates new way objects for the way chunks and transfers the keys from the original way.double
MoveCommand. getDistance(Predicate<Node> predicate)
Computes the move distance for one node matching the specified predicatestatic SplitWayCommand
SplitWayCommand. split(Way way, List<Node> atNodes, Collection<? extends OsmPrimitive> selection)
Splits the wayway
at the nodes inatNodes
and replies the result of this process in an instance ofSplitWayCommand
.static SplitWayCommand
SplitWayCommand. splitWay(Way way, List<List<Node>> wayChunks, 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, List<List<Node>> wayChunks, 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 Optional<SplitWayCommand>
SplitWayCommand. splitWay(Way way, List<List<Node>> wayChunks, 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
.private static SplitWayCommand.RelationInformation
SplitWayCommand. treatAsRestriction(Relation r, RelationMember rm, Relation c, Collection<Way> newWays, Way way, List<Node> changedWayNodes)
Constructors in org.openstreetmap.josm.command with parameters of type Node Constructor Description MoveCommand(Node node, LatLon position)
Constructs a newMoveCommand
to move a node.OldNodeState(Node node)
Constructs a newOldNodeState
for the given node.Constructor parameters in org.openstreetmap.josm.command with type arguments of type Node Constructor Description ChangeNodesCommand(DataSet ds, Way way, List<Node> newNodes)
Constructs a newChangeNodesCommand
.ChangeNodesCommand(Way way, List<Node> newNodes)
Constructs a newChangeNodesCommand
.RemoveNodesCommand(DataSet ds, Way way, Set<Node> rmNodes)
Constructs a newRemoveNodesCommand
.RemoveNodesCommand(Way way, Set<Node> rmNodes)
Constructs a newRemoveNodesCommand
. -
Uses of Node in org.openstreetmap.josm.command.conflict
Fields in org.openstreetmap.josm.command.conflict with type parameters of type Node Modifier and Type Field Description private List<Node>
WayNodesConflictResolverCommand. mergedNodeList
the list of merged nodes.Constructor parameters in org.openstreetmap.josm.command.conflict with type arguments of type Node Constructor Description WayNodesConflictResolverCommand(Conflict<? extends OsmPrimitive> conflict, List<Node> mergedNodeList)
Constructs a newWayNodesConflictResolverCommand
. -
Uses of Node in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm declared as Node Modifier and Type Field Description private Node
NodePair. a
private Node
NodePair. b
private static Node[]
Way. EMPTY_NODES
private Node[]
Way. nodes
All way nodes in this wayFields in org.openstreetmap.josm.data.osm with type parameters of type Node Modifier and Type Field Description List<Node>
MultipolygonBuilder.JoinedPolygon. nodes
the nodes of the polygon, first node is not duplicated as last node.private Map<Node,List<NodePair>>
NodeGraph. predecessors
private QuadBucketPrimitiveStore<Node,Way,Relation>
DataSet. store
private Map<Node,List<NodePair>>
NodeGraph. successors
Methods in org.openstreetmap.josm.data.osm that return Node Modifier and Type Method Description Node
Way. firstNode()
Node
Way. firstNode(boolean respectOneway)
Replies the first node of this way, respecting or not its oneway state.Node
NodePair. getA()
Replies the first node.Node
NodePair. getB()
Replies the second nodeNode
RelationMember. getNode()
Returns the relation member as a node.Node
Way. getNode(int index)
Node
Way. lastNode()
Node
Way. lastNode(boolean respectOneway)
Replies the last node of this way, respecting or not its oneway state.private static Node
OsmUtils. newNode(LatLon around)
Methods in org.openstreetmap.josm.data.osm that return types with arguments of type Node Modifier and Type Method Description protected List<Node>
NodeGraph. buildPathFromNodePairs(Deque<NodePair> path)
List<Node>
NodeGraph. buildSpanningPath()
Tries to find a path through the graph which visits each edge (i.e.protected List<Node>
NodeGraph. buildSpanningPath(Node startNode)
Tries to find a spanning path starting from nodestartNode
.List<Node>
NodeGraph. buildSpanningPathNoRemove()
Tries to find a path through the graph which visits each edge (i.e.List<Node>
Way. calculateRemoveNodes(Set<? extends Node> selection)
Calculate the remaining nodes after a removal of the given set ofnodes
from this way.List<Pair<Double,Node>>
Way. getAngles()
Returns angles of vertices.private Set<Node>
NodeGraph. getMostFrequentVisitedNodesFirst()
Sort the nodes by number of appearances in the edges.Set<Node>
Way. getNeighbours(Node node)
Return nodes adjacent tonode
List<Pair<Node,Node>>
Way. getNodePairs(boolean sort)
Replies the orderedList
of chunks of this way.List<Pair<Node,Node>>
Way. getNodePairs(boolean sort)
Replies the orderedList
of chunks of this way.Collection<Node>
DataSet. getNodes()
List<Node>
MultipolygonBuilder.JoinedPolygon. getNodes()
Builds a list of nodes for this polygon.protected Set<Node>
NodeGraph. getNodes()
List<Node>
Way. getNodes()
protected Set<Node>
NodeGraph. getTerminalNodes()
private static List<Node>
Way. removeDouble(List<Node> nodes)
Prevent directly following identical nodes in ways.List<Node>
DataSet. searchNodes(BBox bbox)
Methods in org.openstreetmap.josm.data.osm with parameters of type Node Modifier and Type Method Description void
Way. addNode(int offs, Node n)
Adds a node at position offs.void
Way. addNode(Node n)
Adds a node to the end of the list of nodes.protected List<Node>
NodeGraph. buildSpanningPath(Node startNode)
Tries to find a spanning path starting from nodestartNode
.int
NodePositionComparator. compare(Node n1, Node n2)
boolean
NodePair. contains(Node n)
Determines if this pair contains the given node.boolean
DataSet. containsNode(Node n)
Determines if the given node can be retrieved in the data set through its bounding box.boolean
Way. containsNode(Node node)
Replies true if this way contains the nodenode
, false otherwise.(package private) void
DataSet. fireNodeMoved(Node node, LatLon newCoor, EastNorth eastNorth)
static WaySegment
WaySegment. forNodePair(Way way, Node first, Node second)
Determines and returns the way segment for the given way and node pair.private List<NodePair>
NodeGraph. getConnectedPairs(Node node)
Set<Node>
Way. getNeighbours(Node node)
Return nodes adjacent tonode
protected List<NodePair>
NodeGraph. getOutboundPairs(Node node)
private boolean
Node. hasEqualCoordinates(Node other)
protected boolean
NodeGraph. isTerminalNode(Node n)
void
Way. removeNode(Node n)
Removes the givenNode
from this way.Set<Way>
DataSet. unlinkNodeFromWays(Node node)
Removes all references from ways in this dataset to a particular node.Method parameters in org.openstreetmap.josm.data.osm with type arguments of type Node Modifier and Type Method Description List<Node>
Way. calculateRemoveNodes(Set<? extends Node> selection)
Calculate the remaining nodes after a removal of the given set ofnodes
from this way.Map<OsmPrimitive,OsmPrimitive>
DataSet. clonePrimitives(Iterable<Node> nodes, Iterable<Way> ways, Iterable<Relation> relations)
Clones the specified primitives into this data set.private static List<Node>
Way. removeDouble(List<Node> nodes)
Prevent directly following identical nodes in ways.void
Way. removeNodes(Set<? extends Node> selection)
Removes the given set ofnodes
from this way.void
Way. setNodes(List<Node> nodes)
Constructors in org.openstreetmap.josm.data.osm with parameters of type Node Constructor Description Node(Node clone)
Constructs an identical clone of the argument (including the id).Node(Node clone, boolean clearMetadata)
Constructs an identical clone of the argument.NodePair(Node a, Node b)
Constructs a newNodePair
.Constructor parameters in org.openstreetmap.josm.data.osm with type arguments of type Node Constructor Description NodePair(Pair<Node,Node> pair)
Constructs a newNodePair
.NodePair(Pair<Node,Node> pair)
Constructs a newNodePair
. -
Uses of Node in org.openstreetmap.josm.data.osm.event
Fields in org.openstreetmap.josm.data.osm.event declared as Node Modifier and Type Field Description private Node
NodeMovedEvent. node
Methods in org.openstreetmap.josm.data.osm.event that return Node Modifier and Type Method Description Node
NodeMovedEvent. getNode()
Returns the node affected by the move.Constructors in org.openstreetmap.josm.data.osm.event with parameters of type Node Constructor Description NodeMovedEvent(DataSet dataSet, Node node)
Constructs a newNodeMovedEvent
. -
Uses of Node in org.openstreetmap.josm.data.osm.history
Constructors in org.openstreetmap.josm.data.osm.history with parameters of type Node Constructor Description HistoryNode(Node n)
Constructs a newHistoryNode
from an existingNode
. -
Uses of Node in org.openstreetmap.josm.data.osm.visitor
Fields in org.openstreetmap.josm.data.osm.visitor with type parameters of type Node Modifier and Type Field Description Collection<Node>
AllNodesVisitor. nodes
The resulting nodes collected so far.Methods in org.openstreetmap.josm.data.osm.visitor that return types with arguments of type Node Modifier and Type Method Description static Collection<Node>
AllNodesVisitor. getAllNodes(Collection<? extends OsmPrimitive> osms)
Replies all nodes contained by the given primitivesMethods in org.openstreetmap.josm.data.osm.visitor with parameters of type Node Modifier and Type Method Description protected void
MergeSourceBuildingVisitor. rememberNode(Node n)
Remembers a node in the "hull"void
AllNodesVisitor. visit(Node n)
Nodes have only itself as nodes.void
BoundingXYVisitor. visit(Node n)
void
MergeSourceBuildingVisitor. visit(Node n)
void
OsmPrimitiveVisitor. visit(Node n)
Visiting call for points. -
Uses of Node in org.openstreetmap.josm.data.osm.visitor.paint.relations
Fields in org.openstreetmap.josm.data.osm.visitor.paint.relations with type parameters of type Node Modifier and Type Field Description protected List<Node>
Multipolygon.JoinedWay. nodes
private List<Node>
Multipolygon. openEnds
Methods in org.openstreetmap.josm.data.osm.visitor.paint.relations that return Node Modifier and Type Method Description Node
Multipolygon.JoinedWay. getFirstNode()
Returns the first node.Node
Multipolygon.JoinedWay. getLastNode()
Returns the last node.Methods in org.openstreetmap.josm.data.osm.visitor.paint.relations that return types with arguments of type Node Modifier and Type Method Description List<Node>
Multipolygon.JoinedWay. getNodes()
Replies the list of nodes.List<Node>
Multipolygon. getOpenEnds()
Returns the start and end node of non-closed rings.Constructor parameters in org.openstreetmap.josm.data.osm.visitor.paint.relations with type arguments of type Node Constructor Description JoinedWay(List<Node> nodes, Collection<Long> wayIds, boolean selected)
Constructs a newJoinedWay
.PolyData(List<Node> nodes, boolean selected, Collection<Long> wayIds)
-
Uses of Node in org.openstreetmap.josm.data.validation
Methods in org.openstreetmap.josm.data.validation that return types with arguments of type Node Modifier and Type Method Description private static List<List<Node>>
TestError. getHiliteNodesForArea(Area area)
Calculate list of node pairs describing the area.Methods in org.openstreetmap.josm.data.validation with parameters of type Node Modifier and Type Method Description void
Test.TagTest. visit(Node n)
void
Test. visit(Node n)
Method parameters in org.openstreetmap.josm.data.validation with type arguments of type Node Modifier and Type Method Description TestError.Builder
TestError.Builder. highlightNodePairs(Collection<List<Node>> highlighted)
Sets the node pairs to highlight when selecting this error.void
ValidatorVisitor. visit(List<Node> nodes)
Visit a list of nodes that are part of the error -
Uses of Node in org.openstreetmap.josm.data.validation.tests
Fields in org.openstreetmap.josm.data.validation.tests declared as Node Modifier and Type Field Description private Node
UnconnectedWays.MyWaySegment. n1
private Node
UnconnectedWays.MyWaySegment. n2
Fields in org.openstreetmap.josm.data.validation.tests with type parameters of type Node Modifier and Type Field Description private Set<Node>
PowerLines. badConnections
private Set<Node>
UnconnectedWays. endnodes
private Set<Node>
UnconnectedWays. middlenodes
private Set<Node>
PowerLines. missingTowerOrPole
private MultiMap<Pair<Node,Node>,WaySegment>
OverlappingWays. nodePairs
Bag of all way segmentsprivate MultiMap<Pair<Node,Node>,WaySegment>
OverlappingWays. nodePairs
Bag of all way segmentsprivate Set<Node>
UnconnectedWays. nodesToTest
private Set<Node>
UnconnectedWays. othernodes
private QuadBuckets<Node>
UnconnectedWays. searchNodes
private Set<Node>
MultipolygonTest.PolygonLevelFinder. sharedNodes
Methods in org.openstreetmap.josm.data.validation.tests that return Node Modifier and Type Method Description private Node
MultipolygonTest.PolygonLevelFinder. getNonIntersectingNode(Multipolygon.PolyData pd1, Multipolygon.PolyData pd2)
Find node of pd2 which is not an intersection node with pd1.Methods in org.openstreetmap.josm.data.validation.tests that return types with arguments of type Node Modifier and Type Method Description protected Map<Node,UnconnectedWays.MyWaySegment>
UnconnectedWays. getHighwayEndNodesNearOtherHighway()
protected Map<Node,UnconnectedWays.MyWaySegment>
UnconnectedWays. getWayEndNodesNearOtherWay()
protected Map<Node,UnconnectedWays.MyWaySegment>
UnconnectedWays. getWayNodesNearOtherWay()
(package private) Collection<Node>
UnconnectedWays.MyWaySegment. nearbyNodes(double dist)
We know that any point near the line segment must be at least as close as the other end of the line, plus a little fudge for the distance away (dist)Methods in org.openstreetmap.josm.data.validation.tests with parameters of type Node Modifier and Type Method Description private void
Coastlines. addError(int errCode, Way w, Collection<Way> otherWays, Node n)
Add error if not already doneprivate void
UnconnectedWays. addIfNewOrCloser(Map<Node,UnconnectedWays.MyWaySegment> map, Node node, UnconnectedWays.MyWaySegment ws)
private void
UnconnectedWays. addNode(Node n, Set<Node> s)
private void
WayConnectedToArea. addPossibleError(Way w, Node wayNode, OsmPrimitive p, OsmPrimitive area)
private EastNorth
UnconnectedWays.MyWaySegment. calcClosest(Node n)
private void
SharpAngles. checkAngle(Node node1, Node node2, Node node3, int i, Way way, boolean last)
private static boolean
MultipolygonTest. checkIfNodeIsInsidePolygon(Node n, Multipolygon.PolyData p)
Check if a node is inside the polygon according to the insideness rules of Shape.private void
Coastlines. checkIfReversed(Way w, Way other, Node n1)
Check if a reversed way would fit, if yes, add fixable "reversed" error, "unordered" elseprivate void
DirectionNodes. checkParents(Node n, String tag)
(package private) double
UnconnectedWays.MyWaySegment. getDist(Node n)
protected Way
UnconnectedWays. getWantedParentWay(Node endnode)
An unconnected node might have multiple parent ways, e.g.private void
Highways. handleCarWay(Node n, Way w)
private void
Highways. handleCyclistWay(Node n, Way w)
private void
Highways. handlePedestrianWay(Node n, Way w)
protected boolean
UnconnectedWays. ignoreUnconnectedEndNode(Node n)
Check if unconnected end node should be ignored.protected boolean
UnconnectedWays.UnconnectedHighways. ignoreUnconnectedEndNode(Node n)
protected boolean
UnconnectedWays.UnconnectedPower. ignoreUnconnectedEndNode(Node n)
protected boolean
UnconnectedWays.UnconnectedRailways. ignoreUnconnectedEndNode(Node n)
(package private) boolean
UnconnectedWays.MyWaySegment. isConnectedTo(Node startNode)
Check if the given node is connected to this segment using a reasonable short way.private boolean
UnconnectedWays.MyWaySegment. isConnectedTo(Node node, LinkedHashSet<Node> visited, double len, Way parent)
Check if the given node is connected to this segment using a reasonable short way.protected boolean
PowerLines. isInPowerStation(Node n)
protected static boolean
PowerLines. isPowerAllowed(Node n)
Determines if the specified node denotes a power infrastructure allowed on a power line.protected static boolean
PowerLines. isPowerTower(Node n)
Determines if the specified node denotes a power tower/pole.private boolean
UnconnectedWays.MyWaySegment. nearby(Node n, double dist)
private boolean
UnconnectedWays.MyWaySegment. obstacleBetween(Node endnode)
private void
SharpAngles. processSharpAngleForErrorCreation(double angle, int i, Way way, boolean last, Node pointNode)
private void
WayConnectedToArea. testForError(Way w, Node wayNode, OsmPrimitive p)
private void
Highways. testMissingPedestrianCrossing(Node n)
void
Addresses. visit(Node n)
void
BarriersEntrances. visit(Node n)
void
DirectionNodes. visit(Node n)
void
DuplicateNode. visit(Node n)
void
Highways. visit(Node n)
void
LongSegment. visit(Node n)
void
PowerLines. visit(Node n)
void
UnconnectedWays. visit(Node n)
void
UntaggedNode. visit(Node n)
Method parameters in org.openstreetmap.josm.data.validation.tests with type arguments of type Node Modifier and Type Method Description protected void
UnconnectedWays. addErrors(Severity severity, Map<Node,UnconnectedWays.MyWaySegment> errorMap, String message)
private void
UnconnectedWays. addIfNewOrCloser(Map<Node,UnconnectedWays.MyWaySegment> map, Node node, UnconnectedWays.MyWaySegment ws)
private void
UnconnectedWays. addNode(Node n, Set<Node> s)
List<TestError>
DuplicateNode. buildTestErrors(Test parentTest, List<Node> nodes)
Returns the list of "duplicate nodes" errors for the given selection of node and parent testprivate void
MultipolygonTest. checkOrSetRoles(Relation r, List<Multipolygon.PolyData> allPolygons, Map<Long,RelationMember> wayMap, Set<Node> sharedNodes)
Calculate the nesting levels of the polygon rings and check if calculated role matchesprivate static MultipolygonTest.ExtPolygonIntersection
MultipolygonTest. checkOverlapAtSharedNodes(Set<Node> shared, Multipolygon.PolyData pd1, Multipolygon.PolyData pd2)
private void
MultipolygonTest. checkPolygonsForSharedNodes(Relation r, Multipolygon.PolyData pd1, Multipolygon.PolyData pd2, Set<Node> allSharedNodes)
private void
UnconnectedWays. fillSearchNodes(Collection<Node> nodes)
private static void
MultipolygonTest. findIntersectionNodes(Relation r, Set<Node> sharedNodes, Set<Way> intersectionWays)
Detect intersections of multipolygon ways at nodes.private boolean
UnconnectedWays.MyWaySegment. isConnectedTo(Node node, LinkedHashSet<Node> visited, double len, Way parent)
Check if the given node is connected to this segment using a reasonable short way.Constructors in org.openstreetmap.josm.data.validation.tests with parameters of type Node Constructor Description MyWaySegment(Way w, Node n1, Node n2, boolean concersArea)
Constructor parameters in org.openstreetmap.josm.data.validation.tests with type arguments of type Node Constructor Description PolygonLevelFinder(Set<Node> sharedNodes)
-
Uses of Node in org.openstreetmap.josm.data.validation.util
Methods in org.openstreetmap.josm.data.validation.util with parameters of type Node Modifier and Type Method Description static List<Point2D>
ValUtil. getSegmentCells(Node n1, Node n2, double gridDetail)
Returns the coordinates of all cells in a grid that a line between 2 nodes intersects with.void
AggregatePrimitivesVisitor. visit(Node n)
void
NameVisitor. visit(Node n)
If the node has a name-key or id-key, this is displayed. -
Uses of Node in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui that return Node Modifier and Type Method Description Node
NavigatableComponent. getNearestNode(Point p, Predicate<OsmPrimitive> predicate)
Convenience method toNavigatableComponent.getNearestNode(Point, Predicate, boolean)
.Node
NavigatableComponent. getNearestNode(Point p, Predicate<OsmPrimitive> predicate, boolean useSelected)
The *result* depends on the current map selection state IF use_selected is true.Node
NavigatableComponent. getNearestNode(Point p, Predicate<OsmPrimitive> predicate, boolean useSelected, Collection<OsmPrimitive> preferredRefs)
The *result* depends on the current map selection state IF use_selected is true If more than one node within node.snap-distance pixels is found, the nearest node selected is returned IF use_selected is true.Methods in org.openstreetmap.josm.gui that return types with arguments of type Node Modifier and Type Method Description List<Node>
NavigatableComponent. getNearestNodes(Point p, Collection<Node> ignore, Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state, neither does the result *order*.List<Node>
NavigatableComponent. getNearestNodes(Point p, Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state, neither does the result *order*.private Map<Double,List<Node>>
NavigatableComponent. getNearestNodesImpl(Point p, Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state, neither does the result *order*.Methods in org.openstreetmap.josm.gui with parameters of type Node Modifier and Type Method Description Point
NavigatableComponent. getPoint(Node n)
looses precision, may overflow (depends on p and current scale)Point2D
NavigatableComponent. getPoint2D(Node n)
Return the point on the screen where this Node would be.MapViewState.MapViewPoint
MapViewState. getPointFor(Node node)
Gets theMapViewState.MapViewPoint
for the given node.private boolean
NavigatableComponent. isPrecedenceNode(Node osm, Point p, boolean useSelected)
This is used as a helper routine toNavigatableComponent.getNearestNodeOrWay(Point, Predicate, boolean)
It decides, whether to yield the node to be tested or look for further (way) candidates.Method parameters in org.openstreetmap.josm.gui with type arguments of type Node Modifier and Type Method Description List<Node>
NavigatableComponent. getNearestNodes(Point p, Collection<Node> ignore, Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state, neither does the result *order*. -
Uses of Node in org.openstreetmap.josm.gui.conflict.pair.nodes
Methods in org.openstreetmap.josm.gui.conflict.pair.nodes that return Node Modifier and Type Method Description protected Node
NodeListMergeModel. cloneEntryForMergedList(Node entry)
Methods in org.openstreetmap.josm.gui.conflict.pair.nodes with parameters of type Node Modifier and Type Method Description protected Node
NodeListMergeModel. cloneEntryForMergedList(Node entry)
boolean
NodeListMergeModel. isEqualEntry(Node e1, Node e2)
protected void
NodeListTableCellRenderer. renderNode(AbstractListMergeModel.EntriesTableModel model, Node node, int row, boolean isSelected)
render a nodeConstructor parameters in org.openstreetmap.josm.gui.conflict.pair.nodes with type arguments of type Node Constructor Description NodeListTable(String name, AbstractListMergeModel<Node,WayNodesConflictResolverCommand> model, OsmPrimitivesTableModel dm, ListSelectionModel sm)
Constructs a newNodeListTable
. -
Uses of Node in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type Node Modifier and Type Method Description void
ConflictDialog.ConflictPainter. visit(Node n)
private void
ConflictDialog.ConflictPainter. visit(Node n1, Node n2)
Method parameters in org.openstreetmap.josm.gui.dialogs with type arguments of type Node Modifier and Type Method Description private static boolean
PropertiesMembershipChoiceDialog. isTagged(Collection<Node> existingNodes)
private static boolean
PropertiesMembershipChoiceDialog. isUsedInRelations(Collection<Node> existingNodes)
static PropertiesMembershipChoiceDialog
PropertiesMembershipChoiceDialog. showIfNecessary(Collection<Node> selectedNodes, boolean preselectNew)
Creates and shows a newPropertiesMembershipChoiceDialog
if necessary.void
ValidatorDialog.ValidatorBoundingXYVisitor. visit(List<Node> nodes)
-
Uses of Node in org.openstreetmap.josm.gui.history
Methods in org.openstreetmap.josm.gui.history with parameters of type Node Modifier and Type Method Description void
HistoryBrowserModel.HistoryPrimitiveBuilder. visit(Node n)
-
Uses of Node in org.openstreetmap.josm.gui.layer
Methods in org.openstreetmap.josm.gui.layer with parameters of type Node Modifier and Type Method Description static WayPoint
OsmDataLayer. nodeToWayPoint(Node n, long time)
Converts a node to a waypoint with defaultGpxConstants.GPX_PREFIX
for tags.static WayPoint
OsmDataLayer. nodeToWayPoint(Node n, long time, String gpxPrefix)
Converts a node to a waypoint with a configurable GPX prefix for tags.void
OsmDataLayer.DataCountVisitor. visit(Node n)
Method parameters in org.openstreetmap.josm.gui.layer with type arguments of type Node Modifier and Type Method Description private static void
OsmDataLayer. nodesToGpxData(Collection<Node> nodes, GpxData gpxData, Set<Node> doneNodes, String gpxPrefix)
private static void
OsmDataLayer. nodesToGpxData(Collection<Node> nodes, GpxData gpxData, Set<Node> doneNodes, String gpxPrefix)
private static void
OsmDataLayer. waysToGpxData(Collection<Way> ways, GpxData gpxData, Set<Node> doneNodes, String gpxPrefix)
-
Uses of Node in org.openstreetmap.josm.gui.layer.validation
Methods in org.openstreetmap.josm.gui.layer.validation with parameters of type Node Modifier and Type Method Description protected void
PaintVisitor. drawNode(Node n, Color color)
Draws a circle around the nodeprotected void
PaintVisitor. drawSegment(Node n1, Node n2, Color color)
Draws a line around the segmentprotected boolean
PaintVisitor. isNodeVisible(Node n)
Checks if the given node is in the visible area.protected boolean
PaintVisitor. isSegmentVisible(Node n1, Node n2)
Checks if the given segment is in the visible area.void
PaintVisitor. visit(Node n)
Draw a small rectangle.Method parameters in org.openstreetmap.josm.gui.layer.validation with type arguments of type Node Modifier and Type Method Description void
PaintVisitor. visit(List<Node> nodes)
-
Uses of Node in org.openstreetmap.josm.io
Methods in org.openstreetmap.josm.io that return Node Modifier and Type Method Description private Node
AbstractReader. addNode(NodeData nd, AbstractReader.NodeReader nodeReader)
private Node
GeoJSONReader. createNode(LatLon latlon)
protected Node
AbstractReader. parseNode(double lat, double lon, AbstractReader.CommonReader commonReader, AbstractReader.NodeReader nodeReader)
protected Node
AbstractReader. parseNode(String lat, String lon, AbstractReader.CommonReader commonReader, AbstractReader.NodeReader nodeReader)
protected Node
OsmReader. parseNode()
Methods in org.openstreetmap.josm.io with parameters of type Node Modifier and Type Method Description MultiFetchServerObjectReader
MultiFetchServerObjectReader. appendNode(Node node)
appends aNode
id to the list of ids which will be fetched from the server.void
GeoJSONWriter.GeometryPrimitiveVisitor. visit(Node n)
Method parameters in org.openstreetmap.josm.io with type arguments of type Node Modifier and Type Method Description private javax.json.JsonArrayBuilder
GeoJSONWriter.GeometryPrimitiveVisitor. getCoorsArray(Iterable<Node> nodes)
void
OsmWriter. writeNodes(Collection<Node> nodes)
Writes the given nodes sorted by id -
Uses of Node in org.openstreetmap.josm.io.remotecontrol.handler
Fields in org.openstreetmap.josm.io.remotecontrol.handler with type parameters of type Node Modifier and Type Field Description private Map<LatLon,Node>
AddWayHandler. addedNodes
The place to remember already added nodes (they are reused if needed @since 5845Methods in org.openstreetmap.josm.io.remotecontrol.handler that return Node Modifier and Type Method Description (package private) Node
AddWayHandler. findOrCreateNode(LatLon ll, List<Command> commands)
Find the node with almost the same coords in dataset or in already added nodes -
Uses of Node in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools that return types with arguments of type Node Modifier and Type Method Description static Set<Node>
Geometry. addIntersections(List<Way> ways, boolean test, List<Command> cmds)
Will find all intersection and add nodes there for list of given ways.Methods in org.openstreetmap.josm.tools with parameters of type Node Modifier and Type Method Description static double
Geometry. getDistanceSegmentSegment(Node ws1Node1, Node ws1Node2, Node ws2Node1, Node ws2Node2)
Get the distance between differentWaySegment
sstatic double
Geometry. getDistanceWayNode(Way way, Node node)
Get the distance between a way and a node
-