Definition Type: ComplexType
Name: LinearRingType
Namespace: http://www.opengis.net/gml
Type: gml:AbstractRingType
Containing Schema: geometryBasic2d.xsd
Abstract
Documentation:
A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates must be coincident.
Collapse XSD Schema Diagram:
Drilldown into coord in schema geometrybasic0d1d_xsd Drilldown into coordinates 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 AbstractRingType in schema geometrybasic2d_xsdXSD Diagram of LinearRingType in schema geometrybasic2d_xsd (Geography Markup Language)
Collapse XSD Schema Code:
<complexType name="LinearRingType">
    <annotation>
        <documentation>A LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates must be coincident.</documentation>
    </annotation>
    <complexContent>
        <extension base="gml:AbstractRingType">
            <sequence>
                <choice>
                    <annotation>
                        <documentation>GML supports two different ways to specify the control points of a linear ring.
1. A sequence of "pos" (DirectPositionType) or "pointRep" (PointPropertyType) elements. "pos" elements are control points that are only part of this ring, "pointRep" elements contain a point that may be referenced from other geometry elements or reference another point defined outside of this ring (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 ring only. The number of direct positions in the coordinate list must be at least four.</documentation>
                    </annotation>
                    <choice minOccurs="4" maxOccurs="unbounded">
                        <element ref="gml:pos" />
                        <element ref="gml:pointRep" />
                    </choice>
                    <element ref="gml:coordinates" />
                    <element ref="gml:coord" minOccurs="4" maxOccurs="unbounded">
                        <annotation>
                            <documentation>Deprecated with GML version 3.0 and included for backwards compatibility with GML 2. Use "pos" elements instead.</documentation>
                        </annotation>
                    </element>
                </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)
coordinates gml:coordinates (1) (1)
coord gml:coord 4 unbounded
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:LinearRing