Package | Description |
---|---|
org.openstreetmap.josm.data.gpx |
Provides the classes for JOSM
GPX 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.
|
Modifier and Type | Field and Description |
---|---|
private WayPoint |
GpxData.GpxTrackSegmentSpan.firstWp |
private WayPoint |
GpxData.GpxTrackSegmentSpan.lastWp |
Modifier and Type | Field and Description |
---|---|
private java.util.ArrayList<WayPoint> |
GpxData.privateWaypoints
Addidionaly waypoints for this file.
|
java.util.Collection<WayPoint> |
GpxRoute.routePoints
The points this route consists of.
|
private java.util.Collection<WayPoint> |
Line.waypoints |
java.util.Collection<WayPoint> |
GpxData.waypoints
Waypoints.
|
private java.util.List<WayPoint> |
ImmutableGpxTrackSegment.wayPoints |
Modifier and Type | Method and Description |
---|---|
(package private) WayPoint |
GpxData.GpxTrackSegmentSpan.getFirstWp() |
(package private) WayPoint |
GpxData.GpxTrackSegmentSpan.getLastWp() |
private static WayPoint |
GpxData.GpxTrackSegmentSpan.getNextWpWithTime(GpxTrackSegment 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 track
|
Modifier and Type | Method and 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()
Returns the segment waypoints.
|
java.util.Collection<WayPoint> |
ImmutableGpxTrackSegment.getWayPoints() |
java.util.Iterator<WayPoint> |
Line.iterator() |
Modifier and Type | Method and Description |
---|---|
boolean |
Line.add(WayPoint e) |
void |
GpxData.addWaypoint(WayPoint waypoint)
Add a new waypoint
|
int |
WayPoint.compareTo(WayPoint w) |
private void |
GpxData.connectTracks(WayPoint prevWp,
GpxData.GpxTrackSegmentSpan span,
java.util.Map<java.lang.String,java.lang.Object> attr) |
static double |
GpxDistance.getDistance(OsmPrimitive p,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistance(p, new Node(waypoint.getCoor()))
instead |
static double |
GpxDistance.getDistanceEastNorth(EastNorth en,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistance(new Node(en), new Node(waypoint.getCoor())) instead |
static double |
GpxDistance.getDistanceLatLon(LatLon latlon,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistance(new Node(latlon), new Node(waypoint.getCoor())) instead |
static double |
GpxDistance.getDistanceNode(Node node,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistance(node, new Node(waypoint.getCoor()))
instead |
static double |
GpxDistance.getDistanceRelation(Relation relation,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistance(relation, new Node(waypoint.getCoor()))
instead |
static double |
GpxDistance.getDistanceWay(Way way,
WayPoint waypoint)
Deprecated.
Use
Geometry.getDistanceWayNode(way, new Node(waypoint.getCoor())) instead |
(package private) static java.lang.Double |
GpxImageCorrelation.getElevation(WayPoint wp) |
private static int |
GpxImageCorrelation.matchPoints(java.util.List<? extends GpxImageEntry> images,
WayPoint prevWp,
long prevWpTime,
WayPoint curWp,
long curWpTime,
long offset,
boolean interpolate,
int tagTime,
boolean isLast) |
void |
GpxData.removeWaypoint(WayPoint waypoint)
Remove a waypoint
|
Modifier and Type | Method and Description |
---|---|
boolean |
Line.addAll(java.util.Collection<? extends WayPoint> c) |
Constructor and Description |
---|
GpxTrackSegmentSpan(WayPoint a,
WayPoint b) |
WayPoint(WayPoint p)
Constructs a new
WayPoint from an existing one. |
Constructor and Description |
---|
ImmutableGpxTrack(java.util.Collection<java.util.Collection<WayPoint>> trackSegs,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Constructs a new
ImmutableGpxTrack . |
ImmutableGpxTrackSegment(java.util.Collection<WayPoint> wayPoints)
Constructs a new
ImmutableGpxTrackSegment . |
Line(java.util.Collection<WayPoint> waypoints,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Constructs a new
Line . |
Modifier and Type | Method and Description |
---|---|
static WayPoint |
OsmDataLayer.nodeToWayPoint(Node n) |
static WayPoint |
OsmDataLayer.nodeToWayPoint(Node n,
long time) |
Modifier and Type | Method and Description |
---|---|
private static void |
OsmDataLayer.addDoubleIfPresent(WayPoint wpt,
OsmPrimitive p,
java.lang.String gpxKey,
java.lang.String... osmKeys) |
private static void |
OsmDataLayer.addIntegerIfPresent(WayPoint wpt,
OsmPrimitive p,
java.lang.String gpxKey,
java.lang.String... osmKeys) |
private static void |
OsmDataLayer.addStringIfPresent(WayPoint wpt,
OsmPrimitive p,
java.lang.String gpxKey,
java.lang.String... osmKeys) |
Modifier and Type | Method and Description |
---|---|
private java.util.List<WayPoint> |
GpxDrawHelper.listVisibleSegments(Bounds box) |
Modifier and Type | Method and 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 arrays
|
private static void |
GpxDrawHelper.drawHeatGrayDotMap(java.awt.Graphics2D gB,
MapView mv,
java.util.List<WayPoint> listSegm,
int drawSize)
Draw a dotted heat map
|
private 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 setting
|
private void |
GpxDrawHelper.drawHeatMap(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Collect and draw GPS segments and displays a heat-map
|
private void |
GpxDrawHelper.drawLines(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Draw all GPX ways segments
|
private void |
GpxDrawHelper.drawLinesAlpha(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments,
float layerAlpha)
Draw GPX lines by using alpha blending
|
private void |
GpxDrawHelper.drawPoints(java.awt.Graphics2D g,
MapView mv,
java.util.List<WayPoint> visibleSegments)
Draw all GPX points
|
private void |
GpxDrawHelper.fixColors(java.util.List<WayPoint> visibleSegments)
Apply default color configuration to way segments
|
Modifier and Type | Method and Description |
---|---|
WayPoint |
WebMarker.convertToWayPoint() |
WayPoint |
AudioMarker.convertToWayPoint() |
WayPoint |
ImageMarker.convertToWayPoint() |
WayPoint |
Marker.convertToWayPoint()
Convert Marker to WayPoint so it can be exported to a GPX file.
|
Modifier and Type | Method and Description |
---|---|
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, or
null otherwise. |
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> |
DefaultMarkerProducers.createMarkers(WayPoint wpt,
java.io.File relativePath,
MarkerLayer parentLayer,
double time,
double offset) |
Modifier and Type | Field and Description |
---|---|
private WayPoint |
GpxReader.Parser.currentWayPoint |
Modifier and Type | Field and Description |
---|---|
private java.util.Collection<java.util.Collection<WayPoint>> |
GpxReader.Parser.currentTrack |
private java.util.Collection<WayPoint> |
GpxReader.Parser.currentTrackSeg |
Modifier and Type | Method and Description |
---|---|
private void |
GpxWriter.wayPoint(WayPoint pnt,
int mode)
output a point
|
Modifier and Type | Field and Description |
---|---|
protected WayPoint |
NmeaReader.NMEAParserState.pWp |
Modifier and Type | Field and Description |
---|---|
protected java.util.Collection<WayPoint> |
NmeaReader.NMEAParserState.waypoints |