Uses of Class
org.openstreetmap.josm.data.gpx.WayPoint
-
Packages that use WayPoint Package Description org.openstreetmap.josm.data.gpx Provides the classes for JOSMGPX data
(points, tracks, routes).org.openstreetmap.josm.gui.layer Provides classes for handling the different kinds of map layers.org.openstreetmap.josm.gui.layer.gpx Provides classes for handling GPX layers.org.openstreetmap.josm.gui.layer.markerlayer Provides classes for handling marker layers.org.openstreetmap.josm.io Provides the classes for JOSM input/output support.org.openstreetmap.josm.io.nmea Provides the classes for reading NMEA-0183 files. -
-
Uses of WayPoint in org.openstreetmap.josm.data.gpx
Fields in org.openstreetmap.josm.data.gpx declared as WayPoint Modifier and Type Field Description private WayPoint
GpxData.GpxTrackSegmentSpan. firstWp
private WayPoint
GpxData.GpxTrackSegmentSpan. lastWp
Fields in org.openstreetmap.josm.data.gpx with type parameters of type WayPoint Modifier and Type Field Description private java.util.ArrayList<WayPoint>
GpxData. privateWaypoints
Additional waypoints for this file.java.util.Collection<WayPoint>
GpxRoute. routePoints
The points this route consists of.java.util.Collection<WayPoint>
GpxData. waypoints
Waypoints.private java.util.Collection<WayPoint>
Line. waypoints
private java.util.List<WayPoint>
GpxTrackSegment. wayPoints
Methods in org.openstreetmap.josm.data.gpx that return WayPoint Modifier and Type Method Description WayPoint
GpxImageEntry. asWayPoint()
Returns aWayPoint
representation of this GPX image entry.(package private) WayPoint
GpxData.GpxTrackSegmentSpan. getFirstWp()
(package private) WayPoint
GpxData.GpxTrackSegmentSpan. getLastWp()
private static WayPoint
GpxData.GpxTrackSegmentSpan. getNextWpWithTime(IGpxTrackSegment seg, boolean forward)
WayPoint
GpxData. nearestPointOnTrack(EastNorth p, double tolerance)
Makes a WayPoint at the projection of point p onto the track providing p is less than tolerance away from the trackMethods in org.openstreetmap.josm.data.gpx that return types with arguments of type WayPoint Modifier and Type Method Description java.util.stream.Stream<WayPoint>
GpxData. getTrackPoints()
Gets a stream of all track points in the segments of the tracks of this data.java.util.Collection<WayPoint>
GpxData. getWaypoints()
Gets a list of all way points in this data set.java.util.Collection<WayPoint>
GpxTrackSegment. getWayPoints()
java.util.Collection<WayPoint>
IGpxTrackSegment. getWayPoints()
Returns the segment waypoints.java.util.Iterator<WayPoint>
Line. iterator()
(package private) static java.util.List<java.util.List<java.util.List<WayPoint>>>
GpxImageCorrelation. loadTracks(java.util.Collection<IGpxTrack> tracks)
Methods in org.openstreetmap.josm.data.gpx with parameters of type WayPoint Modifier and Type Method Description boolean
Line. add(WayPoint e)
void
GpxData. addWaypoint(WayPoint waypoint)
Add a new waypointint
WayPoint. compareTo(WayPoint w)
private void
GpxData. connectTracks(WayPoint prevWp, GpxData.GpxTrackSegmentSpan span, java.util.Map<java.lang.String,java.lang.Object> attr)
(package private) static java.lang.Double
GpxImageCorrelation. getElevation(WayPoint wp)
Gets the elevation value from a WayPoint's attributes.(package private) static java.lang.Double
GpxImageCorrelation. getGpsDop(WayPoint wp)
Retrieves GPS Dilution of Precision (DOP) from a WayPoint's attributes.(package private) static java.lang.Double
GpxImageCorrelation. getGpsTrack(WayPoint wp)
Gets the track direction angle value from a waypoint in a GNSS track.(package private) static java.lang.Double
GpxImageCorrelation. getHPosErr(WayPoint wp)
Gets the horizontal positioning estimated error value from a WayPoint's attributes.private static int
GpxImageCorrelation. matchPoints(java.util.List<? extends GpxImageEntry> images, WayPoint prevWp, long prevWpTime, WayPoint curWp, long curWpTime, TimeSource imgTimeSource, long offset, boolean interpolate, int tagTime, WayPoint nextWp, GpxImageDirectionPositionSettings dirpos, GpxImageDatumSettings datumSettings)
void
GpxData. removeWaypoint(WayPoint waypoint)
Remove a waypointMethod parameters in org.openstreetmap.josm.data.gpx with type arguments of type WayPoint Modifier and Type Method Description boolean
Line. addAll(java.util.Collection<? extends WayPoint> c)
Constructors in org.openstreetmap.josm.data.gpx with parameters of type WayPoint Constructor Description GpxTrackSegmentSpan(WayPoint a, WayPoint b)
WayPoint(WayPoint p)
Constructs a newWayPoint
from an existing one.Constructor parameters in org.openstreetmap.josm.data.gpx with type arguments of type WayPoint Constructor Description GpxTrack(java.util.Collection<java.util.Collection<WayPoint>> trackSegs, java.util.Map<java.lang.String,java.lang.Object> attributes)
Constructs a newGpxTrack
.GpxTrackSegment(java.util.Collection<WayPoint> wayPoints)
Constructs a newGpxTrackSegment
.Line(java.util.Collection<WayPoint> waypoints, java.util.Map<java.lang.String,java.lang.Object> attributes, java.awt.Color color)
Constructs a newLine
. -
Uses of WayPoint in org.openstreetmap.josm.gui.layer
Methods in org.openstreetmap.josm.gui.layer that return WayPoint Modifier and Type Method Description static WayPoint
OsmDataLayer. nodeToWayPoint(Node n, long time)
Converts a node to a waypoint with defaultGpxConstants.GPX_PREFIX
for tags.static WayPoint
OsmDataLayer. nodeToWayPoint(Node n, long time, java.lang.String gpxPrefix)
Converts a node to a waypoint with a configurable GPX prefix for tags.Methods in org.openstreetmap.josm.gui.layer with parameters of type WayPoint Modifier and Type Method Description private static void
OsmDataLayer. addDoubleIfPresent(WayPoint wpt, OsmPrimitive p, java.lang.String gpxPrefix, java.lang.String gpxKey, java.lang.String osmKey)
private static void
OsmDataLayer. addIntegerIfPresent(WayPoint wpt, OsmPrimitive p, java.lang.String gpxPrefix, java.lang.String gpxKey, java.lang.String osmKey)
private static void
OsmDataLayer. addStringIfPresent(WayPoint wpt, OsmPrimitive p, java.lang.String gpxPrefix, java.lang.String gpxKey, java.lang.String osmKey, java.lang.String osmKey2)
-
Uses of WayPoint in org.openstreetmap.josm.gui.layer.gpx
Methods in org.openstreetmap.josm.gui.layer.gpx that return types with arguments of type WayPoint Modifier and Type Method Description private java.util.List<WayPoint>
GpxDrawHelper. listVisibleSegments(Bounds box)
Methods in org.openstreetmap.josm.gui.layer.gpx with parameters of type WayPoint Modifier and Type Method Description private void
GpxDrawHelper. drawCircle(java.awt.Graphics2D g, MapView mv, WayPoint trkPnt, java.awt.Point screen, float circleSize)
Method parameters in org.openstreetmap.josm.gui.layer.gpx with type arguments of type WayPoint Modifier and Type Method Description void
GpxDrawHelper. drawAll(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments, Bounds clipBounds)
Draw all enabled GPX elements of layer.private void
GpxDrawHelper. drawArrows(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
Draw all GPX arraysprivate void
GpxDrawHelper. drawArrows3b(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3b - DRAW NICE ARROWS **************************private void
GpxDrawHelper. drawArrows3c(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3c - DRAW FAST ARROWS **************************private static void
GpxDrawHelper. drawHeatGrayDotMap(java.awt.Graphics2D gB, MapView mv, java.util.List<WayPoint> listSegm, int drawSize)
Draw a dotted heat mapprivate void
GpxDrawHelper. drawHeatGrayLineMap(java.awt.Graphics2D gB, MapView mv, java.util.List<WayPoint> listSegm, java.awt.Composite foreComp, java.awt.Stroke foreStroke, java.awt.Composite backComp, java.awt.Stroke backStroke)
Draw gray heat map with current Graphics2D settingprivate void
GpxDrawHelper. drawHeatMap(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
Collect and draw GPS segments and displays a heat-mapprivate void
GpxDrawHelper. drawLines(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
Draw all GPX ways segmentsprivate void
GpxDrawHelper. drawLinesAlpha(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments, float layerAlpha)
Draw GPX lines by using alpha blendingprivate void
GpxDrawHelper. drawPoints(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
Draw all GPX pointsprivate void
GpxDrawHelper. drawPointsStep3d(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3d - DRAW LARGE POINTS AND CIRCLES ***********private void
GpxDrawHelper. drawPointsStep3e(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3e - DRAW SMALL POINTS FOR LINES ***************private void
GpxDrawHelper. drawPointsStep3f(java.awt.Graphics2D g, MapView mv, java.util.List<WayPoint> visibleSegments)
STEP 3f - DRAW SMALL POINTS INSTEAD OF LINES ********private void
GpxDrawHelper. fixColors(java.util.List<WayPoint> visibleSegments)
Apply default color configuration to way segments -
Uses of WayPoint in org.openstreetmap.josm.gui.layer.markerlayer
Methods in org.openstreetmap.josm.gui.layer.markerlayer that return WayPoint Modifier and Type Method Description WayPoint
AudioMarker. convertToWayPoint()
WayPoint
ImageMarker. convertToWayPoint()
WayPoint
Marker. convertToWayPoint()
Convert Marker to WayPoint so it can be exported to a GPX file.WayPoint
WebMarker. convertToWayPoint()
Methods in org.openstreetmap.josm.gui.layer.markerlayer with parameters of type WayPoint Modifier and Type Method Description java.util.Collection<Marker>
DefaultMarkerProducers. createMarkers(WayPoint wpt, java.io.File relativePath, MarkerLayer parentLayer, double time, double offset)
static java.util.Collection<Marker>
Marker. createMarkers(WayPoint wpt, java.io.File relativePath, MarkerLayer parentLayer, double time, double offset)
Returns an object of class Marker or one of its subclasses created from the parameters given.java.util.Collection<Marker>
MarkerProducers. createMarkers(WayPoint wp, java.io.File relativePath, MarkerLayer parentLayer, double time, double offset)
Returns a collection of Marker objects if this implementation wants to create one for the given input data, ornull
otherwise. -
Uses of WayPoint in org.openstreetmap.josm.io
Fields in org.openstreetmap.josm.io declared as WayPoint Modifier and Type Field Description private WayPoint
GpxParser. currentWayPoint
Fields in org.openstreetmap.josm.io with type parameters of type WayPoint Modifier and Type Field Description private java.util.Collection<WayPoint>
GpxParser. currentTrackSeg
Methods in org.openstreetmap.josm.io with parameters of type WayPoint Modifier and Type Method Description private void
GpxWriter. wayPoint(WayPoint pnt, int mode)
output a point -
Uses of WayPoint in org.openstreetmap.josm.io.nmea
Fields in org.openstreetmap.josm.io.nmea declared as WayPoint Modifier and Type Field Description protected WayPoint
NmeaParser. pWp
Fields in org.openstreetmap.josm.io.nmea with type parameters of type WayPoint Modifier and Type Field Description protected java.util.Collection<WayPoint>
NmeaParser. waypoints
Methods in org.openstreetmap.josm.io.nmea that return types with arguments of type WayPoint Modifier and Type Method Description java.util.Collection<WayPoint>
NmeaParser. getAndDropWaypoints()
Return list of collected coordinates and drop old data When parsing a stream the last entry may be still incomplete and usually will not be droppedjava.util.Collection<WayPoint>
NmeaParser. getWaypoints()
List of collected coordinates When parsing a stream the last entry may be still incomplete
-