Class WptType

java.lang.Object
slash.navigation.gpx.binding11.WptType

public class WptType extends Object
wpt represents a waypoint, point of interest, or named feature on a map.

Java class for wptType complex type

.

The following schema fragment specifies the expected content contained within this class.


 <complexType name="wptType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="ele" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="time" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
         <element name="magvar" type="{http://www.topografix.com/GPX/1/1}degreesType" minOccurs="0"/>
         <element name="geoidheight" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="cmt" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="desc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="src" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="link" type="{http://www.topografix.com/GPX/1/1}linkType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="sym" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
         <element name="fix" type="{http://www.topografix.com/GPX/1/1}fixType" minOccurs="0"/>
         <element name="sat" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger" minOccurs="0"/>
         <element name="hdop" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="vdop" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="pdop" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="ageofdgpsdata" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
         <element name="dgpsid" type="{http://www.topografix.com/GPX/1/1}dgpsStationType" minOccurs="0"/>
         <element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
       </sequence>
       <attribute name="lat" use="required" type="{http://www.topografix.com/GPX/1/1}latitudeType" />
       <attribute name="lon" use="required" type="{http://www.topografix.com/GPX/1/1}longitudeType" />
     </restriction>
   </complexContent>
 </complexType>
 
  • Field Details

    • ele

      protected BigDecimal ele
      Elevation (in meters) of the point.
    • time

      protected XMLGregorianCalendar time
      Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs.
    • magvar

      protected BigDecimal magvar
      Magnetic variation (in degrees) at the point
    • geoidheight

      protected BigDecimal geoidheight
      Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid. As defined in NMEA GGA message.
    • name

      protected String name
      The GPS name of the waypoint. 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.
    • cmt

      protected String cmt
      GPS waypoint comment. Sent to GPS as comment.
    • desc

      protected String desc
      A text description of the element. Holds additional information about the element intended for the user, not the GPS.
    • src

      protected String src
      Source of data. Included to give user some idea of reliability and accuracy of data. "Garmin eTrex", "USGS quad Boston North", e.g.
    • sym

      protected String sym
      Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol as displayed on the GPS. If the GPS abbreviates words, spell them out.
    • type

      protected String type
      Type (classification) of the waypoint.
    • fix

      protected String fix
      Type of GPX fix.
    • sat

      protected BigInteger sat
      Number of satellites used to calculate the GPX fix.
    • hdop

      protected BigDecimal hdop
      Horizontal dilution of precision.
    • vdop

      protected BigDecimal vdop
      Vertical dilution of precision.
    • pdop

      protected BigDecimal pdop
      Position dilution of precision.
    • ageofdgpsdata

      protected BigDecimal ageofdgpsdata
      Number of seconds since last DGPS update.
    • dgpsid

      protected Integer dgpsid
      ID of DGPS station used in differential correction.
    • extensions

      protected ExtensionsType extensions
      You can add extend GPX by adding your own elements from another schema here.
    • lat

      protected BigDecimal lat
      The latitude of the point. Decimal degrees, WGS84 datum.
    • lon

      protected BigDecimal lon
      The latitude of the point. Decimal degrees, WGS84 datum.
  • Constructor Details

    • WptType

      public WptType()
  • Method Details

    • getEle

      public BigDecimal getEle()
      Elevation (in meters) of the point.
      Returns:
      possible object is BigDecimal
    • setEle

      public void setEle(BigDecimal value)
      Sets the value of the ele property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getTime

      public XMLGregorianCalendar getTime()
      Creation/modification timestamp for element. Date and time in are in Univeral Coordinated Time (UTC), not local time! Conforms to ISO 8601 specification for date/time representation. Fractional seconds are allowed for millisecond timing in tracklogs.
      Returns:
      possible object is XMLGregorianCalendar
    • setTime

      public void setTime(XMLGregorianCalendar value)
      Sets the value of the time property.
      Parameters:
      value - allowed object is XMLGregorianCalendar
      See Also:
    • getMagvar

      public BigDecimal getMagvar()
      Magnetic variation (in degrees) at the point
      Returns:
      possible object is BigDecimal
    • setMagvar

      public void setMagvar(BigDecimal value)
      Sets the value of the magvar property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getGeoidheight

      public BigDecimal getGeoidheight()
      Height (in meters) of geoid (mean sea level) above WGS84 earth ellipsoid. As defined in NMEA GGA message.
      Returns:
      possible object is BigDecimal
    • setGeoidheight

      public void setGeoidheight(BigDecimal value)
      Sets the value of the geoidheight property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getName

      public String getName()
      The GPS name of the waypoint. 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.
      Returns:
      possible object is String
    • setName

      public void setName(String value)
      Sets the value of the name property.
      Parameters:
      value - allowed object is String
      See Also:
    • getCmt

      public String getCmt()
      GPS waypoint comment. Sent to GPS as comment.
      Returns:
      possible object is String
    • setCmt

      public void setCmt(String value)
      Sets the value of the cmt property.
      Parameters:
      value - allowed object is String
      See Also:
    • getDesc

      public String getDesc()
      A text description of the element. Holds additional information about the element intended for the user, not the GPS.
      Returns:
      possible object is String
    • setDesc

      public void setDesc(String value)
      Sets the value of the desc property.
      Parameters:
      value - allowed object is String
      See Also:
    • getSrc

      public String getSrc()
      Source of data. Included to give user some idea of reliability and accuracy of data. "Garmin eTrex", "USGS quad Boston North", e.g.
      Returns:
      possible object is String
    • setSrc

      public void setSrc(String value)
      Sets the value of the src property.
      Parameters:
      value - allowed object is String
      See Also:
    • getLink

      public List<LinkType> getLink()
      Link to additional information about the waypoint. Gets the value of the link property.

      This accessor method returns a reference to the live list, not a snapshot. Therefore, any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a set method for the link property.

      For example, to add a new item, do as follows:

       getLink().add(newItem);
       

      Objects of the following type(s) are allowed in the list LinkType

      Returns:
      The value of the link property.
    • getSym

      public String getSym()
      Text of GPS symbol name. For interchange with other programs, use the exact spelling of the symbol as displayed on the GPS. If the GPS abbreviates words, spell them out.
      Returns:
      possible object is String
    • setSym

      public void setSym(String value)
      Sets the value of the sym property.
      Parameters:
      value - allowed object is String
      See Also:
    • getType

      public String getType()
      Type (classification) of the waypoint.
      Returns:
      possible object is String
    • setType

      public void setType(String value)
      Sets the value of the type property.
      Parameters:
      value - allowed object is String
      See Also:
    • getFix

      public String getFix()
      Type of GPX fix.
      Returns:
      possible object is String
    • setFix

      public void setFix(String value)
      Sets the value of the fix property.
      Parameters:
      value - allowed object is String
      See Also:
    • getSat

      public BigInteger getSat()
      Number of satellites used to calculate the GPX fix.
      Returns:
      possible object is BigInteger
    • setSat

      public void setSat(BigInteger value)
      Sets the value of the sat property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getHdop

      public BigDecimal getHdop()
      Horizontal dilution of precision.
      Returns:
      possible object is BigDecimal
    • setHdop

      public void setHdop(BigDecimal value)
      Sets the value of the hdop property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getVdop

      public BigDecimal getVdop()
      Vertical dilution of precision.
      Returns:
      possible object is BigDecimal
    • setVdop

      public void setVdop(BigDecimal value)
      Sets the value of the vdop property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getPdop

      public BigDecimal getPdop()
      Position dilution of precision.
      Returns:
      possible object is BigDecimal
    • setPdop

      public void setPdop(BigDecimal value)
      Sets the value of the pdop property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getAgeofdgpsdata

      public BigDecimal getAgeofdgpsdata()
      Number of seconds since last DGPS update.
      Returns:
      possible object is BigDecimal
    • setAgeofdgpsdata

      public void setAgeofdgpsdata(BigDecimal value)
      Sets the value of the ageofdgpsdata property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getDgpsid

      public Integer getDgpsid()
      ID of DGPS station used in differential correction.
      Returns:
      possible object is Integer
    • setDgpsid

      public void setDgpsid(Integer value)
      Sets the value of the dgpsid property.
      Parameters:
      value - allowed object is Integer
      See Also:
    • getExtensions

      public ExtensionsType getExtensions()
      You can add extend GPX by adding your own elements from another schema here.
      Returns:
      possible object is ExtensionsType
    • setExtensions

      public void setExtensions(ExtensionsType value)
      Sets the value of the extensions property.
      Parameters:
      value - allowed object is ExtensionsType
      See Also:
    • getLat

      public BigDecimal getLat()
      The latitude of the point. Decimal degrees, WGS84 datum.
      Returns:
      possible object is BigDecimal
    • setLat

      public void setLat(BigDecimal value)
      Sets the value of the lat property.
      Parameters:
      value - allowed object is BigDecimal
      See Also:
    • getLon

      public BigDecimal getLon()
      The latitude of the point. Decimal degrees, WGS84 datum.
      Returns:
      possible object is BigDecimal
    • setLon

      public void setLon(BigDecimal value)
      Sets the value of the lon property.
      Parameters:
      value - allowed object is BigDecimal
      See Also: