Class GeodesicStringType

  • Direct Known Subclasses:
    GeodesicType

    public class GeodesicStringType
    extends AbstractCurveSegmentType
    A GeodesicString consists of sequence of geodesic segments. The type essentially combines a sequence of Geodesic into a single object. The GeodesicString is computed from two or more positions and an interpolation using geodesics defined from the geoid (or ellipsoid) of the co-ordinate reference system being used.

    Java class for GeodesicStringType complex type.

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

     <complexType name="GeodesicStringType">
       <complexContent>
         <extension base="{http://www.opengis.net/gml}AbstractCurveSegmentType">
           <choice>
             <element ref="{http://www.opengis.net/gml}posList"/>
             <group ref="{http://www.opengis.net/gml}geometricPositionGroup" maxOccurs="unbounded" minOccurs="2"/>
           </choice>
           <attribute name="interpolation" type="{http://www.opengis.net/gml}CurveInterpolationType" fixed="geodesic" />
         </extension>
       </complexContent>
     </complexType>
     
    • Field Detail

      • posList

        protected PosList posList
      • geometricPositionGroup

        protected List<javax.xml.bind.JAXBElement<?>> geometricPositionGroup
    • Constructor Detail

      • GeodesicStringType

        public GeodesicStringType()
        Default no-arg constructor
    • Method Detail

      • getPosList

        public PosList getPosList()
        Gets the value of the posList property.
        Returns:
        possible object is PosList
      • setPosList

        public void setPosList​(PosList value)
        Sets the value of the posList property.
        Parameters:
        value - allowed object is PosList
      • getGeometricPositionGroup

        public List<javax.xml.bind.JAXBElement<?>> getGeometricPositionGroup()
        Gets the value of the geometricPositionGroup 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 JAXB object. This is why there is not a set method for the geometricPositionGroup property.

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

            getGeometricPositionGroup().add(newItem);
         

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