Uses of Class
org.openstreetmap.josm.data.osm.Way
-
Packages that use Way Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.corrector Provides the classes for JOSMtag correctors.org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap modes.org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set.org.openstreetmap.josm.command.conflict Provides commands for handling conflicts.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives:Node,Way,RelationUsersTagsChangesetsUtilities classesorg.openstreetmap.josm.data.osm.event Provides the classes for OSM dataset events.org.openstreetmap.josm.data.osm.history Provides the classes for OSM primitiveshistory(edition revisions).org.openstreetmap.josm.data.osm.visitor Provides the classes for performing actions on OSM primitives using Visitor design pattern.org.openstreetmap.josm.data.osm.visitor.paint.relations Provides the classes for painting and cachingMultipolygonrelations.org.openstreetmap.josm.data.validation Provides the classes for JOSM data validation.org.openstreetmap.josm.data.validation.tests Provides the classes for JOSM data validation tests.org.openstreetmap.josm.data.validation.util Provides utilities classes for JOSM data validation.org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.org.openstreetmap.josm.gui.conflict.pair.nodes Provides the classes for displaying conflicts in ways list of nodes.org.openstreetmap.josm.gui.dialogs Provides three kinds of dialogs: Toggle dialogs on the right side of the GUI, that can be turned on, off, attached or detached from the GUI Changeset dialog based on a standalone implementation, dedicated to OSM changesets management Extended dialogs for everything elseorg.openstreetmap.josm.gui.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.gui.mappaint Drawing system allowing to display and render OSM map data in a user-friendly and customizable way, through map styles.
Two implementations are provided: XML: this was the system used by default JOSM map style for a long time.org.openstreetmap.josm.gui.mappaint.mapcss Drawing system based on MapCSS map styles.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of Way in org.openstreetmap.josm.actions
Fields in org.openstreetmap.josm.actions declared as Way Modifier and Type Field Description private WayJoinAreasAction.Multipolygon. outerWay(package private) WaySplitWayAction.SegmentToKeepSelectionDialog. selectedWayprivate WayUnGlueAction. selectedWayWayJoinAreasAction.WayInPolygon. way(package private) WaySplitWayAction.SegmentToKeepSelectionDialog. wayToKeepFields in org.openstreetmap.josm.actions with type parameters of type Way Modifier and Type Field Description private java.util.function.Consumer<java.util.List<Way>>SimplifyWayAction.SimplifyWayDataSelectionListener. consumerprivate java.util.List<Way>JoinAreasAction.Multipolygon. innerWays(package private) javax.swing.JList<Way>SplitWayAction.SegmentToKeepSelectionDialog. list(package private) java.util.List<Way>SplitWayAction.SegmentToKeepSelectionDialog. newWaysprivate java.util.Collection<Way>CreateMultipolygonAction.CreateUpdateMultipolygonTask. selectedWaysprivate java.util.List<Way>SimplifyWayAction.SimplifyWayDataSelectionListener. wayListprivate java.util.List<Way>SimplifyWayAction.SimplifyChangeListener. waysMethods in org.openstreetmap.josm.actions that return Way Modifier and Type Method Description private WaySelectNonBranchingWaySequences. findWay(java.util.Collection<OsmPrimitive> selection)Finds out if the current selection can be extended.private static WaySelectNonBranchingWaySequences. findWay(java.util.Collection<OsmPrimitive> selection, Node node)Finds out if the current selection can be extended.WayJoinAreasAction.Multipolygon. getOuterWay()Returns the outer way.protected static WayCombineWayAction. getTargetWay(java.util.Collection<Way> combinedWays)private WayJoinAreasAction. joinOrientedWays(java.util.List<JoinAreasAction.WayInPolygon> ways)Joins a list of ways (using CombineWayAction and ReverseWayAction as specified in WayInPath)private WayJoinAreasAction. 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 WayJoinAreasAction. keepOlder(Way way, java.util.Map<Node,Way> oldestWayMap, java.util.List<Way> discardedWays)Create copy of given way using an older id so that we don't create a new way instead of a modified old one.Methods in org.openstreetmap.josm.actions that return types with arguments of type Way Modifier and Type Method Description static Pair<Way,Command>CombineWayAction. combineWaysWorker(java.util.Collection<Way> ways)Combine multiple ways into one.(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.java.util.List<Way>JoinAreasAction.Multipolygon. getInnerWays()Returns the inner ways.private java.util.List<Way>JoinAreasAction. splitWayOnNodes(Way way, java.util.Set<Node> nodes, java.util.Map<Node,Way> oldestWayMap)This is a method that splits way into smaller parts, using the prepared nodes list as split points.Methods in org.openstreetmap.josm.actions with parameters of type Way Modifier and Type Method Description private booleanUnGlueAction. addCheckedChangeNodesCmd(java.util.List<Command> cmds, Way w, java.util.List<Node> nodes)private voidSelectNonBranchingWaySequences. addNodes(Way way)Add the endpoints of the way to nodes, outerNodesprivate static java.util.List<java.util.List<Node>>JoinAreasAction. buildNodeChunks(Way way, java.util.Collection<Node> splitNodes)Simple chunking version.static SequenceCommandSimplifyWayAction. createSimplifyCommand(Way w)Creates the SequenceCommand to simplify a way with default threshold.static SequenceCommandSimplifyWayAction. createSimplifyCommand(Way w, double threshold)Creates the SequenceCommand to simplify a way with a given threshold.private static SequenceCommandSimplifyWayAction. createSimplifyCommand(Way w, double threshold, boolean deselect)Creates the SequenceCommand to simplify a way with a given threshold.(package private) static voidSplitWayAction. doSplitWay(Way way, Way wayToKeep, java.util.List<Way> newWays, java.util.List<OsmPrimitive> newSelection)static voidSplitWayAction. doSplitWayShowSegmentSelection(Way splitWay, java.util.List<Node> splitNodes, java.util.List<OsmPrimitive> selection)Perform way splitting after presenting the user with a choice which way segment history should be preserved (in expert mode)private voidJoinAreasAction. 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.private static java.util.Set<Node>SimplifyWayAction. getMultiUseNodes(Way w)Calculate a set of nodes which occurs more than once in the wayprotected static booleanSimplifyWayAction. isRequiredNode(Way way, Node node, java.util.Set<Node> multipleUseNodes)Replies true ifnodeis a required node which can't be removed in order to simplify the way.private WayJoinAreasAction. keepOlder(Way way, java.util.Map<Node,Way> oldestWayMap, java.util.List<Way> discardedWays)Create copy of given way using an older id so that we don't create a new way instead of a modified old one.private static java.util.List<Node>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.ReverseWayResultReverseWayAction. reverseWay(Way w)Reverses a given way.private java.util.List<Way>JoinAreasAction. splitWayOnNodes(Way way, java.util.Set<Node> nodes, java.util.Map<Node,Way> oldestWayMap)This is a method that splits way into smaller parts, using the prepared nodes list as split points.private booleanUnGlueAction. unglueClosedOrSelfCrossingWay(Way way, PropertiesMembershipChoiceDialog dialog)Duplicates a node used several times by the same way.private voidUnGlueAction. unglueOneNodeAtMostOneWay(Way way, PropertiesMembershipChoiceDialog dialog)Assumes there is one tagged Node stored in selectedNode that it will try to unglue.voidUploadSelectionAction.UploadHullBuilder. visit(Way w)Method parameters in org.openstreetmap.josm.actions with type arguments of type Way Modifier and Type Method Description (package private) voidSimplifyWayAction.SimplifyWayDataSelectionListener. addConsumer(java.util.function.Consumer<java.util.List<Way>> wayConsumer)private JoinAreasAction.RelationRoleJoinAreasAction. addOwnMultipolygonRelation(java.util.Collection<Way> inner)Will add own multipolygon relation to the "previously existing" relations.private static CommandAlignInLineAction. alignMultiWay(java.util.Collection<Way> ways)Align way in case of multiple way #6819static doubleSimplifyWayAction. askSimplifyWays(java.util.List<Way> ways, java.lang.String text, boolean auto)Asks the user for max-err value used to simplify ways, if not remembered beforeprivate static doubleSimplifyWayAction. askSimplifyWays(java.util.List<Way> ways, java.util.function.Supplier<java.lang.String> textSupplier, SimplifyWayAction.SimplifyWayDataSelectionListener listener, boolean auto)Asks the user for max-err value used to simplify ways, if not remembered beforeprivate static SequenceCommandSimplifyWayAction. buildSimplifyWaysCommand(java.util.List<Way> ways, double threshold)Creates the commands to simplify the ways with the given thresholdprotected java.util.Set<Relation>UnGlueAction. calcAffectedRelations(java.util.Collection<Way> ways)private static booleanCombineWayAction. checkAndConfirmCombineOutlyingWays(java.util.Collection<Way> ways)Check whether user is about to combine ways with unknown parents.private static booleanDistributeAction. checkDistributeNodes(java.util.Collection<Way> ways, java.util.Collection<Node> nodes)Test if nodes oriented algorithm applies to the selection.private static booleanDistributeAction. 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.static 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. collectNodesWithExternReferrers(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 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)protected static voidCombineWayAction. detectReversedWays(java.util.Collection<Way> ways, java.util.List<Node> path, java.util.List<Way> reversedWays, java.util.List<Way> unreversedWays)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 voidSplitWayAction. doSplitWay(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.(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.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 nodeprivate static RelationCreateMultipolygonAction. getSelectedMultipolygonRelation(java.util.Collection<Way> selectedWays, java.util.Collection<Relation> selectedRelations)protected static WayCombineWayAction. getTargetWay(java.util.Collection<Way> combinedWays)private static booleanUnGlueAction. isRelationAffected(Relation r, java.util.Set<Node> affectedNodes, java.util.Collection<Way> ways)voidJoinAreasAction. join(java.util.Collection<Way> ways)Joins the given ways.private static java.util.List<Node>CombineWayAction. joinWithMultipolygonCode(java.util.Collection<Way> ways)UseMultipolygon.joinWays(Collection)to join ways.private WayJoinAreasAction. keepOlder(Way way, java.util.Map<Node,Way> oldestWayMap, java.util.List<Way> discardedWays)Create copy of given way using an older id so that we don't create a new way instead of a modified old one.private WayJoinAreasAction. keepOlder(Way way, java.util.Map<Node,Way> oldestWayMap, java.util.List<Way> discardedWays)Create copy of given way using an older id so that we don't create a new way instead of a modified old one.private static 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.protected voidUnGlueAction. notifyWayPartOfRelation(java.util.Collection<Way> ways)private booleanJoinAreasAction. removeDuplicateNodes(java.util.List<Way> ways)This method removes duplicate points (if any) from the input ways.static voidSimplifyWayAction. simplifyWays(java.util.List<Way> ways, double threshold)Runs the commands to simplify the ways with the given thresholdstatic intSimplifyWayAction. simplifyWaysCountNodesRemoved(java.util.List<Way> ways, double threshold)Runs the commands to simplify the ways with the given thresholdprivate java.util.List<Way>JoinAreasAction. splitWayOnNodes(Way way, java.util.Set<Node> nodes, java.util.Map<Node,Way> oldestWayMap)This is a method that splits way into smaller parts, using the prepared nodes list as split points.private voidJoinAreasAction. stripTags(java.util.Collection<Way> ways)Remove all tags from the all the wayprotected static java.util.List<Node>CombineWayAction. tryJoin(java.util.Collection<Way> ways)static Pair<Relation,Relation>CreateMultipolygonAction. updateMultipolygonRelation(java.util.Collection<Way> selectedWays, Relation selectedMultipolygonRelation)Constructors in org.openstreetmap.josm.actions with parameters of type Way Constructor Description Line(Way way)Init a line equation from a way.Multipolygon(Way way)Constructs a newMultipolygon.SegmentToKeepSelectionDialog(Way selectedWay, java.util.List<Way> newWays, Way wayToKeep, java.util.List<Node> selectedNodes, java.util.List<OsmPrimitive> selection)WayInPolygon(Way way, boolean insideRight)Constructor parameters in org.openstreetmap.josm.actions with type arguments of type Way Constructor Description CreateUpdateMultipolygonTask(java.util.Collection<Way> selectedWays, Relation multipolygonRelation)SegmentToKeepSelectionDialog(Way selectedWay, java.util.List<Way> newWays, Way wayToKeep, java.util.List<Node> selectedNodes, java.util.List<OsmPrimitive> selection)SelectNonBranchingWaySequences(java.util.Collection<Way> ways)Creates a way selectionSimplifyChangeListener(javax.swing.JLabel nodesToRemove, javax.swing.SpinnerNumberModel errorModel, java.util.List<Way> ways)SimplifyWayDataSelectionListener(java.util.List<Way> wayList)Create a new selection listener forSimplifyWayAction -
Uses of Way in org.openstreetmap.josm.actions.corrector
Methods in org.openstreetmap.josm.actions.corrector that return types with arguments of type Way Modifier and Type Method Description static java.util.List<Way>ReverseWayTagCorrector. irreversibleWays(java.util.List<Way> ways)Returns the subset of irreversible ways.Methods in org.openstreetmap.josm.actions.corrector with parameters of type Way Modifier and Type Method Description static voidReverseWayNoTagCorrector. checkAndConfirmReverseWay(Way way)Checks the given way can be safely reversed and asks user to confirm the operation if it not the case.private static booleanReverseWayNoTagCorrector. confirmReverseWay(Way way, TagCollection tags)java.util.Collection<Command>ReverseWayTagCorrector. execute(Way oldway, Way way)(package private) static java.util.List<RoleCorrection>ReverseWayTagCorrector. getRoleCorrections(Way oldway)(package private) static java.util.Map<OsmPrimitive,java.util.List<TagCorrection>>ReverseWayTagCorrector. getTagCorrectionsMap(Way way)static booleanReverseWayTagCorrector. isReversible(Way way)Tests whether way can be reversed without semantic change, i.e., whether tags have to be changed.Method parameters in org.openstreetmap.josm.actions.corrector with type arguments of type Way Modifier and Type Method Description static java.util.List<Way>ReverseWayTagCorrector. irreversibleWays(java.util.List<Way> ways)Returns the subset of irreversible ways. -
Uses of Way in org.openstreetmap.josm.actions.mapmode
Fields in org.openstreetmap.josm.actions.mapmode declared as Way Modifier and Type Field Description private WaySplitMode.SplitWayActionConcrete. splitWayprivate WayImproveWayAccuracyAction. targetWayFields in org.openstreetmap.josm.actions.mapmode with type parameters of type Way Modifier and Type Field Description private java.util.Set<Way>DrawAction. mouseOnExistingWaysprivate java.util.Set<Way>ParallelWayAction. sourceWaysprivate java.util.List<Way>ParallelWays. waysMethods in org.openstreetmap.josm.actions.mapmode that return Way Modifier and Type Method Description static WayImproveWayAccuracyHelper. findWay(MapView mv, java.awt.Point p)Finds the way to work on.static WayDrawAction. getWayForNode(Node n)Replies the parent way of a node, if it is the end of exactly one usable way.Methods in org.openstreetmap.josm.actions.mapmode that return types with arguments of type Way Modifier and Type Method Description private static java.util.List<Way>SplitMode. getApplicableWays(Node n, java.util.Collection<Way> preferredWays)Get a list of potential ways to be split for a given nodejava.util.List<Way>ParallelWays. getWays()Returns the resulting parallel ways.Methods in org.openstreetmap.josm.actions.mapmode with parameters of type Way Modifier and Type Method Description private voidSplitMode. addNodeAndSplit(MapView mv, java.awt.Point mousePos, Way way)Add a node to a way and then split itprivate voidParallelWayAction. addSourceWay(Way w)private voidDrawAction. continueWayFromNode(Way way, Node node)if one of the ends ofwayis givennode, then set currentBaseNode = node and previousNode = adjacent node of waystatic NodeImproveWayAccuracyHelper. findCandidateNode(MapView mv, Way w, java.awt.Point p)Returns the nearest node to cursor.static WaySegmentImproveWayAccuracyHelper. findCandidateSegment(MapView mv, Way w, java.awt.Point p)Returns the nearest way segment to cursor.private NodeDrawAction. findNodeToContinueFrom(Node selectedNode, Way selectedWay)Finds a node to continue drawing from.private static booleanExtrudeAction. hasNodeOtherWays(Node node, Way myWay)This method tests ifnodehas other ways apart from the given one.private booleanDrawAction. 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 voidParallelWayAction. removeSourceWay(Way w)voidImproveWayAccuracyAction. startImproving(Way targetWay)Switches to Improving stateMethod parameters in org.openstreetmap.josm.actions.mapmode with type arguments of type Way Modifier and Type Method Description private javax.swing.JPopupMenuSplitMode. createPopup(Node n, java.util.Collection<Way> applicableWays)Create a new split way selection popupprivate static java.util.List<Way>SplitMode. getApplicableWays(Node n, java.util.Collection<Way> preferredWays)Get a list of potential ways to be split for a given nodeprivate static java.lang.StringDrawAction. getTitle(boolean newNode, Node n, java.util.Collection<OsmPrimitive> newSelection, java.util.Map<Way,java.util.List<Node>> reuseWays, boolean extendedWay)private voidDrawAction. insertNodeIntoAllNearbySegments(java.util.List<WaySegment> wss, Node n, java.util.Collection<OsmPrimitive> newSelection, java.util.Collection<Command> cmds, java.util.Map<Way,java.util.List<Node>> reuseWays)private static voidParallelWayAction. removeWayHighlighting(java.util.Collection<Way> ways)Constructors in org.openstreetmap.josm.actions.mapmode with parameters of type Way Constructor Description SplitWayActionConcrete(Way splitWay, java.util.List<Node> splitNodes, java.util.List<OsmPrimitive> selection)Construct an action to split waysplitWayat nodessplitNodesConstructor parameters in org.openstreetmap.josm.actions.mapmode with type arguments of type Way Constructor Description ParallelWays(java.util.Collection<Way> sourceWays, boolean copyTags, int refWayIndex)Constructs a newParallelWays. -
Uses of Way in org.openstreetmap.josm.command
Fields in org.openstreetmap.josm.command declared as Way Modifier and Type Field Description private WaySplitWayCommand. originalWayprotected WayAbstractNodesCommand. wayFields in org.openstreetmap.josm.command with type parameters of type Way Modifier and Type Field Description private java.util.Set<Way>SplitWayCommand.RelationAnalysis. neededIncompleteMembersprivate java.util.List<Way>SplitWayCommand. newWaysMethods in org.openstreetmap.josm.command that return Way Modifier and Type Method Description WaySplitWayCommand.Strategy. determineWayToKeep(java.lang.Iterable<Way> wayChunks)Determines which way chunk should reuse the old id and its history.WaySplitWayCommand. getOriginalWay()Replies the original way being splitMethods in org.openstreetmap.josm.command that return types with arguments of type Way Modifier and Type Method Description 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.java.util.Set<Way>SplitWayCommand.RelationAnalysis. getNeededIncompleteMembers()java.util.List<Way>SplitWayCommand. getNewWays()Replies the resulting new waysMethods in org.openstreetmap.josm.command with parameters of type Way Modifier and Type Method Description (package private) static SplitWayCommand.AnalysisSplitWayCommand. analyseSplit(Way way, Way wayToKeep, java.util.List<Way> newWays)static java.util.List<java.util.List<Node>>SplitWayCommand. buildSplitChunks(Way wayToSplit, java.util.List<Node> splitPoints)Splits the nodes ofwayToSplitinto a list of node sequences which are separated at the nodes insplitPoints.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 java.util.Optional<SplitWayCommand>SplitWayCommand. doSplitWay(Way way, Way wayToKeep, java.util.List<Way> newWays, java.util.List<OsmPrimitive> newSelection, SplitWayCommand.WhenRelationOrderUncertain whenRelationOrderUncertain)Effectively constructs theSplitWayCommand.static SplitWayCommandSplitWayCommand. split(Way way, java.util.List<Node> atNodes, java.util.Collection<? extends OsmPrimitive> selection)Splits the waywayat the nodes inatNodesand replies the result of this process in an instance ofSplitWayCommand.(package private) static SplitWayCommandSplitWayCommand. splitBasedOnAnalyses(Way way, java.util.List<Way> newWays, java.util.List<OsmPrimitive> newSelection, SplitWayCommand.Analysis analysis, int indexOfWayToKeep)static SplitWayCommandSplitWayCommand. splitWay(Way way, java.util.List<java.util.List<Node>> wayChunks, java.util.Collection<? extends OsmPrimitive> selection)Splits the waywayinto chunks ofwayChunksand replies the result of this process in an instance ofSplitWayCommand.static SplitWayCommandSplitWayCommand. splitWay(Way way, java.util.List<java.util.List<Node>> wayChunks, java.util.Collection<? extends OsmPrimitive> selection, SplitWayCommand.Strategy splitStrategy)Splits the waywayinto chunks ofwayChunksand replies the result of this process in an instance ofSplitWayCommand.static java.util.Optional<SplitWayCommand>SplitWayCommand. splitWay(Way way, java.util.List<java.util.List<Node>> wayChunks, java.util.Collection<? extends OsmPrimitive> selection, SplitWayCommand.Strategy splitStrategy, SplitWayCommand.WhenRelationOrderUncertain whenRelationOrderUncertain)Splits the waywayinto chunks ofwayChunksand replies the result of this process in an instance ofSplitWayCommand.private static SplitWayCommand.RelationInformationSplitWayCommand. treatAsRestriction(Relation r, RelationMember rm, Relation c, java.util.Collection<Way> newWays, Way way, java.util.List<Node> changedWayNodes)voidCommand.CloneVisitor. visit(Way w)Method parameters in org.openstreetmap.josm.command with type arguments of type Way Modifier and Type Method Description private static voidSplitWayCommand. addSortedWays(int position, int indexOfWayToKeep, SplitWayCommand.Direction direction, java.util.List<Way> newWays, Relation relation)Add ways in a sorted manner(package private) static SplitWayCommand.AnalysisSplitWayCommand. analyseSplit(Way way, Way wayToKeep, java.util.List<Way> newWays)WaySplitWayCommand.Strategy. determineWayToKeep(java.lang.Iterable<Way> wayChunks)Determines which way chunk should reuse the old id and its history.static java.util.Optional<SplitWayCommand>SplitWayCommand. doSplitWay(Way way, Way wayToKeep, java.util.List<Way> newWays, java.util.List<OsmPrimitive> newSelection, SplitWayCommand.WhenRelationOrderUncertain whenRelationOrderUncertain)Effectively constructs theSplitWayCommand.private static booleanSplitWayCommand. needToReverseSplit(int position, int indexOfWayToKeep, Relation relation, java.util.List<Way> newWays)This is only strictly necessary when we are splitting a route where it starts to loop back.(package private) static SplitWayCommandSplitWayCommand. splitBasedOnAnalyses(Way way, java.util.List<Way> newWays, java.util.List<OsmPrimitive> newSelection, SplitWayCommand.Analysis analysis, int indexOfWayToKeep)private static SplitWayCommand.RelationInformationSplitWayCommand. treatAsRestriction(Relation r, RelationMember rm, Relation c, java.util.Collection<Way> newWays, Way way, java.util.List<Node> changedWayNodes)Constructors in org.openstreetmap.josm.command with parameters of type Way Constructor Description AbstractNodesCommand(DataSet ds, Way way, C cmdNodes)Constructs a newAbstractNodesCommand.AbstractNodesCommand(Way way, C cmdNodes)Constructs a newAbstractNodesCommand.ChangeNodesCommand(DataSet ds, Way way, java.util.List<Node> newNodes)Constructs a newChangeNodesCommand.ChangeNodesCommand(Way way, java.util.List<Node> newNodes)Constructs a newChangeNodesCommand.RemoveNodesCommand(DataSet ds, Way way, java.util.Set<Node> rmNodes)Constructs a newRemoveNodesCommand.RemoveNodesCommand(Way way, java.util.Set<Node> rmNodes)Constructs a newRemoveNodesCommand.SplitWayCommand(java.lang.String name, java.util.Collection<Command> commandList, java.util.List<? extends PrimitiveId> newSelection, Way originalWay, java.util.List<Way> newWays)Create a newSplitWayCommand.Constructor parameters in org.openstreetmap.josm.command with type arguments of type Way Constructor Description RelationAnalysis(Relation relation, RelationMember relationMember, SplitWayCommand.Direction direction, java.util.Set<Way> neededIncompleteMembers) -
Uses of Way in org.openstreetmap.josm.command.conflict
Fields in org.openstreetmap.josm.command.conflict with type parameters of type Way Modifier and Type Field Description private Conflict<Way>WayNodesConflictResolverCommand. conflictthe conflict to resolve -
Uses of Way in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type Way Modifier and Type Field Description private QuadBucketPrimitiveStore<Node,Way,Relation>DataSet. storejava.util.List<Way>MultipolygonBuilder.JoinedPolygon. wayslist of ways building this polygonMethods in org.openstreetmap.josm.data.osm that return Way Modifier and Type Method Description WayDataSet. getLastSelectedWay()Returns the way selected last or null if no way primitives were selected or selection is empty.WayRelationMember. getWay()Returns the relation member as a way.private static WayOsmUtils. newWay(LatLon around, boolean enforceLocation)WayWaySegment. toWay()Returns this way segment as complete way.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type Way Modifier and Type Method Description java.util.List<Way>Node. getParentWays()Replies the list of referring ways.java.util.Collection<Way>DataSet. getWays()java.util.List<Way>DataSet. searchWays(BBox bbox)java.util.Set<Way>DataSet. unlinkNodeFromWays(Node node)Removes all references from ways in this dataset to a particular node.Methods in org.openstreetmap.josm.data.osm with parameters of type Way Modifier and Type Method Description static java.util.List<NodePair>NodeGraph. buildNodePairs(Way way, boolean directed)Builds a list of pair of nodes from the given way.booleanDataSet. containsWay(Way w)Determines if the given way can be retrieved in the data set through its bounding box.private static voidDataSet. deleteWay(Way way)(package private) voidDataSet. fireWayNodesChanged(Way way)protected voidDataSetMerger. fixIncomplete(Way other)static WaySegmentWaySegment. forNodePair(Way way, Node first, Node second)Determines and returns the way segment for the given way and node pair.private voidDataSetMerger. mergeNodeList(Way source)Merges the node list of a source way onto its target way.Method parameters in org.openstreetmap.josm.data.osm with type arguments of type Way Modifier and Type Method Description static java.util.List<NodePair>NodeGraph. buildNodePairs(java.util.List<Way> ways, boolean directed)Builds a list of pair of nodes from the given ways.static NodeGraphNodeGraph. createDirectedGraphFromWays(java.util.Collection<Way> ways)Create a directed graph from the given ways.static NodeGraphNodeGraph. createNearlyUndirectedGraphFromNodeWays(java.util.Collection<Way> ways)Create a nearly undirected graph from the given ways, but prevent reversing of all non-new ways by fixing one direction.static NodeGraphNodeGraph. createUndirectedGraphFromNodeWays(java.util.Collection<Way> ways)Create an undirected graph from the given ways, but prevent reversing of all non-new ways by fixing one direction.static java.util.List<MultipolygonBuilder.JoinedPolygon>MultipolygonBuilder. joinWays(java.util.Collection<Way> ways)Joins the givenwaysto multipolygon rings.java.lang.StringMultipolygonBuilder. makeFromWays(java.util.Collection<Way> ways)Splits ways into inner and outer JoinedWays.Constructors in org.openstreetmap.josm.data.osm with parameters of type Way Constructor Description JoinedPolygon(Way way)Creates a polygon from single way.Way(Way original)Constructs a newWayfrom an existingWay(including its id).Way(Way original, boolean clearMetadata)Constructs a newWayfrom an existingWay.Way(Way original, boolean clearMetadata, boolean copyNodes)Constructs a newWayfrom an existingWay.WaySegment(Way way, int i)Constructs a newIWaySegment.Constructor parameters in org.openstreetmap.josm.data.osm with type arguments of type Way Constructor Description JoinedPolygon(java.util.List<Way> ways, java.util.List<java.lang.Boolean> reversed)Constructs a newJoinedPolygonfrom given list of ways. -
Uses of Way in org.openstreetmap.josm.data.osm.event
Fields in org.openstreetmap.josm.data.osm.event declared as Way Modifier and Type Field Description private WayWayNodesChangedEvent. wayMethods in org.openstreetmap.josm.data.osm.event that return Way Modifier and Type Method Description WayWayNodesChangedEvent. getChangedWay()Returns the way affected by the change.Constructors in org.openstreetmap.josm.data.osm.event with parameters of type Way Constructor Description WayNodesChangedEvent(DataSet dataSet, Way way)Constructs a newWayNodesChangedEvent. -
Uses of Way in org.openstreetmap.josm.data.osm.history
Constructors in org.openstreetmap.josm.data.osm.history with parameters of type Way Constructor Description HistoryWay(Way w)Constructs a newHistoryWayfrom an existingWay. -
Uses of Way in org.openstreetmap.josm.data.osm.visitor
Methods in org.openstreetmap.josm.data.osm.visitor with parameters of type Way Modifier and Type Method Description protected voidMergeSourceBuildingVisitor. rememberWay(Way w)remembers a way in the hullvoidAllNodesVisitor. visit(Way w)Ways have their way nodes.voidBoundingXYVisitor. visit(Way w)voidMergeSourceBuildingVisitor. visit(Way w)voidOsmPrimitiveVisitor. visit(Way w)Visiting call for lines. -
Uses of Way in org.openstreetmap.josm.data.osm.visitor.paint.relations
Fields in org.openstreetmap.josm.data.osm.visitor.paint.relations with type parameters of type Way Modifier and Type Field Description private java.util.List<Way>Multipolygon. innerWaysprivate java.util.List<Way>Multipolygon. outerWaysMethods in org.openstreetmap.josm.data.osm.visitor.paint.relations that return types with arguments of type Way Modifier and Type Method 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.Method parameters in org.openstreetmap.josm.data.osm.visitor.paint.relations with type arguments of type Way Modifier and Type Method Description private voidMultipolygon. 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)Attempt to combine the ways in the list if they share common end nodesConstructors in org.openstreetmap.josm.data.osm.visitor.paint.relations with parameters of type Way Constructor Description PolyData(Way closedWay)Constructs a newPolyDatafrom a closed way. -
Uses of Way in org.openstreetmap.josm.data.validation
Methods in org.openstreetmap.josm.data.validation with parameters of type Way Modifier and Type Method Description voidTest.TagTest. visit(Way w)voidTest. visit(Way w) -
Uses of Way in org.openstreetmap.josm.data.validation.tests
Fields in org.openstreetmap.josm.data.validation.tests declared as Way Modifier and Type Field Description WayUnconnectedWays.MyWaySegment. wthe wayFields in org.openstreetmap.josm.data.validation.tests with type parameters of type Way Modifier and Type Field Description private java.util.Map<java.awt.geom.Point2D,java.util.List<Way>>SimilarNamedWays. cellWaysAll ways, grouped by cellsprivate java.util.List<Way>Coastlines. coastlineWaysprivate MultiMap<Way,Way>SimilarNamedWays. errorWaysThe already detected errorsprivate MultiMap<Way,Way>SimilarNamedWays. errorWaysThe already detected errorsprivate java.util.Collection<Way>PowerLines. foundPowerLinesprivate java.util.Map<java.util.List<Way>,java.util.List<WaySegment>>CrossingWays. seenWaysThe already detected ways in errorprivate java.util.Set<Way>CycleDetector. usableWaterwaysAll waterways for cycle detectionprivate java.util.Set<Way>LongSegment. visitedWaysset of visited ways.private java.util.List<Way>DuplicateWay. waysToCheckprivate java.util.Set<Way>CrossingWays. waysToTestprivate java.util.Set<Way>UnconnectedWays. waysToTestprivate java.util.Set<Way>UntaggedWay. waysUsedInRelationsprivate java.util.Set<Way>PowerLines. wrongLineTypeMethods in org.openstreetmap.josm.data.validation.tests that return Way Modifier and Type Method Description protected WayUnconnectedWays. getWantedParentWay(Node endnode)An unconnected node might have multiple parent ways, e.g.Methods in org.openstreetmap.josm.data.validation.tests that return types with arguments of type Way Modifier and Type Method Description private java.util.Collection<Way>CrossingWays. addNearbyObjects()private java.util.Collection<Way>CycleDetector. buildGraph(Way way)Returns a collection of ways, which belongs to the same graph.private static java.util.Map<java.util.List<Way>,java.util.List<WaySegment>>MultipolygonTest. findIntersectingWays(Relation r, boolean findSharedWaySegments)SeeCrossingWaysprivate java.util.Collection<java.util.Collection<Way>>CycleDetector. getGraphs()Returns all directional waterways which connect to at least one other usable way.Methods in org.openstreetmap.josm.data.validation.tests with parameters of type Way Modifier and Type Method Description private voidCoastlines. addError(int errCode, Way w, java.util.Collection<Way> otherWays, Node n)Add error if not already doneprivate voidWayConnectedToArea. addPossibleError(Way w, Node wayNode, OsmPrimitive p, OsmPrimitive area)private voidPowerLines. addWaterWaySegments(Way w)Add segments to the appropriate cellsprivate static booleanCrossingWays. areLayerOrLevelDifferent(Way w1, Way w2)private java.util.Collection<Way>CycleDetector. buildGraph(Way way)Returns a collection of ways, which belongs to the same graph.private voidSharpAngles. checkAngle(Node node1, Node node2, Node node3, int i, Way way, boolean last)protected static java.util.Set<WaySegment>OverlappingWays. checkDuplicateWaySegment(Way w)private voidTurnrestrictionTest. checkIfConnected(Relation r, Way previous, Way current, java.lang.String msg, int code)private voidCoastlines. checkIfReversed(Way w, Way other, Node n1)Check if a reversed way would fit, if yes, add fixable "reversed" error, "unordered" elseprivate voidDuplicateWay. checkWay(Way w)voidSharpAngles. checkWayForSharpAngles(Way way)Check nodes in a way for sharp angles(package private) CrossingWays.MessageHelperCrossingWays. createMessage(Way w1, Way w2)(package private) CrossingWays.MessageHelperCrossingWays.Ways. createMessage(Way w1, Way w2)private voidSharpAngles. createNearlyOverlappingError(double angle, Way way, OsmPrimitive primitive)(package private) static booleanPowerLines. detectDiscontinuity(Way way, java.util.Set<OsmPrimitive> nRefDiscontinuities, java.util.List<java.util.Set<Node>> sRefDiscontinuities)Detects ref=* numbering discontinuities in the given way.private static voidPowerLines. findCrossings(java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> ways, Way parent, java.util.Set<Way> crossingWays, java.util.Set<ILatLon> crossingPositions)Searches for way intersections, which intersect thepairattribute.static voidCrossingWays. findIntersectingWay(Way w, java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> cellSegments, java.util.Map<java.util.List<Way>,java.util.List<WaySegment>> crossingWays, boolean findSharedWaySegments)Find ways which are crossing without sharing a node.private static java.util.Set<java.lang.String>CrossingWays.Boundaries. getBoundaryTags(Way w)Collect all boundary tag values of the way and its parent relationsstatic 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.TestErrorUnclosedWays.UnclosedWaysCheck. getTestError(Way w, UnclosedWays test)Returns the test error of the given way, if any.(package private) java.util.List<UnconnectedWays.MyWaySegment>UnconnectedWays. getWaySegments(Way w)private voidHighways. handleCarWay(Node n, Way w)private voidHighways. handleCyclistWay(Node n, Way w)private voidHighways. handlePedestrianWay(Node n, Way w)private booleanLongSegment. ignoreWay(Way w)(package private) booleanCrossingWays.Boundaries. ignoreWaySegmentCombination(Way w1, Way w2)(package private) abstract booleanCrossingWays. ignoreWaySegmentCombination(Way w1, Way w2)(package private) booleanCrossingWays.SelfCrossing. ignoreWaySegmentCombination(Way w1, Way w2)(package private) booleanCrossingWays.Ways. ignoreWaySegmentCombination(Way w1, Way w2)private booleanUnconnectedWays.MyWaySegment. isConnectedTo(Node node, java.util.Set<Node> visited, double len, Way parent)Check if the given node is connected to this segment using a reasonable short way.private static booleanPowerLines. isConnectedToStationLine(Node n, Way w)Determines if the current node connected to a line which usually used inside power stations.private static booleanCycleDetector. isConsecutive(Way w, Node n, Node m)Determines if the given nodes are consecutive part of the parent way.private static booleanPowerLines. isContinuesAsMinorLine(Way way)Checks if the way continues as a power=minor_line.private static booleanTurnrestrictionTest. isFullOneway(Way w)static booleanHighways. isHighwayLinkOkay(Way way)Determines if the given link road is correct, see https://wiki.openstreetmap.org/wiki/Highway_link.private booleanUnconnectedWays.MyWaySegment. isObstacle(Way w)private static booleanOverlappingWays. isOtherLinear(Way way)protected static booleanPowerLines. isPowerLine(Way w)Determines if the specified way denotes a power line.private static booleanPowerLines. isRelatedToPower(Way way)static booleanCrossingWays. isSelfCrossing(Way way)Check if the given way is self crossingstatic booleanSelfIntersectingWay. isSelfIntersecting(Way way)Check if the given way is self-intersectingprivate static booleanHighways. isSpecialArea(Way w)Check if way is an area on a layer above or below 0.private static booleanDirectionNodes. isSuitableParentWay(Way w)protected booleanUnconnectedWays. isWantedWay(Way w)(package private) static CrossingWays.WayTypeCrossingWays.WayType. of(Way w)private voidPowerLines. powerlineChecks(Way w)The base powerline checksprivate voidSharpAngles. processSharpAngleForErrorCreation(double angle, int i, Way way, boolean last, Node pointNode)private voidWronglyOrderedWays. reportError(Way w, java.lang.String msg, int type)private voidPowerLines.RefChecker. run(Way way)booleanSharpAngles. shouldBeTestedForSharpAngles(Way way)Check whether a way should be checked for sharp anglesprivate voidWayConnectedToArea. testForError(Way w, Node wayNode, OsmPrimitive p)private voidHighways. testHighwayLink(Way way)private voidCrossingWays. testWay(Way w)private voidLongSegment. testWay(Way w)private voidHighways. testWrongRoundabout(Way w)voidAddresses. visit(Way w)voidApiCapabilitiesTest. visit(Way w)voidCoastlines. visit(Way way)voidCrossingWays. visit(Way w)voidCycleDetector. visit(Way w)voidDuplicatedWayNodes. visit(Way w)voidDuplicateWay. visit(Way w)voidHighways. visit(Way w)voidLongSegment. visit(Way w)voidOverlappingWays. visit(Way w)voidPowerLines. visit(Way w)voidRightAngleBuildingTest. visit(Way w)voidSelfIntersectingWay. visit(Way w)voidSharpAngles. visit(Way way)voidSimilarNamedWays. visit(Way w)voidUnclosedWays. visit(Way w)voidUnconnectedWays. visit(Way w)voidUntaggedWay. visit(Way w)voidWayConnectedToArea. visit(Way w)voidWronglyOrderedWays. visit(Way w)private voidLongSegment. visitWaySegment(Way w, int i)Method parameters in org.openstreetmap.josm.data.validation.tests with type arguments of type Way Modifier and Type Method Description private voidCoastlines. addError(int errCode, Way w, java.util.Collection<Way> otherWays, Node n)Add error if not already doneprivate voidOverlappingWays. analyseOverlaps(java.util.Set<WaySegment> duplicated, java.util.Map<java.util.List<Way>,java.util.Set<WaySegment>> seenWays)protected voidAddresses. checkDistance(OsmPrimitive house, java.util.Collection<Way> street)private static booleanHighways. checkLayer(Node connection, java.util.List<Way> ways)Check if there are at least two neighbouring nodes on the given ways.private static voidPowerLines. findCrossings(java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> ways, Way parent, java.util.Set<Way> crossingWays, java.util.Set<ILatLon> crossingPositions)Searches for way intersections, which intersect thepairattribute.private static booleanMultipolygonTest. hasIntersectionWay(Multipolygon.PolyData pd, java.util.Set<Way> intersectionWays)Simple check if given ring contains way that is known to intersect.RelationMultipolygonTest. makeFromWays(java.util.Collection<Way> ways)Create a multipolygon relation from the given ways and test it.Constructors in org.openstreetmap.josm.data.validation.tests with parameters of type Way Constructor Description MyWaySegment(Way w, Node n1, Node n2, boolean concersArea)RefChecker(Way way) -
Uses of Way in org.openstreetmap.josm.data.validation.util
Methods in org.openstreetmap.josm.data.validation.util that return types with arguments of type Way Modifier and Type Method 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.Methods in org.openstreetmap.josm.data.validation.util with parameters of type Way Modifier and Type Method 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.voidAggregatePrimitivesVisitor. visit(Way w)voidNameVisitor. visit(Way w)If the way has a name-key or id-key, this is displayed.Method parameters in org.openstreetmap.josm.data.validation.util with type arguments of type Way Modifier and Type Method 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. -
Uses of Way in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui that return Way Modifier and Type Method Description WayNavigatableComponent. getNearestWay(java.awt.Point p, java.util.function.Predicate<OsmPrimitive> predicate)The *result* depends on the current map selection state.Methods in org.openstreetmap.josm.gui that return types with arguments of type Way Modifier and Type Method Description java.util.List<Way>NavigatableComponent. getNearestWays(java.awt.Point p, java.util.Collection<Way> 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<Way>NavigatableComponent. getNearestWays(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*.Method parameters in org.openstreetmap.josm.gui with type arguments of type Way Modifier and Type Method Description java.util.List<Way>NavigatableComponent. getNearestWays(java.awt.Point p, java.util.Collection<Way> ignore, java.util.function.Predicate<OsmPrimitive> predicate)The *result* does not depend on the current map selection state, neither does the result *order*.voidMapStatus. setDist(java.util.Collection<Way> ways)Sets the distance text to the total sum of given ways length -
Uses of Way in org.openstreetmap.josm.gui.conflict.pair.nodes
Methods in org.openstreetmap.josm.gui.conflict.pair.nodes with parameters of type Way Modifier and Type Method Description voidNodeListMergeModel. populate(Way my, Way their, java.util.Map<PrimitiveId,PrimitiveId> mergedMap) -
Uses of Way in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type Way Modifier and Type Method Description voidConflictDialog.ConflictPainter. visit(Way w) -
Uses of Way in org.openstreetmap.josm.gui.dialogs.relation.sort
Methods in org.openstreetmap.josm.gui.dialogs.relation.sort with parameters of type Way Modifier and Type Method Description private static booleanWayConnectionTypeCalculator. isConnected(Way way1, Way way2) -
Uses of Way in org.openstreetmap.josm.gui.history
Methods in org.openstreetmap.josm.gui.history with parameters of type Way Modifier and Type Method Description voidHistoryBrowserModel.HistoryPrimitiveBuilder. visit(Way w) -
Uses of Way in org.openstreetmap.josm.gui.layer
Methods in org.openstreetmap.josm.gui.layer with parameters of type Way Modifier and Type Method Description voidOsmDataLayer.DataCountVisitor. visit(Way w)Method parameters in org.openstreetmap.josm.gui.layer with type arguments of type Way Modifier and Type Method Description private static voidOsmDataLayer. waysToGpxData(java.util.Collection<Way> ways, GpxData gpxData, java.util.Set<Node> doneNodes, java.lang.String gpxPrefix) -
Uses of Way in org.openstreetmap.josm.gui.layer.validation
Methods in org.openstreetmap.josm.gui.layer.validation with parameters of type Way Modifier and Type Method Description voidPaintVisitor. visit(Way w) -
Uses of Way in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint with type parameters of type Way Modifier and Type Field Description java.util.Map<IPrimitive,java.util.Map<java.util.List<Way>,java.util.List<WaySegment>>>Environment. crossingWaysMapCrossing ways result from CrossingFinder, filled for incomplete ways/relations -
Uses of Way in org.openstreetmap.josm.gui.mappaint.mapcss
Methods in org.openstreetmap.josm.gui.mappaint.mapcss that return types with arguments of type Way Modifier and Type Method Description private java.util.Map<java.util.List<Way>,java.util.List<WaySegment>>Selector.ChildOrParentSelector.CrossingFinder. findCrossings(IPrimitive area, java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> cellSegments) -
Uses of Way in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io with type parameters of type Way Modifier and Type Field Description private static java.util.Set<Way>GeoJSONWriter. processedMultipolygonWaysMethods in org.openstreetmap.josm.io that return Way Modifier and Type Method Description protected WayAbstractReader. parseWay(AbstractReader.CommonReader commonReader, AbstractReader.WayReader wayReader)protected WayOsmReader. parseWay()Methods in org.openstreetmap.josm.io that return types with arguments of type Way Modifier and Type Method Description private java.util.Optional<Way>GeoJSONReader. createWay(jakarta.json.JsonArray coordinates, boolean autoClose)private java.util.Optional<Way>GeoJSONReader. parseLineString(jakarta.json.JsonObject feature, jakarta.json.JsonArray coordinates)Methods in org.openstreetmap.josm.io with parameters of type Way Modifier and Type Method Description MultiFetchServerObjectReaderMultiFetchServerObjectReader. appendWay(Way way)appends aWayid and the list of ids of nodes the way refers to the list of ids which will be fetched from the server.voidGeoJSONWriter.GeometryPrimitiveVisitor. visit(Way w)Method parameters in org.openstreetmap.josm.io with type arguments of type Way Modifier and Type Method Description voidOsmWriter. writeWays(java.util.Collection<Way> ways)Writes the given ways sorted by id -
Uses of Way in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools with parameters of type Way Modifier and Type Method Description private static voidRightAndLefthandTraffic. addWayIfNotInner(java.util.Collection<Way> ways, Way w)Adds w to ways, except if it is an inner way of another lefthand driving multipolygon, as Lesotho in South Africa and Cyprus village in British Cyprus base.static doubleGeometry. closedWayArea(Way way)Returns area of a closed way in square meters.static WaySegmentGeometry. getClosestWaySegment(Way way, OsmPrimitive primitive)Get the closestWaySegmentfrom a way to a primitive.static doubleGeometry. getDistanceWayNode(Way way, Node node)Get the distance between a way and a nodestatic doubleGeometry. getDistanceWayWay(Way w1, Way w2)Get the distance between different ways.static java.lang.DoubleRotationAngle.WayDirectionRotationAngle. getRotationAngleForNodeOnWay(Node n, Way w)Calculates the rotation angle of a node in a way based on the preceding way segment.static booleanGeometry. isClockwise(Way w)Determines whether a way is oriented clockwise.Method parameters in org.openstreetmap.josm.tools with type arguments of type Way Modifier and Type Method 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.private static voidRightAndLefthandTraffic. addWayIfNotInner(java.util.Collection<Way> ways, Way w)Adds w to ways, except if it is an inner way of another lefthand driving multipolygon, as Lesotho in South Africa and Cyprus village in British Cyprus base.(package private) static voidRightAndLefthandTraffic. appendLeftDrivingBoundaries(OsmPrimitive osm, java.util.Collection<Way> ways)static booleanGeometry. isNodeInsideMultiPolygon(INode node, Relation multiPolygon, java.util.function.Predicate<Way> isOuterWayAMatch)Tests if thenodeis inside the multipolygonmultiPolygon.static booleanGeometry. isPolygonInsideMultiPolygon(java.util.List<? extends INode> nodes, Relation multiPolygon, java.util.function.Predicate<Way> isOuterWayAMatch)Tests if the polygon formed bynodesis inside the multipolygonmultiPolygon.static booleanGeometry. isPolygonInsideMultiPolygon(java.util.List<? extends INode> nodes, Pair<java.util.List<MultipolygonBuilder.JoinedPolygon>,java.util.List<MultipolygonBuilder.JoinedPolygon>> outerInner, java.util.function.Predicate<Way> isOuterWayAMatch)Tests if the polygon formed bynodesis inside the multipolygonmultiPolygon.Constructor parameters in org.openstreetmap.josm.tools with type arguments of type Way Constructor Description DefaultGeoProperty(java.util.Collection<Way> ways)Create DefaultGeoProperty based on a collection of closed ways.
-