Definition Type: ComplexType
Name: LineStringType
Namespace: http://www.opengis.net/gml
Type: gml:AbstractCurveType
Containing Schema: geometryBasic0d1d.xsd
Abstract
Documentation:
A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. It is backwards compatible with the LineString of GML 2, GM_LineString of ISO 19107 is implemented by LineStringSegment.
Collapse XSD Schema Diagram:
Drilldown into coordinates in schema geometrybasic0d1d_xsd Drilldown into coord in schema geometrybasic0d1d_xsd Drilldown into pointRep in schema geometrybasic0d1d_xsd Drilldown into pos in schema geometrybasic0d1d_xsd Drilldown into name in schema gmlbase_xsd Drilldown into description in schema gmlbase_xsd Drilldown into metaDataProperty in schema gmlbase_xsd Drilldown into id in schema gmlbase_xsd Drilldown into AbstractGMLType in schema gmlbase_xsd Drilldown into srsName in schema geometrybasic0d1d_xsd Drilldown into gid in schema geometrybasic0d1d_xsd Drilldown into AbstractGeometryType in schema geometrybasic0d1d_xsd Drilldown into AbstractGeometricPrimitiveType in schema geometrybasic0d1d_xsd Drilldown into AbstractCurveType in schema geometrybasic0d1d_xsdXSD Diagram of LineStringType in schema geometrybasic0d1d_xsd (Geography Markup Language)
Collapse XSD Schema Code:
<complexType name="LineStringType">
    <annotation>
        <documentation> 				A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. It is backwards compatible with the LineString of GML 2, GM_LineString of ISO 19107 is implemented by LineStringSegment. 			</documentation>
    </annotation>
    <complexContent>
        <extension base="gml:AbstractCurveType">
            <sequence>
                <choice>
                    <annotation>
                        <documentation>GML supports two different ways to specify the control points of a line string. 1. A sequence of "pos" (DirectPositionType) or "pointRep" (PointPropertyType) elements. "pos" elements are control points that are only part of this curve, "pointRep" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this curve (reuse of existing points). 2. The "coordinates" element allows for a compact way to specifiy the coordinates of the control points, if all control points are in the same coordinate reference systems and belong to this curve only. The number of direct positions in the coordinates list must be at least two.</documentation>
                    </annotation>
                    <choice minOccurs="2" maxOccurs="unbounded">
                        <element ref="gml:pos" />
                        <element ref="gml:pointRep" />
                        <element ref="gml:coord">
                            <annotation>
                                <documentation>Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for backwards compatibility with GML 2.</documentation>
                            </annotation>
                        </element>
                    </choice>
                    <element ref="gml:coordinates" />
                </choice>
            </sequence>
        </extension>
    </complexContent>
</complexType>
Collapse Child Elements:
Name Type Min Occurs Max Occurs
metaDataProperty gml:metaDataProperty 0 unbounded
description gml:description 0 (1)
name gml:name 0 unbounded
pos gml:pos (1) (1)
pointRep gml:pointRep (1) (1)
coord gml:coord (1) (1)
coordinates gml:coordinates (1) (1)
Collapse Child Attributes:
Name Type Default Value Use
id gml:id Optional
gid gml:gid Optional
srsName gml:srsName Optional
Collapse Derivation Tree:
Collapse References:
gml:LineString