Package org.openstreetmap.josm.data.gpx
Interface GpxConstants
-
- All Known Implementing Classes:
GpxData
,GpxExporter
,GpxExtension
,GpxReader
,GpxRoute
,GpxTrack
,GpxTrackSegment
,GpxWriter
,ImmutableGpxTrack
,MarkerSessionExporter.MarkerWriter
,WayPoint
,WithAttributes
public interface GpxConstants
Constants for GPX handling.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
GpxConstants.ColorFormat
Enum with color formats that can be written by JOSM
-
Field Summary
Fields Modifier and Type Field Description static java.util.Map<java.lang.String,java.lang.String>
EXTENSION_ABBREVIATIONS
Map with all supported extension abbreviations for easier readability in OSM layersstatic java.util.List<java.lang.String>
FIX_VALUES
Possible fix values.static java.util.Map<java.lang.String,java.awt.Color>
GARMIN_COLORS
Map with all supported Garmin colorsstatic java.lang.String
GPX_CMT
GPS element comment.static java.lang.String
GPX_DESC
Text description of the element.static java.lang.String
GPX_NAME
GPS name of the element.static java.lang.String
GPX_PREFIX
Prefix used for attributes when converting to OSM datastatic java.lang.String
GPX_SRC
Source of data.static java.lang.String
JOSM_CREATOR_NAME
The creator element that will be written when exporting a GPX filestatic java.lang.String
META_AUTHOR_EMAIL
A constant for the metadata hash map: the author email of the filestatic java.lang.String
META_AUTHOR_LINK
A constant for the metadata hash map: a link to a page about the authorstatic java.lang.String
META_AUTHOR_NAME
A constant for the metadata hash map: the author name of the filestatic java.lang.String
META_BOUNDS
A constant for the metadata hash map: the bounding box.static java.lang.String
META_COPYRIGHT_AUTHOR
A constant for the metadata hash map: the author field for the copyright information in the gpx filestatic java.lang.String
META_COPYRIGHT_LICENSE
A constant for the metadata hash map: the license of the filestatic java.lang.String
META_COPYRIGHT_YEAR
A constant for the metadata hash map: the year of the license for the filestatic java.lang.String
META_DESC
A constant for the metadata hash map: a description of the filestatic java.lang.String
META_KEYWORDS
A constant for the metadata hash map: the keywords of the filestatic java.lang.String
META_LINKS
A constant for the metadata hash map: the links.static java.lang.String
META_NAME
A constant for the metadata hash map: the name of the file (stored in the file, not the one on the disk)static java.lang.String
META_PREFIX
Prefix used for all meta values.static java.lang.String
META_TIME
A constant for the metadata hash map: the time as stringstatic java.lang.String
PT_AGEOFDGPSDATA
Number of seconds since last DGPS update.static java.lang.String
PT_DGPSID
Represents a differential GPS station.static java.lang.String
PT_ELE
Elevation (in meters) of the point.static java.lang.String
PT_FIX
Type of GPS fix.static java.lang.String
PT_GEOIDHEIGHT
Height, in meters, of geoid (mean sea level) above WGS-84 earth ellipsoid.static java.lang.String
PT_HDOP
Horizontal dilution of precision.static java.lang.String
PT_MAGVAR
Magnetic variation (in degrees) at the point.static java.lang.String
PT_PDOP
Position dilution of precision.static java.lang.String
PT_SAT
Number of satellites used to calculate the GPS fix.static java.lang.String
PT_SYM
Text of GPS symbol name.static java.lang.String
PT_TIME
Creation/modification timestamp for the point.static java.lang.String
PT_TYPE
Type (textual classification) of element.static java.lang.String
PT_VDOP
Vertical dilution of precision.static java.util.List<java.lang.String>
RTE_TRK_KEYS
Ordered list of all possible route and track keys.static java.lang.String
RTKLIB_AGE
The time difference between the observation data epochs of the rover receiver and the base station in second.static java.lang.String
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 positioningstatic java.lang.String
RTKLIB_RATIO
The ratio factor of ʺratio‐testʺ for standard integer ambiguity validation strategy.static java.lang.String
RTKLIB_SDE
E (east) component of the standard deviations in m.static java.lang.String
RTKLIB_SDEU
The absolute value of sdeu means square root of the absolute value of EU component of the estimated covariance matrix.static java.lang.String
RTKLIB_SDN
N (north) component of the standard deviations in m.static java.lang.String
RTKLIB_SDNE
The absolute value of sdne means square root of the absolute value of NE component of the estimated covariance matrix.static java.lang.String
RTKLIB_SDU
U (up) component of the standard deviations in m.static java.lang.String
RTKLIB_SDUN
The absolute value of sdun means square root of the absolute value of UN component of the estimated covariance matrix.static java.util.List<java.lang.String>
WPT_KEYS
Ordered list of all possible waypoint keys.static java.lang.String
XML_URI_EXTENSIONS_DRAWING
Namespace for GPX drawing extensionsstatic java.lang.String
XML_URI_EXTENSIONS_GARMIN
Namespace for Garmin GPX extensionsstatic java.lang.String
XML_URI_EXTENSIONS_JOSM
Namespace for JOSM GPX extensionsstatic java.lang.String
XML_URI_XSD
Namespace for the XSDstatic java.lang.String
XML_XSD_EXTENSIONS_DRAWING
Location of the XSD schema for GPX drawing extensionsstatic java.lang.String
XML_XSD_EXTENSIONS_GARMIN
Location of the XSD schema for GPX drawing extensionsstatic java.lang.String
XML_XSD_EXTENSIONS_JOSM
Location of the XSD schema for JOSM GPX extensions
-
Method Summary
Static Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>
getExtensionAbbreviations()
Helper method forEXTENSION_ABBREVIATIONS
static java.util.Map<java.lang.String,java.awt.Color>
getGarminColors()
Helper method forGARMIN_COLORS
-
-
-
Field Detail
-
GPX_PREFIX
static final java.lang.String GPX_PREFIX
Prefix used for attributes when converting to OSM data- See Also:
- Constant Field Values
-
GPX_NAME
static final java.lang.String 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:
- Constant Field Values
-
GPX_CMT
static final java.lang.String GPX_CMT
GPS element comment. Sent to GPS as comment.- See Also:
- Constant Field Values
-
GPX_DESC
static final java.lang.String GPX_DESC
Text description of the element. Holds additional information about the element intended for the user, not the GPS.- See Also:
- Constant Field Values
-
GPX_SRC
static final java.lang.String GPX_SRC
Source of data. Included to give user some idea of reliability and accuracy of data.- See Also:
- Constant Field Values
-
META_PREFIX
static final java.lang.String META_PREFIX
Prefix used for all meta values.- See Also:
- Constant Field Values
-
META_AUTHOR_NAME
static final java.lang.String META_AUTHOR_NAME
A constant for the metadata hash map: the author name of the file- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_AUTHOR_EMAIL
static final java.lang.String META_AUTHOR_EMAIL
A constant for the metadata hash map: the author email of the file- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_AUTHOR_LINK
static final java.lang.String META_AUTHOR_LINK
A constant for the metadata hash map: a link to a page about the author- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_COPYRIGHT_AUTHOR
static final java.lang.String META_COPYRIGHT_AUTHOR
A constant for the metadata hash map: the author field for the copyright information in the gpx file- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_COPYRIGHT_LICENSE
static final java.lang.String META_COPYRIGHT_LICENSE
A constant for the metadata hash map: the license of the file- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_COPYRIGHT_YEAR
static final java.lang.String META_COPYRIGHT_YEAR
A constant for the metadata hash map: the year of the license for the file- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_DESC
static final java.lang.String META_DESC
A constant for the metadata hash map: a description of the file- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_KEYWORDS
static final java.lang.String META_KEYWORDS
A constant for the metadata hash map: the keywords of the file- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_LINKS
static final java.lang.String META_LINKS
A constant for the metadata hash map: the links. They are stored as list ofGpxLink
objects- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_NAME
static final java.lang.String META_NAME
A constant for the metadata hash map: the name of the file (stored in the file, not the one on the disk)- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_TIME
static final java.lang.String META_TIME
A constant for the metadata hash map: the time as string- See Also:
WithAttributes.get(String)
, Constant Field Values
-
META_BOUNDS
static final java.lang.String META_BOUNDS
A constant for the metadata hash map: the bounding box. This is aBounds
object- See Also:
GpxData.getMetaBounds()
, Constant Field Values
-
JOSM_CREATOR_NAME
static final java.lang.String JOSM_CREATOR_NAME
The creator element that will be written when exporting a GPX file- Since:
- 18287
- See Also:
- Constant Field Values
-
XML_URI_XSD
static final java.lang.String XML_URI_XSD
Namespace for the XSD- See Also:
- Constant Field Values
-
XML_URI_EXTENSIONS_JOSM
static final java.lang.String XML_URI_EXTENSIONS_JOSM
Namespace for JOSM GPX extensions
-
XML_XSD_EXTENSIONS_JOSM
static final java.lang.String XML_XSD_EXTENSIONS_JOSM
Location of the XSD schema for JOSM GPX extensions
-
XML_URI_EXTENSIONS_DRAWING
static final java.lang.String XML_URI_EXTENSIONS_DRAWING
Namespace for GPX drawing extensions
-
XML_XSD_EXTENSIONS_DRAWING
static final java.lang.String XML_XSD_EXTENSIONS_DRAWING
Location of the XSD schema for GPX drawing extensions
-
XML_URI_EXTENSIONS_GARMIN
static final java.lang.String XML_URI_EXTENSIONS_GARMIN
Namespace for Garmin GPX extensions- See Also:
- Constant Field Values
-
XML_XSD_EXTENSIONS_GARMIN
static final java.lang.String XML_XSD_EXTENSIONS_GARMIN
Location of the XSD schema for GPX drawing extensions- See Also:
- Constant Field Values
-
PT_ELE
static final java.lang.String PT_ELE
Elevation (in meters) of the point.- See Also:
- Constant Field Values
-
PT_TIME
static final java.lang.String 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:
- Constant Field Values
-
PT_MAGVAR
static final java.lang.String PT_MAGVAR
Magnetic variation (in degrees) at the point. 0.0 <= value < 360.0- See Also:
- Constant Field Values
-
PT_GEOIDHEIGHT
static final java.lang.String PT_GEOIDHEIGHT
Height, in meters, of geoid (mean sea level) above WGS-84 earth ellipsoid. (NMEA GGA message)- See Also:
- Constant Field Values
-
PT_SYM
static final java.lang.String 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:
- Constant Field Values
-
PT_TYPE
static final java.lang.String PT_TYPE
Type (textual classification) of element.- See Also:
- Constant Field Values
-
PT_FIX
static final java.lang.String PT_FIX
Type of GPS fix. none means GPS had no fix. Value comes from list: {'none'|'2d'|'3d'|'dgps'|'pps'}- See Also:
- Constant Field Values
-
PT_SAT
static final java.lang.String PT_SAT
Number of satellites used to calculate the GPS fix. (not number of satellites in view).- See Also:
- Constant Field Values
-
PT_HDOP
static final java.lang.String PT_HDOP
Horizontal dilution of precision.- See Also:
- Constant Field Values
-
PT_VDOP
static final java.lang.String PT_VDOP
Vertical dilution of precision.- See Also:
- Constant Field Values
-
PT_PDOP
static final java.lang.String PT_PDOP
Position dilution of precision.- See Also:
- Constant Field Values
-
PT_AGEOFDGPSDATA
static final java.lang.String PT_AGEOFDGPSDATA
Number of seconds since last DGPS update.- See Also:
- Constant Field Values
-
PT_DGPSID
static final java.lang.String PT_DGPSID
Represents a differential GPS station. 0 <= value <= 1023- See Also:
- Constant Field Values
-
WPT_KEYS
static final java.util.List<java.lang.String> WPT_KEYS
Ordered list of all possible waypoint keys.
-
RTE_TRK_KEYS
static final java.util.List<java.lang.String> RTE_TRK_KEYS
Ordered list of all possible route and track keys.
-
GARMIN_COLORS
static final java.util.Map<java.lang.String,java.awt.Color> GARMIN_COLORS
Map with all supported Garmin colors
-
EXTENSION_ABBREVIATIONS
static final java.util.Map<java.lang.String,java.lang.String> EXTENSION_ABBREVIATIONS
Map with all supported extension abbreviations for easier readability in OSM layers
-
FIX_VALUES
static final java.util.List<java.lang.String> FIX_VALUES
Possible fix values. NMEA 0183 Version 4.00
-
RTKLIB_Q
static final java.lang.String 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:
- Constant Field Values
-
RTKLIB_SDN
static final java.lang.String RTKLIB_SDN
N (north) component of the standard deviations in m.- See Also:
- Constant Field Values
-
RTKLIB_SDE
static final java.lang.String RTKLIB_SDE
E (east) component of the standard deviations in m.- See Also:
- Constant Field Values
-
RTKLIB_SDU
static final java.lang.String RTKLIB_SDU
U (up) component of the standard deviations in m.- See Also:
- Constant Field Values
-
RTKLIB_SDNE
static final java.lang.String 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:
- Constant Field Values
-
RTKLIB_SDEU
static final java.lang.String 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:
- Constant Field Values
-
RTKLIB_SDUN
static final java.lang.String 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:
- Constant Field Values
-
RTKLIB_AGE
static final java.lang.String RTKLIB_AGE
The time difference between the observation data epochs of the rover receiver and the base station in second.- See Also:
- Constant Field Values
-
RTKLIB_RATIO
static final java.lang.String 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:
- Constant Field Values
-
-
Method Detail
-
getGarminColors
static java.util.Map<java.lang.String,java.awt.Color> getGarminColors()
Helper method forGARMIN_COLORS
- Returns:
- Map with all supported Garmin colors
-
getExtensionAbbreviations
static java.util.Map<java.lang.String,java.lang.String> getExtensionAbbreviations()
Helper method forEXTENSION_ABBREVIATIONS
- Returns:
- Map with all supported extension abbreviations
-
-