Modifier and Type | Field and Description |
---|---|
private Way |
ReverseWayAction.ReverseWayResult.newWay |
private Way |
SplitWayAction.SplitWayResult.originalWay |
Way |
JoinAreasAction.Multipolygon.outerWay |
private Way |
UnGlueAction.selectedWay |
Way |
OrthogonalizeAction.WayData.way |
Way |
JoinAreasAction.WayInPolygon.way |
Modifier and Type | Field and Description |
---|---|
List<Way> |
JoinAreasAction.Multipolygon.innerWays |
private List<Way> |
SplitWayAction.SplitWayResult.newWays |
private Collection<Way> |
CreateMultipolygonAction.CreateUpdateMultipolygonTask.selectedWays |
Modifier and Type | Method and Description |
---|---|
private Way |
SelectNonBranchingWaySequences.findWay(Collection<OsmPrimitive> selection)
Finds out if the current selection can be extended.
|
private static Way |
SelectNonBranchingWaySequences.findWay(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(Collection<Way> combinedWays) |
private Way |
JoinAreasAction.joinOrientedWays(List<JoinAreasAction.WayInPolygon> ways)
Joins a list of ways (using CombineWayAction and ReverseWayAction as specified in WayInPath)
|
private Way |
JoinAreasAction.joinWays(List<JoinAreasAction.WayInPolygon> ways)
Joins the outer ways and deletes all short ways that can't be part of a multipolygon anyway.
|
private Way |
UnGlueAction.modifyWay(Node originalNode,
Way w,
List<Command> cmds,
List<Node> newNodes)
dupe the given node of the given way
assume that OrginalNode 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(Collection<Way> ways) |
private List<Way> |
SplitWayAction.getApplicableWays(List<Way> selectedWays,
List<Node> selectedNodes) |
private List<Way> |
UnJoinNodeWayAction.getApplicableWays(List<Way> selectedWays,
List<Node> selectedNodes) |
List<Way> |
SplitWayAction.SplitWayResult.getNewWays()
Replies the resulting new ways
|
private List<Way> |
JoinAreasAction.splitWayOnNodes(Way way,
Set<Node> nodes)
This is a method 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 JoinAreasAction.RelationRole |
JoinAreasAction.addOwnMultigonRelation(Collection<Way> inner,
Way outer)
Will add own multipolygon relation to the "previously existing" relations.
|
private List<List<Node>> |
JoinAreasAction.buildNodeChunks(Way way,
Collection<Node> splitNodes)
Simple chunking version.
|
static List<CombineWayAction.NodePair> |
CombineWayAction.NodeGraph.buildNodePairs(Way way,
boolean directed) |
static List<List<Node>> |
SplitWayAction.buildSplitChunks(Way wayToSplit,
List<Node> splitPoints)
Splits the nodes of
wayToSplit into a list of node sequences
which are separated at the nodes in splitPoints . |
private void |
JoinAreasAction.fixRelations(List<JoinAreasAction.RelationRole> rels,
Way outer,
JoinAreasAction.RelationRole ownMultipol,
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 Way |
UnGlueAction.modifyWay(Node originalNode,
Way w,
List<Command> cmds,
List<Node> newNodes)
dupe the given node of the given way
assume that OrginalNode 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!
|
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,
List<Node> atNodes,
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,
List<List<Node>> wayChunks,
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 . |
private List<Way> |
JoinAreasAction.splitWayOnNodes(Way way,
Set<Node> nodes)
This is a method splits way into smaller parts, using the prepared nodes list as split points.
|
private void |
JoinAreasAction.stripTags(Way x)
Remove all tags from the way
|
void |
UploadSelectionAction.UploadHullBuilder.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
private JoinAreasAction.RelationRole |
JoinAreasAction.addOwnMultigonRelation(Collection<Way> inner,
Way outer)
Will add own multipolygon relation to the "previously existing" relations.
|
private Command |
AlignInLineAction.alignMultiWay(Collection<Way> ways)
Align way in case of multiple way #6819
|
private static MultipolygonBuilder |
CreateMultipolygonAction.analyzeWays(Collection<Way> selectedWays,
boolean showNotif)
This method analyzes ways and creates multipolygon.
|
static List<CombineWayAction.NodePair> |
CombineWayAction.NodeGraph.buildNodePairs(List<Way> ways,
boolean directed) |
protected static boolean |
AlignInCircleAction.checkWaysArePolygon(Collection<Way> ways)
Determines if ways can be joined into a polygon.
|
private List<JoinAreasAction.Multipolygon> |
JoinAreasAction.collectMultipolygons(Collection<Way> selectedWays)
This method analyzes multipolygon relationships of given ways and collects addition inner ways to consider.
|
private List<Node> |
AlignInCircleAction.collectNodesAnticlockwise(List<Way> ways)
Assuming all ways can be joined into polygon, create an ordered list of node.
|
private List<Node> |
AlignInCircleAction.collectNodesWithExternReferers(List<Way> ways)
Collect all nodes with more than one referrer.
|
static Pair<Way,Command> |
CombineWayAction.combineWaysWorker(Collection<Way> ways) |
static CombineWayAction.NodeGraph |
CombineWayAction.NodeGraph.createDirectedGraphFromWays(Collection<Way> ways) |
static Pair<SequenceCommand,Relation> |
CreateMultipolygonAction.createMultipolygonCommand(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.createMultipolygonRelation(Collection<Way> selectedWays,
boolean showNotif)
|
static CombineWayAction.NodeGraph |
CombineWayAction.NodeGraph.createUndirectedGraphFromNodeWays(Collection<Way> ways) |
static List<JoinAreasAction.AssembledPolygon> |
JoinAreasAction.findBoundaryPolygons(Collection<JoinAreasAction.WayInPolygon> multigonWays,
List<Way> discardedResult)
Finds all ways that form inner or outer boundaries.
|
private List<Way> |
SplitWayAction.getApplicableWays(List<Way> selectedWays,
List<Node> selectedNodes) |
private List<Way> |
UnJoinNodeWayAction.getApplicableWays(List<Way> selectedWays,
List<Node> selectedNodes) |
private List<AlignInLineAction.Line> |
AlignInLineAction.getInvolvedLines(Node node,
List<Way> refWays)
Get lines useful to do alignment of a single node
|
private static Relation |
CreateMultipolygonAction.getSelectedMultipolygonRelation(Collection<Way> selectedWays,
Collection<Relation> selectedRelations) |
protected static Way |
CombineWayAction.getTargetWay(Collection<Way> combinedWays) |
void |
JoinAreasAction.join(Collection<Way> ways)
Joins the given ways.
|
private List<JoinAreasAction.WayInPolygon> |
JoinAreasAction.markWayInsideSide(List<Way> parts,
boolean isInner)
This method analyzes the way and assigns each part what direction polygon "inside" is.
|
private boolean |
JoinAreasAction.removeDuplicateNodes(List<Way> ways)
This method removes duplicate points (if any) from the input way.
|
private void |
JoinAreasAction.stripTags(Collection<Way> ways)
Remove all tags from the all the way
|
static Pair<Relation,Relation> |
CreateMultipolygonAction.updateMultipolygonRelation(Collection<Way> selectedWays,
Relation selectedMultipolygonRelation)
|
Constructor and Description |
---|
AlignInLineAction.Line(Way way)
Init a line equation from a way.
|
JoinAreasAction.Multipolygon(Way way) |
JoinAreasAction.WayInPolygon(Way way,
boolean insideRight) |
OrthogonalizeAction.WayData(Way pWay) |
ReverseWayAction.ReverseWayResult(Way newWay,
Collection<Command> tagCorrectionCommands,
Command reverseCommand) |
SplitWayAction.SplitWayResult(Command command,
List<? extends PrimitiveId> newSelection,
Way originalWay,
List<Way> newWays) |
Constructor and Description |
---|
CreateMultipolygonAction.CreateUpdateMultipolygonTask(Collection<Way> selectedWays,
Relation multipolygonRelation) |
SelectNonBranchingWaySequences(Collection<Way> ways)
Creates a way selection
|
SplitWayAction.SplitWayResult(Command command,
List<? extends PrimitiveId> newSelection,
Way originalWay,
List<Way> newWays) |
Modifier and Type | Field and Description |
---|---|
private Way |
ImproveWayAccuracyAction.targetWay |
Modifier and Type | Field and Description |
---|---|
private Set<Way> |
DrawAction.mouseOnExistingWays |
private Set<Way> |
ParallelWayAction.sourceWays |
(package private) List<Way> |
ParallelWays.ways |
Modifier and Type | Method and Description |
---|---|
static Way |
ImproveWayAccuracyHelper.findWay(MapView mv,
Point p)
Finds the way to work on.
|
static Way |
DrawAction.getWayForNode(Node n) |
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 @param way is given @param node ,
then set currentBaseNode = node and previousNode = adjacent node of way
|
static Node |
ImproveWayAccuracyHelper.findCandidateNode(MapView mv,
Way w,
Point p)
Returns the nearest node to cursor.
|
static WaySegment |
ImproveWayAccuracyHelper.findCandidateSegment(MapView mv,
Way w,
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 boolean |
SelectAction.doesImpactStatusLine(Collection<Node> affectedNodes,
Collection<Way> selectedWays) |
private void |
DrawAction.insertNodeIntoAllNearbySegments(List<WaySegment> wss,
Node n,
Collection<OsmPrimitive> newSelection,
Collection<Command> cmds,
List<Way> replacedWays,
List<Way> reuseWays) |
private void |
DrawAction.insertNodeIntoAllNearbySegments(List<WaySegment> wss,
Node n,
Collection<OsmPrimitive> newSelection,
Collection<Command> cmds,
List<Way> replacedWays,
List<Way> reuseWays) |
private void |
ParallelWayAction.removeWayHighlighting(Collection<Way> ways) |
Constructor and Description |
---|
ParallelWays(Collection<Way> sourceWays,
boolean copyTags,
int refWayIndex) |
Modifier and Type | Field and Description |
---|---|
private Way |
ChangeNodesCommand.way |
private Way |
RemoveNodesCommand.way |
Modifier and Type | Method and Description |
---|---|
void |
Command.CloneVisitor.visit(Way w) |
Constructor and Description |
---|
ChangeNodesCommand(Way way,
List<Node> newNodes)
Constructs a new
ChangeNodesCommand . |
RemoveNodesCommand(Way way,
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 List<Way> |
ReverseWayTagCorrector.irreversibleWays(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) |
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 List<Way> |
ReverseWayTagCorrector.irreversibleWays(List<Way> ways) |
Modifier and Type | Field and Description |
---|---|
Way |
WaySegment.way
The way.
|
Modifier and Type | Field and Description |
---|---|
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 |
---|---|
Collection<Way> |
DataSet.getSelectedWays()
Returns selected ways.
|
Comparator<Way> |
NameFormatter.getWayComparator() |
Collection<Way> |
DataSet.getWays()
Replies an unmodifiable collection of ways in this dataset
|
List<Way> |
DataSet.searchWays(BBox bbox)
Searches for ways in the given bounding box.
|
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 void |
DataSet.deleteWay(Way way) |
(package private) void |
DataSet.fireWayNodesChanged(Way way) |
protected void |
DataSetMerger.fixIncomplete(Way other) |
String |
NameFormatter.format(Way way) |
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 List<MultipolygonBuilder.JoinedPolygon> |
MultipolygonBuilder.joinWays(Collection<Way> ways)
Joins the given
ways to multipolygon rings. |
String |
MultipolygonBuilder.makeFromWays(Collection<Way> ways)
Splits ways into inner and outer JoinedWays.
|
Constructor and Description |
---|
BBox(Way w) |
MultipolygonBuilder.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 |
---|
MultipolygonBuilder.JoinedPolygon(List<Way> ways,
List<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 |
AllNodesVisitor.visit(Way w)
Ways have their way nodes.
|
void |
BoundingXYVisitor.visit(Way w) |
void |
Visitor.visit(Way w)
Visiting call for lines.
|
void |
MergeSourceBuildingVisitor.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
void |
StyledMapRenderer.ComputeStyleListWorker.add(Way osm,
int flags) |
void |
StyledMapRenderer.drawArea(Way w,
Color color,
MapImage fillImage,
boolean disabled,
TextElement text) |
void |
StyledMapRenderer.drawRepeatImage(Way way,
MapImage pattern,
boolean disabled,
float offset,
float spacing,
float phase,
RepeatImageElemStyle.LineImageAlignment align)
Draw an image along a way repeatedly.
|
void |
StyledMapRenderer.drawTextOnPath(Way way,
TextElement text) |
void |
StyledMapRenderer.drawWay(Way way,
Color color,
BasicStroke line,
BasicStroke dashes,
Color dashedColor,
float offset,
boolean showOrientation,
boolean showHeadArrowOnly,
boolean showOneway,
boolean onewayReversed)
draw way
|
private Path2D.Double |
StyledMapRenderer.getPath(Way w) |
void |
StyledMapRenderer.ComputeStyleListWorker.visit(Way w) |
void |
WireframeMapRenderer.visit(Way w)
Draw a line for all way segments.
|
void |
AbstractMapRenderer.visitVirtual(GeneralPath path,
Way w)
Creates path for drawing virtual nodes for one way.
|
Modifier and Type | Field and Description |
---|---|
private List<Way> |
Multipolygon.innerWays |
private List<Way> |
Multipolygon.outerWays |
Modifier and Type | Method and Description |
---|---|
List<Way> |
Multipolygon.getInnerWays()
Replies the list of inner ways.
|
List<Way> |
Multipolygon.getOuterWays()
Replies the list of outer ways.
|
Modifier and Type | Method and Description |
---|---|
private void |
Multipolygon.createPolygons(List<Way> ways,
List<Multipolygon.PolyData> result) |
static Collection<Multipolygon.JoinedWay> |
Multipolygon.joinWays(Collection<Way> waysToJoin) |
Constructor and Description |
---|
Multipolygon.PolyData(Way closedWay) |
Modifier and Type | Method and Description |
---|---|
void |
Test.visit(Way w) |
void |
Test.TagTest.visit(Way w) |
void |
PaintVisitor.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 Map<Point2D,List<Way>> |
SimilarNamedWays.cellWays
All ways, grouped by cells
|
private 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 Map<List<Way>,List<WaySegment>> |
CrossingWays.seenWays
The already detected ways in error
|
private Map<Way,String> |
PowerLines.towerPoleTagMap |
private Set<Way> |
UntaggedWay.waysUsedInRelations |
Modifier and Type | Method and Description |
---|---|
protected Map<Node,Way> |
UnconnectedWays.getConnectedWayEndNodesNearOtherWay() |
protected Map<Node,Way> |
UnconnectedWays.getWayEndNodesNearOtherHighway() |
protected Map<Node,Way> |
UnconnectedWays.getWayEndNodesNearOtherWay() |
protected 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 Set<WaySegment> |
OverlappingWays.checkDuplicateWaySegment(Way w) |
private void |
TurnrestrictionTest.checkIfConnected(Way previous,
Way current,
String msg,
int code) |
(package private) abstract String |
CrossingWays.createMessage(Way w1,
Way w2) |
(package private) String |
CrossingWays.Ways.createMessage(Way w1,
Way w2) |
(package private) String |
CrossingWays.Boundaries.createMessage(Way w1,
Way w2) |
(package private) String |
CrossingWays.Barrier.createMessage(Way w1,
Way w2) |
static 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) 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) |
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,
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 |
Coastlines.visit(Way way) |
void |
CrossingWays.visit(Way w) |
void |
MultipolygonTest.visit(Way w) |
void |
OverlappingWays.visit(Way w) |
void |
PowerLines.visit(Way w) |
void |
WayConnectedToArea.visit(Way w) |
void |
InternetTags.visit(Way w) |
void |
SelfIntersectingWay.visit(Way w) |
void |
Addresses.visit(Way w) |
void |
UnconnectedWays.visit(Way w) |
void |
UntaggedWay.visit(Way w) |
void |
Highways.visit(Way w) |
void |
UnclosedWays.visit(Way w) |
void |
SimilarNamedWays.visit(Way w) |
void |
DuplicatedWayNodes.visit(Way w) |
void |
ApiCapabilitiesTest.visit(Way w) |
void |
DuplicateWay.visit(Way w) |
void |
WronglyOrderedWays.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
protected void |
UnconnectedWays.addErrors(Severity severity,
Map<Node,Way> errorMap,
String message) |
protected void |
Addresses.checkDistance(OsmPrimitive house,
Collection<Way> street) |
private List<List<Node>> |
MultipolygonTest.joinWays(Collection<Way> ways) |
Constructor and Description |
---|
Highways.WrongRoundaboutHighway(Way w,
String key) |
PowerLines.PowerLineError(Node n,
Way line) |
UnconnectedWays.MyWaySegment(Way w,
Node n1,
Node n2) |
Modifier and Type | Method and Description |
---|---|
static List<List<Way>> |
ValUtil.getWaysInCell(Way w,
Map<Point2D,List<Way>> cellWays)
Returns the start and end cells of a way.
|
Modifier and Type | Method and Description |
---|---|
static List<List<Way>> |
ValUtil.getWaysInCell(Way w,
Map<Point2D,List<Way>> cellWays)
Returns the start and end cells of a way.
|
void |
NameVisitor.visit(Way w)
If the way has a name-key or id-key, this is displayed.
|
void |
AggregatePrimitivesVisitor.visit(Way w) |
Modifier and Type | Method and Description |
---|---|
static List<List<Way>> |
ValUtil.getWaysInCell(Way w,
Map<Point2D,List<Way>> cellWays)
Returns the start and end cells of a way.
|
Modifier and Type | Field and Description |
---|---|
private Comparator<Way> |
DefaultNameFormatter.wayComparator |
Modifier and Type | Method and Description |
---|---|
Way |
NavigatableComponent.getNearestWay(Point p,
Predicate<OsmPrimitive> predicate)
The *result* depends on the current map selection state.
|
Modifier and Type | Method and Description |
---|---|
List<Way> |
NavigatableComponent.getNearestWays(Point p,
Collection<Way> ignore,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
List<Way> |
NavigatableComponent.getNearestWays(Point p,
Predicate<OsmPrimitive> predicate)
The *result* does not depend on the current map selection state,
neither does the result *order*.
|
Comparator<Way> |
DefaultNameFormatter.getWayComparator() |
Modifier and Type | Method and Description |
---|---|
String |
DefaultNameFormatter.format(Way way)
Formats a name for a way
|
Modifier and Type | Method and Description |
---|---|
List<Way> |
NavigatableComponent.getNearestWays(Point p,
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(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,
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 |
---|---|
protected boolean |
HistoryBrowserModel.hasNewNodes(Way way) |
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(Collection<Way> ways,
GpxData gpxData,
HashSet<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.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(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 |
---|---|
Set<Way> |
Geometry.MultiPolygonMembers.inners |
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 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.
|
static boolean |
Geometry.isNodeInsideMultiPolygon(Node node,
Relation multiPolygon,
Predicate<Way> isOuterWayAMatch)
Tests if the
node is inside the multipolygon multiPolygon . |
static boolean |
Geometry.isPolygonInsideMultiPolygon(List<Node> nodes,
Relation multiPolygon,
Predicate<Way> isOuterWayAMatch)
Tests if the polygon formed by
nodes is inside the multipolygon multiPolygon . |