Uses of Class
org.openstreetmap.josm.data.osm.WaySegment
-
Packages that use WaySegment Package Description org.openstreetmap.josm.actions Provides the classes for JOSM user actions.org.openstreetmap.josm.actions.mapmode Provides the classes for JOSMmap modes.org.openstreetmap.josm.command Provides the classes for JOSM commands allowing to modify an OSM data set.org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives:Node,Way,RelationUsersTagsChangesetsUtilities classesorg.openstreetmap.josm.data.osm.visitor.paint Provides the classes for painting (rendering) OSM primitives on the map.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.vector Provides classes for vector data like Mapbox Vector Tiles.org.openstreetmap.josm.gui Provides the classes for JOSM graphical user interface.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.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.tools Provides the classes for various utilities and tools called from all other packages. -
-
Uses of WaySegment in org.openstreetmap.josm.actions
Method parameters in org.openstreetmap.josm.actions with type arguments of type WaySegment Modifier and Type Method Description protected voidSplitWayAction.SegmentToKeepSelectionDialog. setHighlightedWaySegments(java.util.Collection<WaySegment> segments) -
Uses of WaySegment in org.openstreetmap.josm.actions.mapmode
Fields in org.openstreetmap.josm.actions.mapmode declared as WaySegment Modifier and Type Field Description private WaySegmentImproveWayAccuracyAction. candidateSegmentprivate WaySegmentDeleteAction.DeleteParameters. nearestSegmentprivate WaySegmentDeleteAction. oldHighlightedWaySegmentelements that have been highlighted in the previous iteration.private WaySegmentParallelWayAction. referenceSegmentprivate WaySegmentExtrudeAction. selectedSegmentFields in org.openstreetmap.josm.actions.mapmode with type parameters of type WaySegment Modifier and Type Field Description private java.util.Collection<WaySegment>SelectAction.VirtualManager. virtualWaysMethods in org.openstreetmap.josm.actions.mapmode that return WaySegment Modifier and Type Method Description static WaySegmentImproveWayAccuracyHelper. findCandidateSegment(MapView mv, Way w, java.awt.Point p)Returns the nearest way segment to cursor.Methods in org.openstreetmap.josm.actions.mapmode with parameters of type WaySegment Modifier and Type Method Description private voidDeleteAction. repaintIfRequired(java.util.Set<OsmPrimitive> newHighlights, WaySegment newHighlightedWaySegment)(package private) voidDrawSnapHelper. setBaseSegment(WaySegment seg)Method parameters in org.openstreetmap.josm.actions.mapmode with type arguments of type WaySegment Modifier and Type Method Description 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 voidDrawAction. tryToMoveNodeOnIntersection(java.util.List<WaySegment> wss, Node n) -
Uses of WaySegment in org.openstreetmap.josm.command
Methods in org.openstreetmap.josm.command with parameters of type WaySegment Modifier and Type Method Description static CommandDeleteCommand. deleteWaySegment(WaySegment ws)Create a command that deletes a single way segment. -
Uses of WaySegment in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type WaySegment Modifier and Type Field Description private java.util.Collection<WaySegment>DataSet. highlightedVirtualNodesprivate java.util.Collection<WaySegment>DataSet. highlightedWaySegmentsMethods in org.openstreetmap.josm.data.osm that return WaySegment Modifier and Type Method Description static WaySegmentWaySegment. forNodePair(Way way, Node first, Node second)Determines and returns the way segment for the given way and node pair.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type WaySegment Modifier and Type Method Description java.util.Collection<WaySegment>DataSet. getHighlightedVirtualNodes()java.util.Collection<WaySegment>OsmData. getHighlightedVirtualNodes()Returns an unmodifiable collection of *WaySegments* whose virtual nodes should be highlighted.java.util.Collection<WaySegment>DataSet. getHighlightedWaySegments()java.util.Collection<WaySegment>OsmData. getHighlightedWaySegments()Returns an unmodifiable collection of WaySegments that should be highlighted.Method parameters in org.openstreetmap.josm.data.osm with type arguments of type WaySegment Modifier and Type Method Description voidDataSet. setHighlightedVirtualNodes(java.util.Collection<WaySegment> waySegments)voidOsmData. setHighlightedVirtualNodes(java.util.Collection<WaySegment> waySegments)set what virtual nodes should be highlighted.voidDataSet. setHighlightedWaySegments(java.util.Collection<WaySegment> waySegments)voidOsmData. setHighlightedWaySegments(java.util.Collection<WaySegment> waySegments)set what virtual ways should be highlighted. -
Uses of WaySegment in org.openstreetmap.josm.data.osm.visitor.paint
Fields in org.openstreetmap.josm.data.osm.visitor.paint with type parameters of type WaySegment Modifier and Type Field Description private java.util.Collection<WaySegment>StyledMapRenderer. highlightWaySegments -
Uses of WaySegment in org.openstreetmap.josm.data.validation
Methods in org.openstreetmap.josm.data.validation with parameters of type WaySegment Modifier and Type Method Description voidValidatorVisitor. visit(WaySegment waySegment)Visit a way segment that was part of the errorMethod parameters in org.openstreetmap.josm.data.validation with type arguments of type WaySegment Modifier and Type Method Description TestError.BuilderTestError.Builder. highlightWaySegments(java.util.Collection<WaySegment> highlighted)Sets the way segments to highlight when selecting this error. -
Uses of WaySegment in org.openstreetmap.josm.data.validation.tests
Fields in org.openstreetmap.josm.data.validation.tests with type parameters of type WaySegment Modifier and Type Field Description private java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>>CrossingWays. cellSegmentsAll way segments, grouped by cellsprivate java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>>PowerLines. cellSegmentsWaterAll waterway segments, grouped by cellsprivate java.util.Set<WaySegment>PowerLines. missingNodesprivate MultiMap<Pair<Node,Node>,WaySegment>OverlappingWays. nodePairsBag of all way segmentsprotected java.util.Set<WaySegment>LongSegment. reportedset of way segments that have been reportedprivate java.util.Map<java.util.List<Way>,java.util.List<WaySegment>>CrossingWays. seenWaysThe already detected ways in errorMethods in org.openstreetmap.josm.data.validation.tests that return types with arguments of type WaySegment Modifier and Type Method Description protected static java.util.Set<WaySegment>OverlappingWays. checkDuplicateWaySegment(Way w)private static java.util.Collection<WaySegment>CycleDetector. createSegments(java.util.Map<Node,java.util.List<Node>> graphMap, java.util.Collection<Node> nodes)Creates WaySegments from Nodes for the error highlight function.private static java.util.Map<java.util.List<Way>,java.util.List<WaySegment>>MultipolygonTest. findIntersectingWays(Relation r, boolean findSharedWaySegments)SeeCrossingWaysstatic java.util.List<java.util.List<WaySegment>>CrossingWays. getSegments(java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> cellSegments, EastNorth n1, EastNorth n2)Returns all the cells this segment crosses.static java.util.List<java.util.List<WaySegment>>CrossingWays. getSegments(java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> cellSegments, ILatLon n1, ILatLon n2)Returns all the cells this segment crosses.Methods in org.openstreetmap.josm.data.validation.tests with parameters of type WaySegment Modifier and Type Method Description private voidLongSegment. addErrorForSegment(WaySegment waySegment, java.lang.Double length)Method parameters in org.openstreetmap.josm.data.validation.tests with type arguments of type WaySegment Modifier and Type Method Description private voidOverlappingWays. analyseOverlaps(java.util.Set<WaySegment> duplicated, java.util.Map<java.util.List<Way>,java.util.Set<WaySegment>> seenWays)private voidOverlappingWays. analyseOverlaps(java.util.Set<WaySegment> duplicated, java.util.Map<java.util.List<Way>,java.util.Set<WaySegment>> seenWays)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.static java.util.List<java.util.List<WaySegment>>CrossingWays. getSegments(java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> cellSegments, EastNorth n1, EastNorth n2)Returns all the cells this segment crosses.static java.util.List<java.util.List<WaySegment>>CrossingWays. getSegments(java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>> cellSegments, ILatLon n1, ILatLon n2)Returns all the cells this segment crosses. -
Uses of WaySegment in org.openstreetmap.josm.data.vector
Methods in org.openstreetmap.josm.data.vector that return types with arguments of type WaySegment Modifier and Type Method Description java.util.Collection<WaySegment>VectorDataSet. getHighlightedVirtualNodes()java.util.Collection<WaySegment>VectorDataSet. getHighlightedWaySegments()Method parameters in org.openstreetmap.josm.data.vector with type arguments of type WaySegment Modifier and Type Method Description voidVectorDataSet. setHighlightedVirtualNodes(java.util.Collection<WaySegment> waySegments)voidVectorDataSet. setHighlightedWaySegments(java.util.Collection<WaySegment> waySegments) -
Uses of WaySegment in org.openstreetmap.josm.gui
Methods in org.openstreetmap.josm.gui that return WaySegment Modifier and Type Method Description WaySegmentNavigatableComponent. getNearestWaySegment(java.awt.Point p, java.util.function.Predicate<OsmPrimitive> predicate)Convenience method toNavigatableComponent.getNearestWaySegment(Point, Predicate, boolean).WaySegmentNavigatableComponent. getNearestWaySegment(java.awt.Point p, java.util.function.Predicate<OsmPrimitive> predicate, boolean useSelected)The *result* depends on the current map selection state IF use_selected is true.WaySegmentNavigatableComponent. getNearestWaySegment(java.awt.Point p, java.util.function.Predicate<OsmPrimitive> predicate, boolean useSelected, java.util.Collection<OsmPrimitive> preferredRefs)The *result* depends on the current map selection state IF use_selected is true.Methods in org.openstreetmap.josm.gui that return types with arguments of type WaySegment Modifier and Type Method Description java.util.List<WaySegment>NavigatableComponent. getNearestWaySegments(java.awt.Point p, java.util.Collection<WaySegment> ignore, java.util.function.Predicate<OsmPrimitive> predicate)The result *order* depends on the current map selection state.java.util.List<WaySegment>NavigatableComponent. getNearestWaySegments(java.awt.Point p, java.util.function.Predicate<OsmPrimitive> predicate)The result *order* depends on the current map selection state.private java.util.Map<java.lang.Double,java.util.List<WaySegment>>NavigatableComponent. getNearestWaySegmentsImpl(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 WaySegment Modifier and Type Method Description java.util.List<WaySegment>NavigatableComponent. getNearestWaySegments(java.awt.Point p, java.util.Collection<WaySegment> ignore, java.util.function.Predicate<OsmPrimitive> predicate)The result *order* depends on the current map selection state. -
Uses of WaySegment in org.openstreetmap.josm.gui.dialogs
Methods in org.openstreetmap.josm.gui.dialogs with parameters of type WaySegment Modifier and Type Method Description voidValidatorDialog.ValidatorBoundingXYVisitor. visit(WaySegment ws) -
Uses of WaySegment in org.openstreetmap.josm.gui.layer.validation
Methods in org.openstreetmap.josm.gui.layer.validation with parameters of type WaySegment Modifier and Type Method Description voidPaintVisitor. visit(WaySegment ws) -
Uses of WaySegment in org.openstreetmap.josm.gui.mappaint
Fields in org.openstreetmap.josm.gui.mappaint with type parameters of type WaySegment 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 WaySegment in org.openstreetmap.josm.gui.mappaint.mapcss
Fields in org.openstreetmap.josm.gui.mappaint.mapcss with type parameters of type WaySegment Modifier and Type Field Description (package private) java.util.Map<java.awt.geom.Point2D,java.util.List<WaySegment>>Selector.ChildOrParentSelector.CrossingFinder. cellSegmentsWill contain all way segments, grouped by cellsMethods in org.openstreetmap.josm.gui.mappaint.mapcss that return types with arguments of type WaySegment 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)Method parameters in org.openstreetmap.josm.gui.mappaint.mapcss with type arguments of type WaySegment 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 WaySegment in org.openstreetmap.josm.tools
Methods in org.openstreetmap.josm.tools that return WaySegment Modifier and Type Method Description static WaySegmentGeometry. getClosestWaySegment(Way way, OsmPrimitive primitive)Get the closestWaySegmentfrom a way to a primitive.Methods in org.openstreetmap.josm.tools with parameters of type WaySegment Modifier and Type Method Description static doubleGeometry. getDistanceSegmentSegment(WaySegment ws1, WaySegment ws2)Get the distance between differentWaySegments
-