Modifier and Type | Field and Description |
---|---|
private Way |
ReverseWayAction.ReverseWayResult.newWay |
private Way |
SplitWayAction.SplitWayResult.originalWay |
Way |
JoinAreasAction.Multipolygon.outerWay |
private Way |
UnGlueAction.selectedWay |
(package private) Way |
SplitWayAction.SegmentToKeepSelectionDialog.selectedWay |
Way |
OrthogonalizeAction.WayData.way |
Way |
JoinAreasAction.WayInPolygon.way |
(package private) Way |
SplitWayAction.SegmentToKeepSelectionDialog.wayToKeep |
Modifier and Type | Field and Description |
---|---|
java.util.List<Way> |
JoinAreasAction.Multipolygon.innerWays |
(package private) javax.swing.JList<Way> |
SplitWayAction.SegmentToKeepSelectionDialog.list |
private java.util.List<Way> |
SplitWayAction.SplitWayResult.newWays |
(package private) java.util.List<Way> |
SplitWayAction.SegmentToKeepSelectionDialog.newWays |
private java.util.Collection<Way> |
CreateMultipolygonAction.CreateUpdateMultipolygonTask.selectedWays |
Modifier and Type | Method and Description |
---|---|
abstract Way |
SplitWayAction.Strategy.determineWayToKeep(java.lang.Iterable<Way> wayChunks)
Determines which way chunk should reuse the old id and its history.
|
private Way |
SelectNonBranchingWaySequences.findWay(java.util.Collection<OsmPrimitive> selection)
Finds out if the current selection can be extended.
|
private static Way |
SelectNonBranchingWaySequences.findWay(java.util.Collection<OsmPrimitive> selection,
Node node)
Finds out if the current selection can be extended.
|
Way |
ReverseWayAction.ReverseWayResult.getNewWay() |
Way |
SplitWayAction.SplitWayResult.getOriginalWay()
Replies the original way being split
|
protected static Way |
CombineWayAction.getTargetWay(java.util.Collection<Way> combinedWays) |
private Way |
JoinAreasAction.joinOrientedWays(java.util.List<JoinAreasAction.WayInPolygon> ways)
Joins a list of ways (using CombineWayAction and ReverseWayAction as specified in WayInPath)
|
private Way |
JoinAreasAction.joinWays(java.util.List<JoinAreasAction.WayInPolygon> ways)
Joins the outer ways and deletes all short ways that can't be part of a multipolygon anyway.
|
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!
|
Modifier and Type | Method and Description |
---|---|
static Pair<Way,Command> |
CombineWayAction.combineWaysWorker(java.util.Collection<Way> ways)
Combine multiple ways into one.
|
protected static java.util.List<Way> |
SplitWayAction.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.
|
private java.util.List<Way> |
SplitWayAction.getApplicableWays(java.util.List<Way> selectedWays,
java.util.List<Node> selectedNodes)
Determine which ways to split.
|
private 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.
|
java.util.List<Way> |
SplitWayAction.SplitWayResult.getNewWays()
Replies the resulting new ways
|
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.
|
Modifier and Type | Method and Description |
---|---|
private void |
SelectNonBranchingWaySequences.addNodes(Way way)
Add the endpoints of the way to nodes, outerNodes
|
private static java.util.List<java.util.List<Node>> |
JoinAreasAction.buildNodeChunks(Way way,
java.util.Collection<Node> splitNodes)
Simple chunking version.
|
static java.util.List<CombineWayAction.NodePair> |
CombineWayAction.NodeGraph.buildNodePairs(Way way,
boolean directed) |
static java.util.List<java.util.List<Node>> |
SplitWayAction.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.List<Way> |
SplitWayAction.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.
|
(package private) static SplitWayAction.SplitWayResult |
SplitWayAction.doSplitWay(OsmDataLayer layer,
Way way,
Way wayToKeep,
java.util.List<Way> newWays,
java.util.List<OsmPrimitive> newSelection) |
private void |
JoinAreasAction.fixRelations(java.util.List<JoinAreasAction.RelationRole> rels,
Way outer,
JoinAreasAction.RelationRole ownMultipol,
java.util.Set<Relation> relationsToDelete)
Adds the previously removed relations again to the outer way.
|
protected boolean |
SimplifyWayAction.isRequiredNode(Way way,
Node node)
Replies true if
node is a required node which can't be removed
in order to simplify the way. |
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 java.util.List<Node> |
CreateCircleAction.orderNodesByWay(java.util.List<Node> nodes,
Way way)
Order nodes according to way direction.
|
static ReverseWayAction.ReverseWayResult |
ReverseWayAction.reverseWay(Way w) |
SequenceCommand |
SimplifyWayAction.simplifyWay(Way w)
Simplifies a way with default threshold (read from preferences).
|
SequenceCommand |
SimplifyWayAction.simplifyWay(Way w,
double threshold)
Simplifies a way with a given threshold.
|
static SplitWayAction.SplitWayResult |
SplitWayAction.split(OsmDataLayer layer,
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 SplitWayAction.SplitWayResult . |
static SplitWayAction.SplitWayResult |
SplitWayAction.splitWay(OsmDataLayer layer,
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 SplitWayAction.SplitWayResult . |
static SplitWayAction.SplitWayResult |
SplitWayAction.splitWay(OsmDataLayer layer,
Way way,
java.util.List<java.util.List<Node>> wayChunks,
java.util.Collection<? extends OsmPrimitive> selection,
SplitWayAction.Strategy splitStrategy)
Splits the way
way into chunks of wayChunks and replies
the result of this process in an instance of SplitWayAction.SplitWayResult . |
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.
|
void |
UploadSelectionAction.UploadHullBuilder.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
private JoinAreasAction.RelationRole |
JoinAreasAction.addOwnMultipolygonRelation(java.util.Collection<Way> inner)
Will add own multipolygon relation to the "previously existing" relations.
|
private static Command |
AlignInLineAction.alignMultiWay(java.util.Collection<Way> ways)
Align way in case of multiple way #6819
|
private static MultipolygonBuilder |
CreateMultipolygonAction.analyzeWays(java.util.Collection<Way> selectedWays,
boolean showNotif)
This method analyzes ways and creates multipolygon.
|
static java.util.List<CombineWayAction.NodePair> |
CombineWayAction.NodeGraph.buildNodePairs(java.util.List<Way> ways,
boolean directed) |
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.
|
protected static boolean |
AlignInCircleAction.checkWaysArePolygon(java.util.Collection<Way> ways)
Determines if ways can be joined into a polygon.
|
private java.util.List<Node> |
UnJoinNodeWayAction.cleanSelectedNodes(java.util.List<Way> selectedWays,
java.util.List<Node> selectedNodes)
Removes irrelevant nodes from user selection.
|
private java.util.List<JoinAreasAction.Multipolygon> |
JoinAreasAction.collectMultipolygons(java.util.Collection<Way> selectedWays)
This method analyzes multipolygon relationships of given ways and collects addition inner ways to consider.
|
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.
|
static Pair<Way,Command> |
CombineWayAction.combineWaysWorker(java.util.Collection<Way> ways)
Combine multiple ways into one.
|
static CombineWayAction.NodeGraph |
CombineWayAction.NodeGraph.createDirectedGraphFromWays(java.util.Collection<Way> ways) |
static Pair<SequenceCommand,Relation> |
CreateMultipolygonAction.createMultipolygonCommand(java.util.Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.createMultipolygonRelation(java.util.Collection<Way> selectedWays,
boolean showNotif)
|
static CombineWayAction.NodeGraph |
CombineWayAction.NodeGraph.createNearlyUndirectedGraphFromNodeWays(java.util.Collection<Way> ways) |
static CombineWayAction.NodeGraph |
CombineWayAction.NodeGraph.createUndirectedGraphFromNodeWays(java.util.Collection<Way> ways)
Create an undirected graph from the given ways, but prevent reversing of all
non-new ways by fix one direction.
|
abstract Way |
SplitWayAction.Strategy.determineWayToKeep(java.lang.Iterable<Way> wayChunks)
Determines which way chunk should reuse the old id and its history.
|
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.
|
(package private) static SplitWayAction.SplitWayResult |
SplitWayAction.doSplitWay(OsmDataLayer layer,
Way way,
Way wayToKeep,
java.util.List<Way> newWays,
java.util.List<OsmPrimitive> newSelection) |
static java.util.List<JoinAreasAction.AssembledPolygon> |
JoinAreasAction.findBoundaryPolygons(java.util.Collection<JoinAreasAction.WayInPolygon> multigonWays,
java.util.List<Way> discardedResult)
Finds all ways that form inner or outer boundaries.
|
private java.util.List<Way> |
SplitWayAction.getApplicableWays(java.util.List<Way> selectedWays,
java.util.List<Node> selectedNodes)
Determine which ways to split.
|
private 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.
|
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
|
private static Relation |
CreateMultipolygonAction.getSelectedMultipolygonRelation(java.util.Collection<Way> selectedWays,
java.util.Collection<Relation> selectedRelations) |
protected static Way |
CombineWayAction.getTargetWay(java.util.Collection<Way> combinedWays) |
void |
JoinAreasAction.join(java.util.Collection<Way> ways)
Joins the given ways.
|
private java.util.List<JoinAreasAction.WayInPolygon> |
JoinAreasAction.markWayInsideSide(java.util.List<Way> parts,
boolean isInner)
This method analyzes the way and assigns each part what direction polygon "inside" is.
|
private boolean |
JoinAreasAction.removeDuplicateNodes(java.util.List<Way> ways)
This method removes duplicate points (if any) from the input way.
|
private void |
JoinAreasAction.stripTags(java.util.Collection<Way> ways)
Remove all tags from the all the way
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.updateMultipolygonRelation(java.util.Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
Constructor and Description |
---|
Line(Way way)
Init a line equation from a way.
|
Multipolygon(Way way) |
ReverseWayResult(Way newWay,
java.util.Collection<Command> tagCorrectionCommands,
Command reverseCommand) |
SegmentToKeepSelectionDialog(Way selectedWay,
java.util.List<Way> newWays,
Way wayToKeep,
java.util.List<OsmPrimitive> selection) |
SplitWayResult(Command command,
java.util.List<? extends PrimitiveId> newSelection,
Way originalWay,
java.util.List<Way> newWays) |
WayData(Way pWay) |
WayInPolygon(Way way,
boolean insideRight) |
Constructor and Description |
---|
CreateUpdateMultipolygonTask(java.util.Collection<Way> selectedWays,
Relation multipolygonRelation) |
SegmentToKeepSelectionDialog(Way selectedWay,
java.util.List<Way> newWays,
Way wayToKeep,
java.util.List<OsmPrimitive> selection) |
SelectNonBranchingWaySequences(java.util.Collection<Way> ways)
Creates a way selection
|
SplitWayResult(Command command,
java.util.List<? extends PrimitiveId> newSelection,
Way originalWay,
java.util.List<Way> newWays) |
Modifier and Type | Field and Description |
---|---|
private Way |
ImproveWayAccuracyAction.targetWay |
Modifier and Type | Field and Description |
---|---|
private java.util.Set<Way> |
DrawAction.mouseOnExistingWays |
private java.util.Set<Way> |
ParallelWayAction.sourceWays |
private java.util.List<Way> |
ParallelWays.ways |
Modifier and Type | Method and Description |
---|---|
static Way |
ImproveWayAccuracyHelper.findWay(MapView mv,
java.awt.Point p)
Finds the way to work on.
|
static Way |
DrawAction.getWayForNode(Node n) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Way> |
ParallelWays.getWays() |
Modifier and Type | Method and Description |
---|---|
private void |
ParallelWayAction.addSourceWay(Way w) |
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 |
static Node |
ImproveWayAccuracyHelper.findCandidateNode(MapView mv,
Way w,
java.awt.Point p)
Returns the nearest node to cursor.
|
static WaySegment |
ImproveWayAccuracyHelper.findCandidateSegment(MapView mv,
Way w,
java.awt.Point p)
Returns the nearest way segment to cursor.
|
private Node |
DrawAction.findNodeToContinueFrom(Node selectedNode,
Way selectedWay)
Finds a node to continue drawing from.
|
private static boolean |
ExtrudeAction.hasNodeOtherWays(Node node,
Way myWay)
This method tests if
node has other ways apart from the given one. |
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.
|
private void |
ParallelWayAction.removeSourceWay(Way w) |
void |
ImproveWayAccuracyAction.startImproving(Way targetWay)
Switches to Improving state
|
Modifier and Type | Method and Description |
---|---|
private static boolean |
SelectAction.doesImpactStatusLine(java.util.Collection<Node> affectedNodes,
java.util.Collection<Way> selectedWays) |
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 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 static void |
ParallelWayAction.removeWayHighlighting(java.util.Collection<Way> ways) |
Constructor and Description |
---|
ParallelWays(java.util.Collection<Way> sourceWays,
boolean copyTags,
int refWayIndex) |
Modifier and Type | Field and Description |
---|---|
private Way |
RemoveNodesCommand.way |
private Way |
ChangeNodesCommand.way |
Modifier and Type | Method and Description |
---|---|
void |
Command.CloneVisitor.visit(Way w) |
Constructor and Description |
---|
ChangeNodesCommand(Way way,
java.util.List<Node> newNodes)
Constructs a new
ChangeNodesCommand . |
RemoveNodesCommand(Way way,
java.util.List<Node> rmNodes)
Constructs a new
RemoveNodesCommand . |
Modifier and Type | Field and Description |
---|---|
private Conflict<Way> |
WayNodesConflictResolverCommand.conflict
the conflict to resolve
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Way> |
ReverseWayTagCorrector.irreversibleWays(java.util.List<Way> ways) |
Modifier and Type | Method and Description |
---|---|
static void |
ReverseWayNoTagCorrector.checkAndConfirmReverseWay(Way way)
Checks the given way can be safely reversed and asks user to confirm the operation if it not the case.
|
protected static boolean |
ReverseWayNoTagCorrector.confirmReverseWay(Way way,
TagCollection tags) |
java.util.Collection<Command> |
ReverseWayTagCorrector.execute(Way oldway,
Way way) |
static TagCollection |
ReverseWayNoTagCorrector.getDirectionalTags(Way way)
Replies the tags that imply a semantic meaning from
way direction and cannot be changed. |
static boolean |
ReverseWayNoTagCorrector.isReversible(Way way)
Tests whether way can be reversed without semantic change.
|
static boolean |
ReverseWayTagCorrector.isReversible(Way way)
Tests whether way can be reversed without semantic change, i.e., whether tags have to be changed.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<Way> |
ReverseWayTagCorrector.irreversibleWays(java.util.List<Way> ways) |
Modifier and Type | Field and Description |
---|---|
Way |
WaySegment.way
The way.
|
Modifier and Type | Field and Description |
---|---|
java.util.List<Way> |
MultipolygonBuilder.JoinedPolygon.ways |
private QuadBuckets<Way> |
DataSet.ways
All ways (Streets etc.) in the DataSet.
|
Modifier and Type | Method and Description |
---|---|
Way |
DatasetFactory.addWay(long id) |
Way |
DatasetFactory.addWay(long id,
int version) |
Way |
RelationMember.getWay()
Returns the relation member as a way.
|
Way |
DatasetFactory.getWay(long id) |
Way |
WaySegment.toWay()
Returns this way segment as complete way.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Way> |
DataSet.getSelectedWays()
Returns selected ways.
|
java.util.Comparator<Way> |
NameFormatter.getWayComparator() |
java.util.Collection<Way> |
DataSet.getWays()
Replies an unmodifiable collection of ways in this dataset
|
java.util.List<Way> |
DataSet.searchWays(BBox bbox)
Searches for ways in the given bounding box.
|
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 |
DataSet.containsWay(Way w)
Determines if the given way can be retrieved in the data set through its bounding box.
|
private static void |
DataSet.deleteWay(Way way) |
(package private) void |
DataSet.fireWayNodesChanged(Way way) |
protected void |
DataSetMerger.fixIncomplete(Way other) |
java.lang.String |
NameFormatter.format(Way way)
Formats a name for a
Way . |
static WaySegment |
WaySegment.forNodePair(Way way,
Node first,
Node second)
Determines and returns the way segment for the given way and node pair.
|
private void |
DataSetMerger.mergeNodeList(Way source)
Merges the node list of a source way onto its target way.
|
private void |
DataSet.reindexWay(Way way) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<MultipolygonBuilder.JoinedPolygon> |
MultipolygonBuilder.joinWays(java.util.Collection<Way> ways)
Joins the given
ways to multipolygon rings. |
java.lang.String |
MultipolygonBuilder.makeFromWays(java.util.Collection<Way> ways)
Splits ways into inner and outer JoinedWays.
|
Constructor and Description |
---|
BBox(Way w) |
JoinedPolygon(Way way)
Creates a polygon from single way.
|
Way(Way original)
Contructs a new
Way from an existing Way (including its id). |
Way(Way original,
boolean clearMetadata)
Contructs a new
Way from an existing Way . |
WaySegment(Way w,
int i)
Constructs a new
WaySegment . |
Constructor and Description |
---|
JoinedPolygon(java.util.List<Way> ways,
java.util.List<java.lang.Boolean> reversed)
Constructs a new
JoinedPolygon from given list of ways. |
Modifier and Type | Field and Description |
---|---|
private Way |
WayNodesChangedEvent.way |
Modifier and Type | Method and Description |
---|---|
Way |
WayNodesChangedEvent.getChangedWay() |
Constructor and Description |
---|
WayNodesChangedEvent(DataSet dataSet,
Way way) |
Constructor and Description |
---|
HistoryWay(Way w)
Constructs a new
HistoryWay from an existing Way . |
Modifier and Type | Method and Description |
---|---|
protected void |
MergeSourceBuildingVisitor.rememberWay(Way w)
remembers a way in the hull
|
void |
BoundingXYVisitor.visit(Way w) |
void |
Visitor.visit(Way w)
Visiting call for lines.
|
void |
AllNodesVisitor.visit(Way w)
Ways have their way nodes.
|
void |
MergeSourceBuildingVisitor.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
void |
StyledMapRenderer.ComputeStyleListWorker.add(Way osm,
int flags) |
void |
StyledMapRenderer.drawArea(Way w,
java.awt.Color color,
MapImage fillImage,
java.lang.Float extent,
java.lang.Float extentThreshold,
boolean disabled,
TextLabel text)
Draws an area defined by a way.
|
void |
StyledMapRenderer.drawRepeatImage(Way way,
MapImage pattern,
boolean disabled,
double offset,
double spacing,
double phase,
RepeatImageElement.LineImageAlignment align)
Draw an image along a way repeatedly.
|
void |
StyledMapRenderer.drawTextOnPath(Way way,
TextLabel text)
Draws a text along a given way.
|
void |
StyledMapRenderer.drawWay(Way way,
java.awt.Color color,
java.awt.BasicStroke line,
java.awt.BasicStroke dashes,
java.awt.Color dashedColor,
float offset,
boolean showOrientation,
boolean showHeadArrowOnly,
boolean showOneway,
boolean onewayReversed)
draw way.
|
private static java.awt.geom.Path2D.Double |
StyledMapRenderer.getPath(Way w) |
private static java.awt.geom.Path2D.Double |
StyledMapRenderer.getPFClip(Way w,
double extent) |
void |
StyledMapRenderer.ComputeStyleListWorker.visit(Way w) |
void |
WireframeMapRenderer.visit(Way w)
Draw a line for all way segments.
|
void |
AbstractMapRenderer.visitVirtual(java.awt.geom.GeneralPath path,
Way w)
Creates path for drawing virtual nodes for one way.
|
Modifier and Type | Field and Description |
---|---|
private java.util.List<Way> |
Multipolygon.innerWays |
private java.util.List<Way> |
Multipolygon.outerWays |
Modifier and Type | Method and Description |
---|---|
java.util.List<Way> |
Multipolygon.getInnerWays()
Replies the list of inner ways.
|
java.util.List<Way> |
Multipolygon.getOuterWays()
Replies the list of outer ways.
|
Modifier and Type | Method and Description |
---|---|
private void |
Multipolygon.createPolygons(java.util.List<Way> ways,
java.util.List<Multipolygon.PolyData> result) |
static java.util.Collection<Multipolygon.JoinedWay> |
Multipolygon.joinWays(java.util.Collection<Way> waysToJoin) |
Constructor and Description |
---|
PolyData(Way closedWay) |
Modifier and Type | Method and Description |
---|---|
void |
PaintVisitor.visit(Way w) |
void |
Test.visit(Way w) |
void |
Test.TagTest.visit(Way w) |
Modifier and Type | Field and Description |
---|---|
private Way |
PowerLines.PowerLineError.line |
Way |
UnconnectedWays.MyWaySegment.w |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.awt.geom.Point2D,java.util.List<Way>> |
SimilarNamedWays.cellWays
All ways, grouped by cells
|
private java.util.List<Way> |
Coastlines.coastlines |
private MultiMap<Way,Way> |
SimilarNamedWays.errorWays
The already detected errors
|
private MultiMap<Way,Way> |
SimilarNamedWays.errorWays
The already detected errors
|
private java.util.Map<java.util.List<Way>,java.util.List<WaySegment>> |
CrossingWays.seenWays
The already detected ways in error
|
private java.util.Map<Way,java.lang.String> |
PowerLines.towerPoleTagMap |
private java.util.Set<Way> |
UntaggedWay.waysUsedInRelations |
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() |
Modifier and Type | Method and Description |
---|---|
private void |
WayConnectedToArea.addPossibleError(Way w,
Node wayNode,
OsmPrimitive p,
OsmPrimitive area) |
protected static java.util.Set<WaySegment> |
OverlappingWays.checkDuplicateWaySegment(Way w) |
private void |
TurnrestrictionTest.checkIfConnected(Way previous,
Way current,
java.lang.String msg,
int code) |
(package private) abstract java.lang.String |
CrossingWays.createMessage(Way w1,
Way w2) |
(package private) java.lang.String |
CrossingWays.Ways.createMessage(Way w1,
Way w2) |
(package private) java.lang.String |
CrossingWays.Boundaries.createMessage(Way w1,
Way w2) |
(package private) java.lang.String |
CrossingWays.Barrier.createMessage(Way w1,
Way w2) |
static java.util.List<LatLon> |
DuplicateWay.getOrderedNodes(Way w)
Replies the ordered list of nodes of way w such as it is easier to find duplicated ways.
|
TestError |
UnclosedWays.UnclosedWaysCheck.getTestError(Way w)
Returns the test error of the given way, if any.
|
(package private) java.util.List<UnconnectedWays.MyWaySegment> |
UnconnectedWays.getWaySegments(Way w) |
private void |
Highways.handleCarWay(Node n,
Way w) |
private void |
Highways.handleCyclistWay(Node n,
Way w) |
private void |
Highways.handlePedestrianWay(Node n,
Way w) |
(package private) abstract boolean |
CrossingWays.ignoreWaySegmentCombination(Way w1,
Way w2) |
(package private) boolean |
CrossingWays.Ways.ignoreWaySegmentCombination(Way w1,
Way w2) |
(package private) boolean |
CrossingWays.Boundaries.ignoreWaySegmentCombination(Way w1,
Way w2) |
(package private) boolean |
CrossingWays.Barrier.ignoreWaySegmentCombination(Way w1,
Way w2) |
private static boolean |
TurnrestrictionTest.isFullOneway(Way w) |
static boolean |
Highways.isHighwayLinkOkay(Way way) |
protected static boolean |
PowerLines.isPowerLine(Way w)
Determines if the specified way denotes a power line.
|
private void |
WronglyOrderedWays.reportError(Way w,
java.lang.String msg,
int type) |
private void |
WayConnectedToArea.testForError(Way w,
Node wayNode,
OsmPrimitive p) |
private void |
Highways.testHighwayLink(Way way) |
private void |
Highways.testWrongRoundabout(Way w) |
void |
UnclosedWays.visit(Way w) |
void |
LongSegment.visit(Way w) |
void |
UnconnectedWays.visit(Way w) |
void |
MultipolygonTest.visit(Way w) |
void |
DuplicateWay.visit(Way w) |
void |
SelfIntersectingWay.visit(Way w) |
void |
UntaggedWay.visit(Way w) |
void |
OverlappingWays.visit(Way w) |
void |
PowerLines.visit(Way w) |
void |
Coastlines.visit(Way way) |
void |
ApiCapabilitiesTest.visit(Way w) |
void |
CrossingWays.visit(Way w) |
void |
WronglyOrderedWays.visit(Way w) |
void |
Addresses.visit(Way w) |
void |
DuplicatedWayNodes.visit(Way w) |
void |
Highways.visit(Way w) |
void |
SimilarNamedWays.visit(Way w) |
void |
InternetTags.visit(Way w) |
void |
WayConnectedToArea.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
protected void |
UnconnectedWays.addErrors(Severity severity,
java.util.Map<Node,Way> errorMap,
java.lang.String message) |
protected void |
Addresses.checkDistance(OsmPrimitive house,
java.util.Collection<Way> street) |
Constructor and Description |
---|
MyWaySegment(Way w,
Node n1,
Node n2) |
PowerLineError(Node n,
Way line) |
WrongRoundaboutHighway(Way w,
java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.util.List<Way>> |
ValUtil.getWaysInCell(Way w,
java.util.Map<java.awt.geom.Point2D,java.util.List<Way>> cellWays)
Returns the start and end cells of a way.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.util.List<Way>> |
ValUtil.getWaysInCell(Way w,
java.util.Map<java.awt.geom.Point2D,java.util.List<Way>> cellWays)
Returns the start and end cells of a way.
|
void |
AggregatePrimitivesVisitor.visit(Way w) |
void |
NameVisitor.visit(Way w)
If the way has a name-key or id-key, this is displayed.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.util.List<Way>> |
ValUtil.getWaysInCell(Way w,
java.util.Map<java.awt.geom.Point2D,java.util.List<Way>> cellWays)
Returns the start and end cells of a way.
|
Modifier and Type | Field and Description |
---|---|
private java.util.Comparator<Way> |
DefaultNameFormatter.wayComparator |
Modifier and Type | Method and Description |
---|---|
Way |
NavigatableComponent.getNearestWay(java.awt.Point p,
Predicate<OsmPrimitive> predicate)
The *result* depends on the current map selection state.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Way> |
NavigatableComponent.getNearestWays(java.awt.Point p,
java.util.Collection<Way> ignore,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
java.util.List<Way> |
NavigatableComponent.getNearestWays(java.awt.Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
java.util.Comparator<Way> |
DefaultNameFormatter.getWayComparator() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DefaultNameFormatter.format(Way way) |
Modifier and Type | Method and Description |
---|---|
java.util.List<Way> |
NavigatableComponent.getNearestWays(java.awt.Point p,
java.util.Collection<Way> ignore,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
void |
MapStatus.setDist(java.util.Collection<Way> ways)
Sets the distance text to the total sum of given ways length
|
Modifier and Type | Method and Description |
---|---|
void |
NodeListMergeModel.populate(Way my,
Way their,
java.util.Map<PrimitiveId,PrimitiveId> mergedMap)
|
Modifier and Type | Method and Description |
---|---|
(package private) void |
InspectPrimitiveDialog.DataText.addWayNodes(Way w) |
Modifier and Type | Method and Description |
---|---|
(package private) static WayConnectionType.Direction |
RelationSortUtils.roundaboutType(Way w) |
Modifier and Type | Method and Description |
---|---|
void |
HistoryBrowserModel.HistoryPrimitiveBuilder.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
void |
OsmDataLayer.DataCountVisitor.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
private static void |
OsmDataLayer.waysToGpxData(java.util.Collection<Way> ways,
GpxData gpxData,
java.util.Set<Node> doneNodes) |
Modifier and Type | Method and Description |
---|---|
void |
Selector.ChildOrParentSelector.MatchingReferrerFinder.visit(Way w) |
void |
Selector.ChildOrParentSelector.AbstractFinder.visit(Way w) |
void |
Selector.ChildOrParentSelector.MultipolygonOpenEndFinder.visit(Way w) |
void |
Selector.ChildOrParentSelector.CrossingFinder.visit(Way w) |
void |
Selector.ChildOrParentSelector.ContainsFinder.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
protected Way |
OsmReader.parseWay() |
Modifier and Type | Method and Description |
---|---|
MultiFetchServerObjectReader |
MultiFetchServerObjectReader.appendWay(Way way)
appends a
Way id and the list of ids of nodes the way refers to the list of ids which will be fetched from the server. |
private long |
OsmReader.parseWayNode(Way w) |
Modifier and Type | Method and Description |
---|---|
void |
OsmWriter.writeWays(java.util.Collection<Way> ways)
Writes the given ways sorted by id
|
Modifier and Type | Field and Description |
---|---|
private Way |
AddWayHandler.way |
Modifier and Type | Method and Description |
---|---|
private Way |
AddWayHandler.addWay() |
Modifier and Type | Field and Description |
---|---|
java.util.Set<Way> |
Geometry.MultiPolygonMembers.inners |
java.util.Set<Way> |
Geometry.MultiPolygonMembers.outers |
Modifier and Type | Method and Description |
---|---|
static double |
Geometry.closedWayArea(Way way)
Returns area of a closed way in square meters.
|
static boolean |
Geometry.isClockwise(Way w)
Determines whether a way is oriented clockwise.
|
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.
|
static boolean |
Geometry.isNodeInsideMultiPolygon(Node node,
Relation multiPolygon,
Predicate<Way> isOuterWayAMatch)
Tests if the
node is inside the multipolygon multiPolygon . |
static boolean |
Geometry.isPolygonInsideMultiPolygon(java.util.List<Node> nodes,
Relation multiPolygon,
Predicate<Way> isOuterWayAMatch)
Tests if the polygon formed by
nodes is inside the multipolygon multiPolygon . |