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 Map<String,String>
EXTENSION_ABBREVIATIONS
Map with all supported extension abbreviations for easier readability in OSM layersstatic Collection<String>
FIX_VALUES
Possible fix values.static Map<String,Color>
GARMIN_COLORS
Map with all supported Garmin colorsstatic String
GPX_CMT
GPS element comment.static String
GPX_DESC
Text description of the element.static String
GPX_NAME
GPS name of the element.static String
GPX_PREFIX
Prefix used for attributes when converting to OSM datastatic String
GPX_SRC
Source of data.static String
JOSM_CREATOR_NAME
The creator element that will be written when exporting a GPX filestatic String
META_AUTHOR_EMAIL
A constant for the metadata hash map: the author email of the filestatic String
META_AUTHOR_LINK
A constant for the metadata hash map: a link to a page about the authorstatic String
META_AUTHOR_NAME
A constant for the metadata hash map: the author name of the filestatic String
META_BOUNDS
A constant for the metadata hash map: the bounding box.static String
META_COPYRIGHT_AUTHOR
A constant for the metadata hash map: the author field for the copyright information in the gpx filestatic String
META_COPYRIGHT_LICENSE
A constant for the metadata hash map: the license of the filestatic String
META_COPYRIGHT_YEAR
A constant for the metadata hash map: the year of the license for the filestatic String
META_DESC
A constant for the metadata hash map: a description of the filestatic String
META_KEYWORDS
A constant for the metadata hash map: the keywords of the filestatic String
META_LINKS
A constant for the metadata hash map: the links.static 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 String
META_PREFIX
Prefix used for all meta values.static String
META_TIME
A constant for the metadata hash map: the time as stringstatic String
PT_AGEOFDGPSDATA
Number of seconds since last DGPS update.static String
PT_DGPSID
Represents a differential GPS station.static String
PT_ELE
Elevation (in meters) of the point.static String
PT_FIX
Type of GPS fix.static String
PT_GEOIDHEIGHT
Height, in meters, of geoid (mean sea level) above WGS-84 earth ellipsoid.static String
PT_HDOP
Horizontal dilution of precision.static String
PT_MAGVAR
Magnetic variation (in degrees) at the point.static String
PT_PDOP
Position dilution of precision.static String
PT_SAT
Number of satellites used to calculate the GPS fix.static String
PT_SYM
Text of GPS symbol name.static String
PT_TIME
Creation/modification timestamp for the point.static String
PT_TYPE
Type (textual classification) of element.static String
PT_VDOP
Vertical dilution of precision.static List<String>
RTE_TRK_KEYS
Ordered list of all possible route and track keys.static String
RTKLIB_AGE
The time difference between the observation data epochs of the rover receiver and the base station in second.static 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 String
RTKLIB_RATIO
The ratio factor of ʺratio‐testʺ for standard integer ambiguity validation strategy.static String
RTKLIB_SDE
E (east) component of the standard deviations in m.static String
RTKLIB_SDEU
The absolute value of sdeu means square root of the absolute value of EU component of the estimated covariance matrix.static String
RTKLIB_SDN
N (north) component of the standard deviations in m.static String
RTKLIB_SDNE
The absolute value of sdne means square root of the absolute value of NE component of the estimated covariance matrix.static String
RTKLIB_SDU
U (up) component of the standard deviations in m.static String
RTKLIB_SDUN
The absolute value of sdun means square root of the absolute value of UN component of the estimated covariance matrix.static List<String>
WPT_KEYS
Ordered list of all possible waypoint keys.static String
XML_URI_EXTENSIONS_DRAWING
Namespace for GPX drawing extensionsstatic String
XML_URI_EXTENSIONS_GARMIN
Namespace for Garmin GPX extensionsstatic String
XML_URI_EXTENSIONS_JOSM
Namespace for JOSM GPX extensionsstatic String
XML_URI_XSD
Namespace for the XSDstatic String
XML_XSD_EXTENSIONS_DRAWING
Location of the XSD schema for GPX drawing extensionsstatic String
XML_XSD_EXTENSIONS_GARMIN
Location of the XSD schema for GPX drawing extensionsstatic String
XML_XSD_EXTENSIONS_JOSM
Location of the XSD schema for JOSM GPX extensions
-
Method Summary
Static Methods Modifier and Type Method Description static Map<String,String>
getExtensionAbbreviations()
Helper method forEXTENSION_ABBREVIATIONS
static Map<String,Color>
getGarminColors()
Helper method forGARMIN_COLORS
-
-
-
Field Detail
-
GPX_PREFIX
static final String GPX_PREFIX
Prefix used for attributes when converting to OSM data- See Also:
- Constant Field Values
-
GPX_NAME
static final 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 String GPX_CMT
GPS element comment. Sent to GPS as comment.- See Also:
- Constant Field Values
-
GPX_DESC
static final 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 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 String META_PREFIX
Prefix used for all meta values.- See Also:
- Constant Field Values
-
META_AUTHOR_NAME
static final 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 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 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 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 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 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 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 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 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 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 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 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 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 String XML_URI_XSD
Namespace for the XSD- See Also:
- Constant Field Values
-
XML_URI_EXTENSIONS_JOSM
static final String XML_URI_EXTENSIONS_JOSM
Namespace for JOSM GPX extensions
-
XML_XSD_EXTENSIONS_JOSM
static final String XML_XSD_EXTENSIONS_JOSM
Location of the XSD schema for JOSM GPX extensions
-
XML_URI_EXTENSIONS_DRAWING
static final String XML_URI_EXTENSIONS_DRAWING
Namespace for GPX drawing extensions
-
XML_XSD_EXTENSIONS_DRAWING
static final String XML_XSD_EXTENSIONS_DRAWING
Location of the XSD schema for GPX drawing extensions
-
XML_URI_EXTENSIONS_GARMIN
static final String XML_URI_EXTENSIONS_GARMIN
Namespace for Garmin GPX extensions- See Also:
- Constant Field Values
-
XML_XSD_EXTENSIONS_GARMIN
static final String XML_XSD_EXTENSIONS_GARMIN
Location of the XSD schema for GPX drawing extensions- See Also:
- Constant Field Values
-
PT_ELE
static final String PT_ELE
Elevation (in meters) of the point.- See Also:
- Constant Field Values
-
PT_TIME
static final 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 String PT_MAGVAR
Magnetic variation (in degrees) at the point. 0.0 <= value < 360.0- See Also:
- Constant Field Values
-
PT_GEOIDHEIGHT
static final 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 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 String PT_TYPE
Type (textual classification) of element.- See Also:
- Constant Field Values
-
PT_FIX
static final 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 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 String PT_HDOP
Horizontal dilution of precision.- See Also:
- Constant Field Values
-
PT_VDOP
static final String PT_VDOP
Vertical dilution of precision.- See Also:
- Constant Field Values
-
PT_PDOP
static final String PT_PDOP
Position dilution of precision.- See Also:
- Constant Field Values
-
PT_AGEOFDGPSDATA
static final String PT_AGEOFDGPSDATA
Number of seconds since last DGPS update.- See Also:
- Constant Field Values
-
PT_DGPSID
static final String PT_DGPSID
Represents a differential GPS station. 0 <= value <= 1023- See Also:
- Constant Field Values
-
RTE_TRK_KEYS
static final List<String> RTE_TRK_KEYS
Ordered list of all possible route and track keys.
-
GARMIN_COLORS
static final Map<String,Color> GARMIN_COLORS
Map with all supported Garmin colors
-
EXTENSION_ABBREVIATIONS
static final Map<String,String> EXTENSION_ABBREVIATIONS
Map with all supported extension abbreviations for easier readability in OSM layers
-
FIX_VALUES
static final Collection<String> FIX_VALUES
Possible fix values. NMEA 0183 Version 4.00
-
RTKLIB_Q
static final 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 String RTKLIB_SDN
N (north) component of the standard deviations in m.- See Also:
- Constant Field Values
-
RTKLIB_SDE
static final String RTKLIB_SDE
E (east) component of the standard deviations in m.- See Also:
- Constant Field Values
-
RTKLIB_SDU
static final String RTKLIB_SDU
U (up) component of the standard deviations in m.- See Also:
- Constant Field Values
-
RTKLIB_SDNE
static final 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 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 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 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 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 Map<String,Color> getGarminColors()
Helper method forGARMIN_COLORS
- Returns:
- Map with all supported Garmin colors
-
getExtensionAbbreviations
static Map<String,String> getExtensionAbbreviations()
Helper method forEXTENSION_ABBREVIATIONS
- Returns:
- Map with all supported extension abbreviations
-
-