Package org.openstreetmap.josm.data.gpx
Interface GpxConstants
- All Known Implementing Classes:
GpxData,GpxExporter,GpxExtension,GpxReader,GpxRoute,GpxTrack,GpxTrackSegment,GpxWriter,MarkerSessionExporter.MarkerWriter,WayPoint,WithAttributes
public interface GpxConstants
Constants for GPX handling.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumEnum with color formats that can be written by JOSM -
Field Summary
FieldsModifier and TypeFieldDescriptionMap with all supported extension abbreviations for easier readability in OSM layersPossible fix values.Map with all supported Garmin colorsstatic final StringGPS element comment.static final StringText description of the element.static final StringGPS name of the element.static final StringPrefix used for attributes when converting to OSM datastatic final StringSource of data.static final StringThe creator element that will be written when exporting a GPX filestatic final StringA constant for the metadata hash map: the author email of the filestatic final StringA constant for the metadata hash map: a link to a page about the authorstatic final StringA constant for the metadata hash map: the author name of the filestatic final StringA constant for the metadata hash map: the bounding box.static final StringA constant for the metadata hash map: the author field for the copyright information in the gpx filestatic final StringA constant for the metadata hash map: the license of the filestatic final StringA constant for the metadata hash map: the year of the license for the filestatic final StringA constant for the metadata hash map: a description of the filestatic final StringA constant for the metadata hash map: the keywords of the filestatic final StringA constant for the metadata hash map: the links.static final StringA constant for the metadata hash map: the name of the file (stored in the file, not the one on the disk)static final StringPrefix used for all meta values.static final StringA constant for the metadata hash map: the time as stringstatic final StringNumber of seconds since last DGPS update.static final StringTrue Course/Bearing angle over ground.static final StringRepresents a differential GPS station.static final StringElevation (in meters) of the point.static final StringType of GPS fix.static final StringHeight, in meters, of geoid (mean sea level) above WGS-84 earth ellipsoid.static final StringHorizontal dilution of precision.static final StringMagnetic variation (in degrees) at the point.static final StringPosition dilution of precision.static final StringNumber of satellites used to calculate the GPS fix.static final StringStandard horizontal major deviationstatic final StringStandard vertical major deviationstatic final StringText of GPS symbol name.static final StringCreation/modification timestamp for the point.static final StringType (textual classification) of element.static final StringVertical dilution of precision.Ordered list of all possible route and track keys.static final StringThe time difference between the observation data epochs of the rover receiver and the base station in second.static final StringThe flag which indicates the solution quality. 1 : Fixed, solution by carrier‐based relative positioning and the integer ambiguity is properly resolved. 2 : Float, solution by carrier‐based relative positioning but the integer ambiguity is not resolved. 3 : Reserved 4 : DGPS, solution by code‐based DGPS solutions or single point positioning with SBAS corrections 5 : Single, solution by single point positioningstatic final StringThe ratio factor of ʺratio‐testʺ for standard integer ambiguity validation strategy.static final StringE (east) component of the standard deviations in m.static final StringThe absolute value of sdeu means square root of the absolute value of EU component of the estimated covariance matrix.static final StringN (north) component of the standard deviations in m.static final StringThe absolute value of sdne means square root of the absolute value of NE component of the estimated covariance matrix.static final StringU (up) component of the standard deviations in m.static final StringThe absolute value of sdun means square root of the absolute value of UN component of the estimated covariance matrix.Ordered list of all possible waypoint keys.static final StringNamespace for GPX drawing extensionsstatic final StringNamespace for Garmin GPX extensionsstatic final StringNamespace for JOSM GPX extensionsstatic final StringNamespace for the XSDstatic final StringLocation of the XSD schema for GPX drawing extensionsstatic final StringLocation of the XSD schema for GPX drawing extensionsstatic final StringLocation of the XSD schema for JOSM GPX extensions -
Method Summary
Static MethodsModifier and TypeMethodDescriptionHelper method forEXTENSION_ABBREVIATIONSHelper method forGARMIN_COLORS
-
Field Details
-
GPX_PREFIX
Prefix used for attributes when converting to OSM data- See Also:
-
GPX_NAME
GPS name of the element. This field will be transferred to and from the GPS. GPX does not place restrictions on the length of this field or the characters contained in it. It is up to the receiving application to validate the field before sending it to the GPS.- See Also:
-
GPX_CMT
GPS element comment. Sent to GPS as comment.- See Also:
-
GPX_DESC
Text description of the element. Holds additional information about the element intended for the user, not the GPS.- See Also:
-
GPX_SRC
Source of data. Included to give user some idea of reliability and accuracy of data.- See Also:
-
META_PREFIX
Prefix used for all meta values.- See Also:
-
META_AUTHOR_NAME
A constant for the metadata hash map: the author name of the file -
META_AUTHOR_EMAIL
A constant for the metadata hash map: the author email of the file -
META_AUTHOR_LINK
A constant for the metadata hash map: a link to a page about the author -
META_COPYRIGHT_AUTHOR
A constant for the metadata hash map: the author field for the copyright information in the gpx file -
META_COPYRIGHT_LICENSE
A constant for the metadata hash map: the license of the file -
META_COPYRIGHT_YEAR
A constant for the metadata hash map: the year of the license for the file -
META_DESC
A constant for the metadata hash map: a description of the file -
META_KEYWORDS
A constant for the metadata hash map: the keywords of the file -
META_LINKS
A constant for the metadata hash map: the links. They are stored as list ofGpxLinkobjects -
META_NAME
A constant for the metadata hash map: the name of the file (stored in the file, not the one on the disk) -
META_TIME
A constant for the metadata hash map: the time as string -
META_BOUNDS
A constant for the metadata hash map: the bounding box. This is aBoundsobject- See Also:
-
JOSM_CREATOR_NAME
The creator element that will be written when exporting a GPX file- Since:
- 18287
- See Also:
-
XML_URI_XSD
Namespace for the XSD- See Also:
-
XML_URI_EXTENSIONS_JOSM
Namespace for JOSM GPX extensions -
XML_XSD_EXTENSIONS_JOSM
Location of the XSD schema for JOSM GPX extensions -
XML_URI_EXTENSIONS_DRAWING
Namespace for GPX drawing extensions -
XML_XSD_EXTENSIONS_DRAWING
Location of the XSD schema for GPX drawing extensions -
XML_URI_EXTENSIONS_GARMIN
Namespace for Garmin GPX extensions- See Also:
-
XML_XSD_EXTENSIONS_GARMIN
Location of the XSD schema for GPX drawing extensions- See Also:
-
PT_ELE
Elevation (in meters) of the point.- See Also:
-
PT_TIME
Creation/modification timestamp for the point. Date and time in are in Coordinated Universal Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs.- See Also:
-
PT_COURSE
True Course/Bearing angle over ground.- Since:
- 19387
- See Also:
-
PT_MAGVAR
Magnetic variation (in degrees) at the point. 0.0 <= value < 360.0- See Also:
-
PT_GEOIDHEIGHT
Height, in meters, of geoid (mean sea level) above WGS-84 earth ellipsoid. (NMEA GGA message)- See Also:
-
PT_SYM
Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol on the GPS, if known.- See Also:
-
PT_TYPE
Type (textual classification) of element.- See Also:
-
PT_FIX
Type of GPS fix. none means GPS had no fix. Value comes from list: {'none'|'2d'|'3d'|'dgps'|'pps'}- See Also:
-
PT_SAT
Number of satellites used to calculate the GPS fix. (not number of satellites in view).- See Also:
-
PT_HDOP
Horizontal dilution of precision.- See Also:
-
PT_VDOP
Vertical dilution of precision.- See Also:
-
PT_PDOP
Position dilution of precision.- See Also:
-
PT_AGEOFDGPSDATA
Number of seconds since last DGPS update.- See Also:
-
PT_DGPSID
Represents a differential GPS station. 0 <= value <= 1023- See Also:
-
PT_STD_HDEV
Standard horizontal major deviation- See Also:
-
PT_STD_VDEV
Standard vertical major deviation- See Also:
-
WPT_KEYS
Ordered list of all possible waypoint keys. -
RTE_TRK_KEYS
Ordered list of all possible route and track keys. -
GARMIN_COLORS
Map with all supported Garmin colors -
EXTENSION_ABBREVIATIONS
Map with all supported extension abbreviations for easier readability in OSM layers -
FIX_VALUES
Possible fix values. NMEA 0183 Version 4.00 -
RTKLIB_Q
The flag which indicates the solution quality.- 1 : Fixed, solution by carrier‐based relative positioning and the integer ambiguity is properly resolved.
- 2 : Float, solution by carrier‐based relative positioning but the integer ambiguity is not resolved.
- 3 : Reserved
- 4 : DGPS, solution by code‐based DGPS solutions or single point positioning with SBAS corrections
- 5 : Single, solution by single point positioning
- Since:
- 15247
- See Also:
-
RTKLIB_SDN
N (north) component of the standard deviations in m.- See Also:
-
RTKLIB_SDE
E (east) component of the standard deviations in m.- See Also:
-
RTKLIB_SDU
U (up) component of the standard deviations in m.- See Also:
-
RTKLIB_SDNE
The absolute value of sdne means square root of the absolute value of NE component of the estimated covariance matrix. The sign represents the sign of the covariance.- See Also:
-
RTKLIB_SDEU
The absolute value of sdeu means square root of the absolute value of EU component of the estimated covariance matrix. The sign represents the sign of the covariance.- See Also:
-
RTKLIB_SDUN
The absolute value of sdun means square root of the absolute value of UN component of the estimated covariance matrix. The sign represents the sign of the covariance.- See Also:
-
RTKLIB_AGE
The time difference between the observation data epochs of the rover receiver and the base station in second.- See Also:
-
RTKLIB_RATIO
The ratio factor of ʺratio‐testʺ for standard integer ambiguity validation strategy. The value means the ratio of the squared sum of the residuals with the second best integer vector to with the best integer vector.- See Also:
-
-
Method Details
-
getGarminColors
Helper method forGARMIN_COLORS- Returns:
- Map with all supported Garmin colors
-
getExtensionAbbreviations
Helper method forEXTENSION_ABBREVIATIONS- Returns:
- Map with all supported extension abbreviations
-