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 ArrayList<WayPoint>
GpxData. privateWaypoints
Additional waypoints for this file.Collection<WayPoint>
GpxRoute. routePoints
The points this route consists of.Collection<WayPoint>
GpxData. waypoints
Waypoints.private Collection<WayPoint>
Line. waypoints
private 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 Stream<WayPoint>
GpxData. getTrackPoints()
Gets a stream of all track points in the segments of the tracks of this data.Collection<WayPoint>
GpxData. getWaypoints()
Gets a list of all way points in this data set.Collection<WayPoint>
GpxTrackSegment. getWayPoints()
Collection<WayPoint>
IGpxTrackSegment. getWayPoints()
Returns the segment waypoints.Iterator<WayPoint>
Line. iterator()
(package private) static List<List<List<WayPoint>>>
GpxImageCorrelation. loadTracks(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, Map<String,Object> attr)
(package private) static Double
GpxImageCorrelation. getElevation(WayPoint wp)
private static int
GpxImageCorrelation. matchPoints(List<? extends GpxImageEntry> images, WayPoint prevWp, long prevWpTime, WayPoint curWp, long curWpTime, long offset, boolean interpolate, int tagTime, WayPoint nextWp, GpxImageDirectionPositionSettings dirpos)
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(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(Collection<Collection<WayPoint>> trackSegs, Map<String,Object> attributes)
Constructs a newGpxTrack
.GpxTrackSegment(Collection<WayPoint> wayPoints)
Constructs a newGpxTrackSegment
.ImmutableGpxTrack(Collection<Collection<WayPoint>> trackSegs, Map<String,Object> attributes)
Deprecated.Constructs a newImmutableGpxTrack
.Line(Collection<WayPoint> waypoints, Map<String,Object> attributes, 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, 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, String gpxPrefix, String gpxKey, String osmKey)
private static void
OsmDataLayer. addIntegerIfPresent(WayPoint wpt, OsmPrimitive p, String gpxPrefix, String gpxKey, String osmKey)
private static void
OsmDataLayer. addStringIfPresent(WayPoint wpt, OsmPrimitive p, String gpxPrefix, String gpxKey, String osmKey, 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 List<WayPoint>
GpxDrawHelper. listVisibleSegments(Bounds box)
Method parameters in org.openstreetmap.josm.gui.layer.gpx with type arguments of type WayPoint Modifier and Type Method Description void
GpxDrawHelper. drawAll(Graphics2D g, MapView mv, List<WayPoint> visibleSegments, Bounds clipBounds)
Draw all enabled GPX elements of layer.private void
GpxDrawHelper. drawArrows(Graphics2D g, MapView mv, List<WayPoint> visibleSegments)
Draw all GPX arraysprivate static void
GpxDrawHelper. drawHeatGrayDotMap(Graphics2D gB, MapView mv, List<WayPoint> listSegm, int drawSize)
Draw a dotted heat mapprivate void
GpxDrawHelper. drawHeatGrayLineMap(Graphics2D gB, MapView mv, List<WayPoint> listSegm, Composite foreComp, Stroke foreStroke, Composite backComp, Stroke backStroke)
Draw gray heat map with current Graphics2D settingprivate void
GpxDrawHelper. drawHeatMap(Graphics2D g, MapView mv, List<WayPoint> visibleSegments)
Collect and draw GPS segments and displays a heat-mapprivate void
GpxDrawHelper. drawLines(Graphics2D g, MapView mv, List<WayPoint> visibleSegments)
Draw all GPX ways segmentsprivate void
GpxDrawHelper. drawLinesAlpha(Graphics2D g, MapView mv, List<WayPoint> visibleSegments, float layerAlpha)
Draw GPX lines by using alpha blendingprivate void
GpxDrawHelper. drawPoints(Graphics2D g, MapView mv, List<WayPoint> visibleSegments)
Draw all GPX pointsprivate void
GpxDrawHelper. fixColors(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 Collection<Marker>
DefaultMarkerProducers. createMarkers(WayPoint wpt, File relativePath, MarkerLayer parentLayer, double time, double offset)
static Collection<Marker>
Marker. createMarkers(WayPoint wpt, File relativePath, MarkerLayer parentLayer, double time, double offset)
Returns an object of class Marker or one of its subclasses created from the parameters given.Collection<Marker>
MarkerProducers. createMarkers(WayPoint wp, 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
GpxReader.Parser. currentWayPoint
Fields in org.openstreetmap.josm.io with type parameters of type WayPoint Modifier and Type Field Description private Collection<WayPoint>
GpxReader.Parser. 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
NmeaReader.NMEAParserState. pWp
Fields in org.openstreetmap.josm.io.nmea with type parameters of type WayPoint Modifier and Type Field Description protected Collection<WayPoint>
NmeaReader.NMEAParserState. waypoints
-