Package org.apache.sis.storage.gps
Enum Class Fix
- All Implemented Interfaces:
- Serializable,- Comparable<Fix>,- Constable
Type of GPS fix (position derived from measuring external reference points).
 The Standard Positioning Service (SPS) can be two- or three-dimensional,
 or use differential GPS for increased accuracy.
 The Precise Positioning Service (PPS) is a military signal.
 
This enumeration value can be encoded in GPS
 Exchange Format (GPX) with the following strings: "none", "2d", "3d", "dgps"
 and "pps".
 When reading such data, Fix instances can be a
 property value
 of the features returned by the GPX reader.
- Since:
- 0.8
Defined in the sis-xmlstore module
- 
Nested Class SummaryNested classes/interfaces inherited from class EnumEnum.EnumDesc<E extends Enum<E>>
- 
Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionDifferential Global Positioning Service (DGPS) used.GPS has no fix.Precise Positioning Service (PPS) used.Three-dimensional fix.Two-dimensional fix.
- 
Method SummaryModifier and TypeMethodDescriptionstatic FixReturns the enumeration value from the given GPX name, ornullif none.toGPX()Returns the string representation in GPS Exchange Format (GPX).static FixReturns the enum constant of this class with the specified name.static Fix[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class Enumclone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
- 
Enum Constant Details- 
NONEGPS has no fix. Note that this is a different meaning than "the fix information is unknown".
- 
TWO_DIMENSIONALTwo-dimensional fix. This requires the signal of at least 3 satellites.
- 
THREE_DIMENSIONALThree-dimensional fix. This requires the signal of at least 4 satellites.
- 
DIFFERENTIALDifferential Global Positioning Service (DGPS) used.- See Also:
 
- 
PRECISEPrecise Positioning Service (PPS) used. This is a military signal. (Note: the alternative is Standard Positioning Service – SPS).
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
- 
fromGPXReturns the enumeration value from the given GPX name, ornullif none. Recognized values are"none","2d","3d","dgps"and"pps", ignoring case.- Parameters:
- name- the GPX name (case insensitive) for which to get an enumeration value.
- Returns:
- the enumeration value for the given GPX name, or nullif the given name wasnullor unrecognized.
 
- 
toGPXReturns the string representation in GPS Exchange Format (GPX). Returned value can be"none","2d","3d","dgps"or"pps",- Returns:
- the GPX enumeration value.
 
 
-