Package | Description |
---|---|
org.openstreetmap.josm.actions |
Provides the classes for JOSM user actions.
|
org.openstreetmap.josm.actions.mapmode |
Provides the classes for JOSM
map 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.gpx |
Provides the classes for JOSM
GPX data (points, tracks, routes). |
org.openstreetmap.josm.data.osm |
Provides the classes for OSM data:
Primitives :
Node ,
Way ,
Relation
Users
Tags
Changesets
Utilities classes
|
org.openstreetmap.josm.data.osm.event |
Provides the classes for OSM dataset events.
|
org.openstreetmap.josm.data.osm.history |
Provides the classes for OSM primitives
history (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 caching
Multipolygon 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 else
|
org.openstreetmap.josm.gui.dialogs.relation.sort |
Provides the classes for sorting relations.
|
org.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.
|
Modifier and Type | Field and Description |
---|---|
private Node |
CreateCircleAction.PolarNode.node |
private Node |
UnGlueAction.selectedNode |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Node> |
SelectNonBranchingWaySequences.nodes
endpoints of selected ways
|
private java.util.Set<Node> |
SelectNonBranchingWaySequences.outerNodes
outer endpoints of selected ways
|
private static java.util.Map<Node,EastNorth> |
OrthogonalizeAction.rememberMovements
Remember movements, so the user can later undo it for certain nodes
|
private java.util.Set<Node> |
UnGlueAction.selectedNodes |
java.util.List<Node> |
OrthogonalizeAction.WayData.wayNodes
The assigned way
|
Modifier and Type | Method and Description |
---|---|
private Node |
JoinAreasAction.WayTraverser.getHeadNode()
Walking through
JoinAreasAction.WayInPolygon segments, head node is the current position |
private Node |
JoinAreasAction.WayTraverser.getPrevNode()
Node just before head node.
|
private static Node[] |
AlignInLineAction.nodeFurthestAppart(java.util.List<Node> nodes)
Return the two nodes the most distant from the provided list.
|
private static Node[] |
AlignInLineAction.nodePairFurthestApart(java.util.List<Node> nodes)
Return 2 nodes making up the line along which provided nodes must be aligned.
|
static Node |
MergeNodesAction.selectTargetLocationNode(java.util.List<Node> candidates)
Select the location of the target node after merge.
|
static Node |
MergeNodesAction.selectTargetNode(java.util.Collection<Node> candidates)
Find which node to merge into (i.e.
|
Modifier and Type | Method and Description |
---|---|
private static java.util.List<java.util.List<Node>> |
JoinAreasAction.buildNodeChunks(Way way,
java.util.Collection<Node> splitNodes)
Simple chunking version.
|
private java.util.List<Node> |
UnJoinNodeWayAction.cleanSelectedNodes(java.util.List<Way> selectedWays,
java.util.List<Node> selectedNodes)
Removes irrelevant nodes from user selection.
|
private static java.util.List<Node> |
AlignInCircleAction.collectNodesAnticlockwise(java.util.List<Way> ways)
Assuming all ways can be joined into polygon, create an ordered list of node.
|
private static java.util.List<Node> |
AlignInCircleAction.collectNodesWithExternReferers(java.util.List<Way> ways)
Collect all nodes with more than one referrer.
|
private static java.util.Set<Node> |
SimplifyWayAction.getMultiUseNodes(Way w)
Calculate a set of nodes which occurs more than once in the way
|
java.util.List<Node> |
JoinAreasAction.AssembledPolygon.getNodes() |
private java.util.Collection<Node> |
CopyCoordinatesAction.getSelectedNodes() |
private static java.util.List<Node> |
CreateCircleAction.orderNodesByTrafficHand(java.util.List<Node> nodes)
Order nodes according to left/right hand traffic.
|
private static java.util.List<Node> |
CreateCircleAction.orderNodesByWay(java.util.List<Node> nodes,
Way way)
Order nodes according to way direction.
|
private static java.util.Set<Node> |
DistributeAction.removeNodesWithoutCoordinates(java.util.Collection<Node> col)
Remove nodes without knowned coordinates from a collection.
|
Modifier and Type | Method and Description |
---|---|
private void |
SelectNonBranchingWaySequences.addNodes(Node node)
Add a way endpoint to nodes, outerNodes
|
private static Command |
AlignInLineAction.alignSingleNode(Node node,
java.util.List<AlignInLineAction.Line> lines)
Align a single node relative to a set of lines #9081
|
int |
JoinNodeWayAction.NodeDistanceToRefNodeComparator.compare(Node first,
Node second) |
static MoveCommand |
AlignInCircleAction.createMoveCommand(Node n,
PolarCoor coor)
Create a
MoveCommand to move a node to a PolarCoor. |
static void |
MergeNodesAction.doMergeNodes(OsmDataLayer layer,
java.util.Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
private static Way |
SelectNonBranchingWaySequences.findWay(java.util.Collection<OsmPrimitive> selection,
Node node)
Finds out if the current selection can be extended.
|
protected static java.util.List<Command> |
MergeNodesAction.fixParentWays(java.util.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 java.util.List<AlignInLineAction.Line> |
AlignInLineAction.getInvolvedLines(Node node,
java.util.List<Way> refWays)
Get lines useful to do alignment of a single node
|
Command |
AlignInLineAction.Line.intersectionCommand(Node n,
AlignInLineAction.Line other)
Intersection of two line.
|
protected static boolean |
SimplifyWayAction.isRequiredNode(Way way,
Node node,
java.util.Set<Node> multipleUseNodes)
Replies true if
node is a required node which can't be removed
in order to simplify the way. |
static Command |
MergeNodesAction.mergeNodes(java.util.Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
static Command |
MergeNodesAction.mergeNodes(java.util.Collection<Node> nodes,
Node targetNode,
Node targetLocationNode)
Merges the nodes in
nodes onto one of the nodes. |
private static Way |
UnGlueAction.modifyWay(Node originalNode,
Way w,
java.util.List<Command> cmds,
java.util.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(java.util.List<OrthogonalizeAction.WayData> wayDataList,
Node singleNode)
Try to orthogonalize the given ways by moving only a single given node
|
Command |
AlignInLineAction.Line.projectionCommand(Node n)
Orthogonal projection of a node N along this line.
|
(package private) static void |
UnGlueAction.update(PropertiesMembershipChoiceDialog dialog,
Node existingNode,
java.util.List<Node> newNodes,
java.util.Collection<Command> cmds) |
private static void |
UnGlueAction.updateMemberships(PropertiesMembershipChoiceDialog.ExistingBothNew memberships,
Node originalNode,
java.util.List<Node> newNodes,
java.util.Collection<Command> cmds)
put all newNodes into the same relation(s) that originalNode is in
|
private static void |
UnGlueAction.updateProperties(PropertiesMembershipChoiceDialog.ExistingBothNew tags,
Node existingNode,
java.lang.Iterable<Node> newNodes,
java.util.Collection<Command> cmds) |
void |
UploadSelectionAction.UploadHullBuilder.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
AlignInCircleAction.actionAllowed(java.util.Collection<Node> nodes)
Check if one or more nodes are outside of download area
|
private static Command |
AlignInLineAction.alignOnlyNodes(java.util.List<Node> nodes)
Align nodes in case 3 or more nodes are selected.
|
private static java.util.List<java.util.List<Node>> |
JoinAreasAction.buildNodeChunks(Way way,
java.util.Collection<Node> splitNodes)
Simple chunking version.
|
protected static void |
SimplifyWayAction.buildSimplifiedNodeList(java.util.List<Node> wnew,
int from,
int to,
double threshold,
java.util.List<Node> simplifiedNodes)
Builds the simplified list of nodes for a way segment given by a lower index
from
and an upper index to |
protected static void |
SimplifyWayAction.buildSimplifiedNodeList(java.util.List<Node> wnew,
int from,
int to,
double threshold,
java.util.List<Node> simplifiedNodes)
Builds the simplified list of nodes for a way segment given by a lower index
from
and an upper index to |
private static java.lang.Boolean |
DistributeAction.checkDistributeNodes(java.util.Collection<Way> ways,
java.util.Collection<Node> nodes)
Test if nodes oriented algorithm applies to the selection.
|
private static boolean |
DistributeAction.checkDistributeWay(java.util.Collection<Way> ways,
java.util.Collection<Node> nodes)
Test if one way, no self-crossing, is selected with at most two of its nodes.
|
private java.util.List<Node> |
UnJoinNodeWayAction.cleanSelectedNodes(java.util.List<Way> selectedWays,
java.util.List<Node> selectedNodes)
Removes irrelevant nodes from user selection.
|
private static java.util.Collection<Command> |
DistributeAction.distributeNodes(java.util.Collection<Node> nodes)
Distribute nodes when only nodes are selected.
|
private static java.util.Collection<Command> |
DistributeAction.distributeWay(java.util.Collection<Way> ways,
java.util.Collection<Node> nodes)
Distribute nodes contained by a way, keeping nodes order.
|
static void |
MergeNodesAction.doMergeNodes(OsmDataLayer layer,
java.util.Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
private void |
UnGlueAction.execCommands(java.util.List<Command> cmds,
java.util.List<Node> newNodes)
Add commands to undo-redo system.
|
protected static java.util.List<Command> |
MergeNodesAction.fixParentWays(java.util.Collection<Node> nodesToDelete,
Node targetNode)
Fixes the parent ways referring to one of the nodes.
|
(package private) static java.util.List<Way> |
SplitWayAction.getApplicableWays(java.util.List<Way> selectedWays,
java.util.List<Node> selectedNodes)
Determine which ways to split.
|
(package private) static java.util.List<Way> |
UnJoinNodeWayAction.getApplicableWays(java.util.List<Way> selectedWays,
java.util.List<Node> selectedNodes)
Find ways to which the disconnect can be applied.
|
protected static boolean |
SimplifyWayAction.isRequiredNode(Way way,
Node node,
java.util.Set<Node> multipleUseNodes)
Replies true if
node is a required node which can't be removed
in order to simplify the way. |
static Command |
MergeNodesAction.mergeNodes(java.util.Collection<Node> nodes,
Node targetLocationNode)
Merges the nodes in
nodes at the specified node's location. |
static Command |
MergeNodesAction.mergeNodes(java.util.Collection<Node> nodes,
Node targetNode,
Node targetLocationNode)
Merges the nodes in
nodes onto one of the nodes. |
private static Way |
UnGlueAction.modifyWay(Node originalNode,
Way w,
java.util.List<Command> cmds,
java.util.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 Node[] |
AlignInLineAction.nodeFurthestAppart(java.util.List<Node> nodes)
Return the two nodes the most distant from the provided list.
|
private static Node[] |
AlignInLineAction.nodePairFurthestApart(java.util.List<Node> nodes)
Return 2 nodes making up the line along which provided nodes must be aligned.
|
private static java.util.List<Node> |
CreateCircleAction.orderNodesByTrafficHand(java.util.List<Node> nodes)
Order nodes according to left/right hand traffic.
|
private static java.util.List<Node> |
CreateCircleAction.orderNodesByWay(java.util.List<Node> nodes,
Way way)
Order nodes according to way direction.
|
private static java.util.Collection<Command> |
OrthogonalizeAction.orthogonalize(java.util.List<OrthogonalizeAction.WayData> wayDataList,
java.util.List<Node> headingNodes)
Outline:
1.
|
private static java.util.Set<Node> |
DistributeAction.removeNodesWithoutCoordinates(java.util.Collection<Node> col)
Remove nodes without knowned coordinates from a collection.
|
static Node |
MergeNodesAction.selectTargetLocationNode(java.util.List<Node> candidates)
Select the location of the target node after merge.
|
static Node |
MergeNodesAction.selectTargetNode(java.util.Collection<Node> candidates)
Find which node to merge into (i.e.
|
private java.util.List<Way> |
JoinAreasAction.splitWayOnNodes(Way way,
java.util.Set<Node> nodes)
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,
java.util.List<Node> newNodes,
java.util.Collection<Command> cmds) |
private static void |
UnGlueAction.updateMemberships(PropertiesMembershipChoiceDialog.ExistingBothNew memberships,
Node originalNode,
java.util.List<Node> newNodes,
java.util.Collection<Command> cmds)
put all newNodes into the same relation(s) that originalNode is in
|
private static void |
UnGlueAction.updateProperties(PropertiesMembershipChoiceDialog.ExistingBothNew tags,
Node existingNode,
java.lang.Iterable<Node> newNodes,
java.util.Collection<Command> cmds) |
Constructor and 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 and Description |
---|
WayData(java.util.List<Node> wayNodes) |
Modifier and Type | Field and 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 |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Node> |
ExtrudeAction.movingNodeList
Collection of nodes that is moved
|
private java.util.List<Node> |
ParallelWays.sortedNodes |
Modifier and Type | Method and Description |
---|---|
private static Node |
ParallelWays.copyNode(Node source,
boolean copyTags) |
static Node |
ImproveWayAccuracyHelper.findCandidateNode(MapView mv,
Way w,
java.awt.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(java.awt.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.
|
Modifier and Type | Method and Description |
---|---|
private static void |
DrawAction.adjustNode(java.util.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(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
private static void |
DrawAction.adjustNodeTwoSegments(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
private void |
DrawAction.continueWayFromNode(Way way,
Node node)
if one of the ends of
way is given node ,
then set currentBaseNode = node and previousNode = adjacent node of way |
private static Node |
ParallelWays.copyNode(Node source,
boolean copyTags) |
private static void |
ParallelWays.copyNodeInMap(java.util.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 java.lang.String |
DrawAction.getTitle(boolean newNode,
Node n,
java.util.Collection<OsmPrimitive> newSelection,
java.util.List<Way> 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 if
node has other ways apart from the given one. |
private void |
DrawAction.insertNodeIntoAllNearbySegments(java.util.List<WaySegment> wss,
Node n,
java.util.Collection<OsmPrimitive> newSelection,
java.util.Collection<Command> cmds,
java.util.List<Way> replacedWays,
java.util.List<Way> 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,
java.util.Collection<Node> nodes,
Node targetLocationNode)
Merge nodes using
MergeNodesAction . |
private void |
DrawAction.tryToMoveNodeOnIntersection(java.util.List<WaySegment> wss,
Node n) |
Modifier and Type | Method and Description |
---|---|
private static void |
DrawAction.adjustNode(java.util.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(java.util.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(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
private static void |
DrawAction.adjustNodeDefault(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
private static void |
DrawAction.adjustNodeTwoSegments(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
private static void |
DrawAction.adjustNodeTwoSegments(java.util.Collection<Pair<Node,Node>> segs,
Node n) |
private static void |
ParallelWays.copyNodeInMap(java.util.Map<Node,Node> splitNodeMap,
Node node,
boolean copyTags) |
private static void |
ParallelWays.copyNodeInMap(java.util.Map<Node,Node> splitNodeMap,
Node node,
boolean copyTags) |
private static boolean |
SelectAction.doesImpactStatusLine(java.util.Collection<Node> affectedNodes,
java.util.Collection<Way> selectedWays) |
private void |
ExtrudeAction.joinNodesIfCollapsed(java.util.List<Node> changedNodes) |
void |
SelectAction.mergeNodes(OsmDataLayer layer,
java.util.Collection<Node> nodes,
Node targetLocationNode)
Merge nodes using
MergeNodesAction . |
Modifier and Type | Class and Description |
---|---|
class |
AbstractNodesCommand<C extends java.util.Collection<Node>>
Abstracts superclass of
ChangeNodesCommand / RemoveNodesCommand . |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<Node> |
TransformNodesCommand.nodes
The nodes to transform.
|
private java.util.Collection<Node> |
MoveCommand.nodes
The objects that should be moved.
|
protected java.util.Map<Node,Command.OldNodeState> |
TransformNodesCommand.oldStates
List of all old states of the nodes.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.util.List<Node>> |
SplitWayCommand.buildSplitChunks(Way wayToSplit,
java.util.List<Node> splitPoints)
Splits the nodes of
wayToSplit into a list of node sequences
which are separated at the nodes in splitPoints . |
protected static java.util.Collection<Node> |
DeleteCommand.computeNodesToDelete(java.util.Collection<OsmPrimitive> primitivesToDelete)
Replies the collection of nodes referred to by primitives in
primitivesToDelete which
can be deleted too. |
java.util.Collection<Node> |
MoveCommand.getParticipatingPrimitives() |
java.util.Collection<Node> |
TransformNodesCommand.getTransformedNodes()
Get the nodes with the current transformation applied.
|
Modifier and Type | Method and Description |
---|---|
void |
Command.CloneVisitor.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.util.List<Node>> |
SplitWayCommand.buildSplitChunks(Way wayToSplit,
java.util.List<Node> splitPoints)
Splits the nodes of
wayToSplit into a list of node sequences
which are separated at the nodes in splitPoints . |
static java.util.List<Way> |
SplitWayCommand.createNewWaysFromChunks(Way way,
java.lang.Iterable<java.util.List<Node>> wayChunks)
Creates new way objects for the way chunks and transfers the keys from the original way.
|
static SplitWayCommand |
SplitWayCommand.split(Way way,
java.util.List<Node> atNodes,
java.util.Collection<? extends OsmPrimitive> selection)
Splits the way
way at the nodes in atNodes and replies
the result of this process in an instance of SplitWayCommand . |
static SplitWayCommand |
SplitWayCommand.splitWay(Way way,
java.util.List<java.util.List<Node>> wayChunks,
java.util.Collection<? extends OsmPrimitive> selection)
Splits the way
way into chunks of wayChunks and replies
the result of this process in an instance of SplitWayCommand . |
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 . |
Constructor and Description |
---|
MoveCommand(Node node,
LatLon position)
Constructs a new
MoveCommand to move a node. |
OldNodeState(Node node)
Constructs a new
OldNodeState for the given node. |
Constructor and Description |
---|
ChangeNodesCommand(DataSet ds,
Way way,
java.util.List<Node> newNodes)
Constructs a new
ChangeNodesCommand . |
ChangeNodesCommand(Way way,
java.util.List<Node> newNodes)
Constructs a new
ChangeNodesCommand . |
RemoveNodesCommand(DataSet ds,
Way way,
java.util.Set<Node> rmNodes)
Constructs a new
RemoveNodesCommand . |
RemoveNodesCommand(Way way,
java.util.List<Node> rmNodes)
Deprecated.
|
RemoveNodesCommand(Way way,
java.util.Set<Node> rmNodes)
Constructs a new
RemoveNodesCommand . |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Node> |
WayNodesConflictResolverCommand.mergedNodeList
the list of merged nodes.
|
Constructor and Description |
---|
WayNodesConflictResolverCommand(Conflict<? extends OsmPrimitive> conflict,
java.util.List<Node> mergedNodeList)
Constructs a new
WayNodesConflictResolverCommand . |
Modifier and Type | Method and Description |
---|---|
static double |
GpxDistance.getDistanceNode(Node node,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistance(node, new Node(waypoint.getCoor()))
instead |
Modifier and Type | Field and Description |
---|---|
private Node |
NodePair.a |
private Node |
NodePair.b |
private Node[] |
Way.nodes
All way nodes in this way
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Node> |
MultipolygonBuilder.JoinedPolygon.nodes
the nodes of the polygon, first node is not duplicated as last node.
|
private java.util.Map<Node,java.util.List<NodePair>> |
NodeGraph.predecessors |
private QuadBucketPrimitiveStore<Node,Way,Relation> |
DataSet.store |
private java.util.Map<Node,java.util.List<NodePair>> |
NodeGraph.successors |
Modifier and Type | Method and 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 node
|
Node |
WaySegment.getFirstNode()
Returns the first node of the way segment.
|
Node |
RelationMember.getNode()
Returns the relation member as a node.
|
Node |
Way.getNode(int index) |
Node |
WaySegment.getSecondNode()
Returns the second (last) node of the way segment.
|
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) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<Node> |
NodeGraph.buildPathFromNodePairs(java.util.Stack<NodePair> path) |
java.util.List<Node> |
NodeGraph.buildSpanningPath()
Tries to find a path through the graph which visits each edge (i.e.
|
protected java.util.List<Node> |
NodeGraph.buildSpanningPath(Node startNode)
Tries to find a spanning path starting from node
startNode . |
java.util.List<Pair<java.lang.Double,Node>> |
Way.getAngles()
Returns angles of vertices.
|
java.util.Set<Node> |
Way.getNeighbours(Node node)
Return nodes adjacent to
node |
java.util.List<Pair<Node,Node>> |
Way.getNodePairs(boolean sort)
Replies the ordered
List of chunks of this way. |
java.util.List<Pair<Node,Node>> |
Way.getNodePairs(boolean sort)
Replies the ordered
List of chunks of this way. |
java.util.Collection<Node> |
DataSet.getNodes() |
java.util.List<Node> |
MultipolygonBuilder.JoinedPolygon.getNodes()
Builds a list of nodes for this polygon.
|
java.util.List<Node> |
Way.getNodes() |
protected java.util.Set<Node> |
NodeGraph.getNodes() |
protected java.util.Set<Node> |
NodeGraph.getTerminalNodes() |
private static java.util.List<Node> |
Way.removeDouble(java.util.List<Node> nodes)
Prevent directly following identical nodes in ways.
|
java.util.List<Node> |
DataSet.searchNodes(BBox bbox) |
Modifier and Type | Method and 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 java.util.List<Node> |
NodeGraph.buildSpanningPath(Node startNode)
Tries to find a spanning path starting from node
startNode . |
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 node
node , 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.
|
java.util.Set<Node> |
Way.getNeighbours(Node node)
Return nodes adjacent to
node |
protected java.util.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 given
Node from this way. |
java.util.Set<Way> |
DataSet.unlinkNodeFromWays(Node node)
Removes all references from ways in this dataset to a particular node.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Node.isConnectedTo(java.util.Collection<Node> otherNodes,
int hops,
java.util.function.Predicate<Node> predicate)
Tests whether
this node is connected to otherNode via at most hops nodes
matching the predicate (which may be null to consider all nodes). |
boolean |
Node.isConnectedTo(java.util.Collection<Node> otherNodes,
int hops,
java.util.function.Predicate<Node> predicate)
Tests whether
this node is connected to otherNode via at most hops nodes
matching the predicate (which may be null to consider all nodes). |
private boolean |
Node.isConnectedTo(java.util.Collection<Node> otherNodes,
int hops,
java.util.function.Predicate<Node> predicate,
java.util.Set<Node> visited) |
private boolean |
Node.isConnectedTo(java.util.Collection<Node> otherNodes,
int hops,
java.util.function.Predicate<Node> predicate,
java.util.Set<Node> visited) |
private boolean |
Node.isConnectedTo(java.util.Collection<Node> otherNodes,
int hops,
java.util.function.Predicate<Node> predicate,
java.util.Set<Node> visited) |
private static java.util.List<Node> |
Way.removeDouble(java.util.List<Node> nodes)
Prevent directly following identical nodes in ways.
|
void |
Way.removeNodes(java.util.Set<? extends Node> selection)
Removes the given set of
nodes from this way. |
void |
Way.setNodes(java.util.List<Node> nodes) |
Constructor and 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 new
NodePair . |
Constructor and Description |
---|
NodePair(Pair<Node,Node> pair)
Constructs a new
NodePair . |
NodePair(Pair<Node,Node> pair)
Constructs a new
NodePair . |
Modifier and Type | Field and Description |
---|---|
private Node |
NodeMovedEvent.node |
Modifier and Type | Method and Description |
---|---|
Node |
NodeMovedEvent.getNode()
Returns the node affected by the move.
|
Constructor and Description |
---|
NodeMovedEvent(DataSet dataSet,
Node node)
Constructs a new
NodeMovedEvent . |
Constructor and Description |
---|
HistoryNode(Node n)
Constructs a new
HistoryNode from an existing Node . |
Modifier and Type | Field and Description |
---|---|
java.util.Collection<Node> |
AllNodesVisitor.nodes
The resulting nodes collected so far.
|
Modifier and Type | Method and Description |
---|---|
static java.util.Collection<Node> |
AllNodesVisitor.getAllNodes(java.util.Collection<? extends OsmPrimitive> osms)
Replies all nodes contained by the given primitives
|
Modifier and Type | Method and Description |
---|---|
protected void |
MergeSourceBuildingVisitor.rememberNode(Node n)
Remebers 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.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<Node> |
Multipolygon.JoinedWay.nodes |
private java.util.List<Node> |
Multipolygon.openEnds |
Modifier and Type | Method and Description |
---|---|
Node |
Multipolygon.JoinedWay.getFirstNode()
Returns the first node.
|
Node |
Multipolygon.JoinedWay.getLastNode()
Returns the last node.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
Multipolygon.JoinedWay.getNodes()
Replies the list of nodes.
|
java.util.List<Node> |
Multipolygon.getOpenEnds()
Returns the start and end node of non-closed rings.
|
Constructor and Description |
---|
JoinedWay(java.util.List<Node> nodes,
java.util.Collection<java.lang.Long> wayIds,
boolean selected)
Constructs a new
JoinedWay . |
PolyData(java.util.List<Node> nodes,
boolean selected,
java.util.Collection<java.lang.Long> wayIds) |
Modifier and Type | Method and Description |
---|---|
void |
Test.visit(Node n) |
void |
Test.TagTest.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
TestError.Builder |
TestError.Builder.highlightNodePairs(java.util.Collection<java.util.List<Node>> highlighted)
Sets the node pairs to highlight when selecting this error.
|
void |
ValidatorVisitor.visit(java.util.List<Node> nodes)
Visit a list of nodes that are part of the error
|
Modifier and Type | Field and Description |
---|---|
private Node |
UnconnectedWays.MyWaySegment.n1 |
private Node |
UnconnectedWays.MyWaySegment.n2 |
Modifier and Type | Field and Description |
---|---|
private QuadBuckets<Node> |
UnconnectedWays.endnodes |
private QuadBuckets<Node> |
UnconnectedWays.endnodesHighway |
private QuadBuckets<Node> |
UnconnectedWays.middlenodes |
private java.util.Set<Node> |
UnconnectedWays.MyWaySegment.nearbyNodeCache |
private MultiMap<Pair<Node,Node>,WaySegment> |
OverlappingWays.nodePairs
Bag of all way segments
|
private MultiMap<Pair<Node,Node>,WaySegment> |
OverlappingWays.nodePairs
Bag of all way segments
|
private java.util.Set<Node> |
UnconnectedWays.othernodes |
private java.util.Set<Node> |
MultipolygonTest.PolygonLevelFinder.sharedNodes |
Modifier and Type | Method and Description |
---|---|
private Node |
MultipolygonTest.PolygonLevelFinder.getNonIntersectingNode(Multipolygon.PolyData pd1,
Multipolygon.PolyData pd2)
Find node of pd2 which is not an intersection node with pd1.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<Node,Way> |
UnconnectedWays.getConnectedWayEndNodesNearOtherWay() |
protected java.util.Map<Node,Way> |
UnconnectedWays.getWayEndNodesNearOtherHighway() |
protected java.util.Map<Node,Way> |
UnconnectedWays.getWayEndNodesNearOtherWay() |
protected java.util.Map<Node,Way> |
UnconnectedWays.getWayNodesNearOtherWay() |
java.util.Collection<Node> |
UnconnectedWays.MyWaySegment.nearbyNodes(double dist) |
Modifier and Type | Method and Description |
---|---|
private void |
Coastlines.addError(int errCode,
Way w,
java.util.Collection<Way> otherWays,
Node n)
Add error if not already done
|
private void |
UnconnectedWays.addNode(Node n,
QuadBuckets<Node> s) |
private void |
WayConnectedToArea.addPossibleError(Way w,
Node wayNode,
OsmPrimitive p,
OsmPrimitive area) |
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" else
|
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 |
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.
|
boolean |
UnconnectedWays.MyWaySegment.nearby(Node n,
double dist) |
private void |
WayConnectedToArea.testForError(Way w,
Node wayNode,
OsmPrimitive p) |
private void |
Highways.testMissingPedestrianCrossing(Node n) |
void |
Addresses.visit(Node n) |
void |
LongSegment.visit(Node n) |
void |
DuplicateNode.visit(Node n) |
void |
BarriersEntrances.visit(Node n) |
void |
InternetTags.visit(Node n) |
void |
UntaggedNode.visit(Node n) |
void |
Highways.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
protected void |
UnconnectedWays.addErrors(Severity severity,
java.util.Map<Node,Way> errorMap,
java.lang.String message) |
private void |
UnconnectedWays.addNode(Node n,
QuadBuckets<Node> s) |
java.util.List<TestError> |
DuplicateNode.buildTestErrors(Test parentTest,
java.util.List<Node> nodes)
Returns the list of "duplicate nodes" errors for the given selection of node and parent test
|
private void |
MultipolygonTest.checkOrSetRoles(Relation r,
java.util.List<Multipolygon.PolyData> allPolygons,
java.util.Map<java.lang.Long,RelationMember> wayMap,
java.util.Set<Node> sharedNodes)
Calculate the nesting levels of the polygon rings and check if calculated role matches
|
private static MultipolygonTest.ExtPolygonIntersection |
MultipolygonTest.checkOverlapAtSharedNodes(java.util.Set<Node> shared,
Multipolygon.PolyData pd1,
Multipolygon.PolyData pd2) |
private void |
MultipolygonTest.checkPolygonsForSharedNodes(Relation r,
Multipolygon.PolyData pd1,
Multipolygon.PolyData pd2,
java.util.Set<Node> allSharedNodes) |
private static void |
MultipolygonTest.findIntersectionNodes(Relation r,
java.util.Set<Node> sharedNodes,
java.util.Set<Way> intersectionWays)
Detect intersections of multipolygon ways at nodes.
|
Constructor and Description |
---|
MyWaySegment(Way w,
Node n1,
Node n2) |
Constructor and Description |
---|
PolygonLevelFinder(java.util.Set<Node> sharedNodes) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.awt.geom.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 |
NameVisitor.visit(Node n)
If the node has a name-key or id-key, this is displayed.
|
void |
AggregatePrimitivesVisitor.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
Node |
NavigatableComponent.getNearestNode(java.awt.Point p,
java.util.function.Predicate<OsmPrimitive> predicate)
Convenience method to
NavigatableComponent.getNearestNode(Point, Predicate, boolean) . |
Node |
NavigatableComponent.getNearestNode(java.awt.Point p,
java.util.function.Predicate<OsmPrimitive> predicate,
boolean useSelected)
The *result* depends on the current map selection state IF use_selected is true.
|
Node |
NavigatableComponent.getNearestNode(java.awt.Point p,
java.util.function.Predicate<OsmPrimitive> predicate,
boolean useSelected,
java.util.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.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
NavigatableComponent.getNearestNodes(java.awt.Point p,
java.util.Collection<Node> ignore,
java.util.function.Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
java.util.List<Node> |
NavigatableComponent.getNearestNodes(java.awt.Point p,
java.util.function.Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
private java.util.Map<java.lang.Double,java.util.List<Node>> |
NavigatableComponent.getNearestNodesImpl(java.awt.Point p,
java.util.function.Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state, neither does the result *order*.
|
Modifier and Type | Method and Description |
---|---|
java.awt.Point |
NavigatableComponent.getPoint(Node n)
looses precision, may overflow (depends on p and current scale)
|
java.awt.geom.Point2D |
NavigatableComponent.getPoint2D(Node n)
Return the point on the screen where this Node would be.
|
MapViewState.MapViewPoint |
MapViewState.getPointFor(Node node)
Gets the
MapViewState.MapViewPoint for the given node. |
private boolean |
NavigatableComponent.isPrecedenceNode(Node osm,
java.awt.Point p,
boolean useSelected)
This is used as a helper routine to
NavigatableComponent.getNearestNodeOrWay(Point, Predicate, boolean)
It decides, whether to yield the node to be tested or look for further (way) candidates. |
Modifier and Type | Method and Description |
---|---|
java.util.List<Node> |
NavigatableComponent.getNearestNodes(java.awt.Point p,
java.util.Collection<Node> ignore,
java.util.function.Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
Modifier and Type | Method and Description |
---|---|
protected Node |
NodeListMergeModel.cloneEntryForMergedList(Node entry) |
Modifier and Type | Method and 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 node
|
Constructor and Description |
---|
NodeListTable(java.lang.String name,
AbstractListMergeModel<Node,WayNodesConflictResolverCommand> model,
OsmPrimitivesTableModel dm,
javax.swing.ListSelectionModel sm)
Constructs a new
NodeListTable . |
Modifier and Type | Method and Description |
---|---|
void |
ConflictDialog.ConflictPainter.visit(Node n) |
private void |
ConflictDialog.ConflictPainter.visit(Node n1,
Node n2) |
Modifier and Type | Method and Description |
---|---|
private static boolean |
PropertiesMembershipChoiceDialog.isTagged(java.util.Collection<Node> existingNodes) |
private static boolean |
PropertiesMembershipChoiceDialog.isUsedInRelations(java.util.Collection<Node> existingNodes) |
static PropertiesMembershipChoiceDialog |
PropertiesMembershipChoiceDialog.showIfNecessary(java.util.Collection<Node> selectedNodes,
boolean preselectNew)
Creates and shows a new
PropertiesMembershipChoiceDialog if necessary. |
void |
ValidatorDialog.ValidatorBoundingXYVisitor.visit(java.util.List<Node> nodes) |
Modifier and Type | Field and Description |
---|---|
private Node |
RelationNodeMap.firstCircular |
private Node |
RelationNodeMap.lastOnewayNode |
Modifier and Type | Field and Description |
---|---|
java.util.Map<Node,java.util.Set<java.lang.Integer>> |
RelationNodeMap.NodesWays.nodes |
private java.util.Map<java.lang.Integer,java.util.Set<Node>> |
RelationNodeMap.remainingOneway |
java.util.Map<java.lang.Integer,java.util.Set<Node>> |
RelationNodeMap.NodesWays.ways |
Modifier and Type | Method and Description |
---|---|
static Node |
RelationNodeMap.firstOnewayNode(RelationMember m)
Gets the start node of the member, respecting the direction role.
|
static Node |
RelationNodeMap.lastOnewayNode(RelationMember m)
Gets the end node of the member, respecting the direction role.
|
private Node |
RelationNodeMap.processBackwardIfEndOfLoopReached(java.lang.Integer way) |
Modifier and Type | Method and Description |
---|---|
private void |
RelationNodeMap.addNodeWayMap(Node n,
int i) |
private void |
RelationNodeMap.addNodeWayMapReverse(Node n,
int i) |
private void |
RelationNodeMap.addPair(Node n,
int i) |
private void |
RelationNodeMap.addRemainingForward(Node n,
int i) |
private void |
RelationNodeMap.addWayNodeMap(Node n,
int i) |
private void |
RelationNodeMap.addWayNodeMapReverse(Node n,
int i) |
private java.lang.Integer |
RelationNodeMap.deleteAndGetAdjacentNode(RelationNodeMap.NodesWays nw,
Node n)
find next node in nw NodeWays structure, if the node is found delete and return it
|
private void |
RelationNodeMap.deleteWayNode(RelationNodeMap.NodesWays nw,
java.lang.Integer way,
Node n) |
private static java.lang.Integer |
RelationNodeMap.findAdjacentWay(RelationNodeMap.NodesWays nw,
Node n) |
Modifier and Type | Method and Description |
---|---|
void |
HistoryBrowserModel.HistoryPrimitiveBuilder.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
static WayPoint |
OsmDataLayer.nodeToWayPoint(Node n) |
static WayPoint |
OsmDataLayer.nodeToWayPoint(Node n,
long time) |
void |
OsmDataLayer.DataCountVisitor.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
private static void |
OsmDataLayer.nodesToGpxData(java.util.Collection<Node> nodes,
GpxData gpxData,
java.util.Set<Node> doneNodes) |
private static void |
OsmDataLayer.nodesToGpxData(java.util.Collection<Node> nodes,
GpxData gpxData,
java.util.Set<Node> doneNodes) |
private static void |
OsmDataLayer.waysToGpxData(java.util.Collection<Way> ways,
GpxData gpxData,
java.util.Set<Node> doneNodes) |
Modifier and Type | Method and Description |
---|---|
protected void |
PaintVisitor.drawNode(Node n,
java.awt.Color color)
Draws a circle around the node
|
protected void |
PaintVisitor.drawSegment(Node n1,
Node n2,
java.awt.Color color)
Draws a line around the segment
|
protected 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.
|
Modifier and Type | Method and Description |
---|---|
void |
PaintVisitor.visit(java.util.List<Node> nodes) |
Modifier and Type | Method and Description |
---|---|
private Node |
AbstractReader.addNode(NodeData nd,
AbstractReader.NodeReader nodeReader) |
protected Node |
OsmReader.parseNode() |
protected Node |
AbstractReader.parseNode(double lat,
double lon,
AbstractReader.CommonReader commonReader,
AbstractReader.NodeReader nodeReader) |
protected Node |
AbstractReader.parseNode(java.lang.String lat,
java.lang.String lon,
AbstractReader.CommonReader commonReader,
AbstractReader.NodeReader nodeReader) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractReader.NodeReader.accept(Node n)
Reads the node tags.
|
MultiFetchServerObjectReader |
MultiFetchServerObjectReader.appendNode(Node node)
appends a
Node id to the list of ids which will be fetched from the server. |
private void |
OsmReader.parseNodeTags(Node n) |
void |
GeoJSONWriter.GeometryPrimitiveVisitor.visit(Node n) |
Modifier and Type | Method and Description |
---|---|
private javax.json.JsonArrayBuilder |
GeoJSONWriter.getCoorsArray(java.lang.Iterable<Node> nodes) |
void |
OsmWriter.writeNodes(java.util.Collection<Node> nodes)
Writes the given nodes sorted by id
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<LatLon,Node> |
AddWayHandler.addedNodes
The place to remember already added nodes (they are reused if needed @since 5845
|
Modifier and Type | Method and Description |
---|---|
(package private) Node |
AddWayHandler.findOrCreateNode(LatLon ll,
java.util.List<Command> commands)
Find the node with almost the same coords in dataset or in already added nodes
|
Modifier and Type | Method and Description |
---|---|
static java.util.Set<Node> |
Geometry.addIntersections(java.util.List<Way> ways,
boolean test,
java.util.List<Command> cmds)
Will find all intersection and add nodes there for list of given ways.
|
Modifier and Type | Method and Description |
---|---|
static double |
Geometry.getDistanceSegmentSegment(Node ws1Node1,
Node ws1Node2,
Node ws2Node1,
Node ws2Node2)
Get the distance between different
WaySegment s |
static double |
Geometry.getDistanceWayNode(Way way,
Node node)
Get the distance between a way and a node
|