|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface GGASentence
Global Positioning System fix data. Current position, time and other fix related data for a GPS receiver.
Example:
$GPGGA,120044,6011.552,N,02501.941,E,1,00,2.0,28.0,M,19.6,M,,*79
| Field Summary | |
|---|---|
static char |
ALT_UNIT_FEET
Altitude presented in feet. |
static char |
ALT_UNIT_METERS
Altitude presented in meters. |
| Fields inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
ALTERNATIVE_BEGIN_CHAR, BEGIN_CHAR, CHECKSUM_DELIMITER, FIELD_DELIMITER, MAX_LENGTH, TERMINATOR |
| Method Summary | |
|---|---|
double |
getAltitude()
Get antenna altitude above mean sea level. |
Units |
getAltitudeUnits()
Gets the altitude units, meters or feet. |
double |
getDgpsAge()
Gets the age of differential GPS data (DGPS). |
String |
getDgpsStationId()
Gets the ID of DGPS station. |
GpsFixQuality |
getFixQuality()
Get the GPS fix quality. |
double |
getGeoidalHeight()
Get height/separation of geoid above WGS84 ellipsoid, i.e. difference between WGS-84 earth ellipsoid and mean sea level. |
Units |
getGeoidalHeightUnits()
Get units of height above geoid. |
double |
getHorizontalDOP()
Get the horizontal dilution of precision (HDOP), i.e. the relative accuracy of horizontal position. |
int |
getSatelliteCount()
Get the number of active satellites in use. |
void |
setAltitude(double alt)
Set the antenna altitude. |
void |
setAltitudeUnits(Units unit)
Sets the unit of altitude. |
void |
setDgpsAge(double age)
Sets the age of differential GPS data (DGPS). |
void |
setDgpsStationId(String id)
Sets the ID of DGPS station. |
void |
setFixQuality(GpsFixQuality quality)
Sets the GPS fix quality. |
void |
setGeoidalHeight(double height)
Set height/separation of geoid above WGS84 ellipsoid, i.e. difference between WGS-84 earth ellipsoid and mean sea level. |
void |
setGeoidalHeightUnits(Units unit)
Get unit of height above geoid. |
void |
setHorizontalDOP(double hdop)
Set the horizontal dilution of precision (HDOP), i.e. the relative accuracy of horizontal position. |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.PositionSentence |
|---|
getPosition, setPosition |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.TimeSentence |
|---|
getTime, setTime |
| Methods inherited from interface net.sf.marineapi.nmea.sentence.Sentence |
|---|
getBeginChar, getFieldCount, getSentenceId, getTalkerId, isProprietary, isValid, reset, setBeginChar, setTalkerId, toSentence, toSentence, toString |
| Field Detail |
|---|
static final char ALT_UNIT_METERS
static final char ALT_UNIT_FEET
| Method Detail |
|---|
double getAltitude()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.Units getAltitudeUnits()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.double getDgpsAge()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.String getDgpsStationId()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.GpsFixQuality getFixQuality()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.double getGeoidalHeight()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.Units getGeoidalHeightUnits()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.double getHorizontalDOP()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.int getSatelliteCount()
DataNotAvailableException - If the data is
not available.
ParseException - If the field contains
unexpected or illegal value.void setAltitude(double alt)
alt - Altitude to setvoid setAltitudeUnits(Units unit)
unit - Units to setvoid setDgpsAge(double age)
age - Seconds since last valid RTCM transmission to set.void setDgpsStationId(String id)
id - Station ID to setvoid setFixQuality(GpsFixQuality quality)
quality - Fix quality to setvoid setGeoidalHeight(double height)
height - Height value to setvoid setGeoidalHeightUnits(Units unit)
unit - Unit to setvoid setHorizontalDOP(double hdop)
hdop - Horizontal dilution
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||