Package org.openstreetmap.josm.io.nmea
Enum NmeaParser.GSA
- java.lang.Object
-
- java.lang.Enum<NmeaParser.GSA>
-
- org.openstreetmap.josm.io.nmea.NmeaParser.GSA
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<NmeaParser.GSA>
- Enclosing class:
- NmeaParser
static enum NmeaParser.GSA extends java.lang.Enum<NmeaParser.GSA>
GNSS DOP and Active Satellites.GNSS receiver operating mode, satellites used in the navigation solution reported by the GGA or GNS sentence, and DOP values. If only GPS, GLONASS, etc. is used for the reported position solution the talker ID is GP, GL, etc. and the DOP values pertain to the individual system. If GPS, GLONASS, etc. are combined to obtain the reported position solution multiple GSA sentences are produced, one with the GPS satellites, another with the GLONASS satellites, etc. Each of these GSA sentences shall have talker ID GN, to indicate that the satellites are used in a combined solution and each shall have the PDOP, HDOP and VDOP for the combined satellites used in the position.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) int
position
-
Constructor Summary
Constructors Modifier Constructor Description private
GSA(int position)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static NmeaParser.GSA
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static NmeaParser.GSA[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AUTOMATIC
public static final NmeaParser.GSA AUTOMATIC
-
FIX_TYPE
public static final NmeaParser.GSA FIX_TYPE
-
PRN_1
public static final NmeaParser.GSA PRN_1
-
PRN_2
public static final NmeaParser.GSA PRN_2
-
PRN_3
public static final NmeaParser.GSA PRN_3
-
PRN_4
public static final NmeaParser.GSA PRN_4
-
PRN_5
public static final NmeaParser.GSA PRN_5
-
PRN_6
public static final NmeaParser.GSA PRN_6
-
PRN_7
public static final NmeaParser.GSA PRN_7
-
PRN_8
public static final NmeaParser.GSA PRN_8
-
PRN_9
public static final NmeaParser.GSA PRN_9
-
PRN_10
public static final NmeaParser.GSA PRN_10
-
PRN_11
public static final NmeaParser.GSA PRN_11
-
PRN_12
public static final NmeaParser.GSA PRN_12
-
PDOP
public static final NmeaParser.GSA PDOP
-
HDOP
public static final NmeaParser.GSA HDOP
-
VDOP
public static final NmeaParser.GSA VDOP
-
-
Field Detail
-
position
final int position
-
-
Constructor Detail
-
GSA
private GSA(int position)
-
-
Method Detail
-
values
public static NmeaParser.GSA[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (NmeaParser.GSA c : NmeaParser.GSA.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static NmeaParser.GSA valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-