geometryBasic2d

Table of Contents

top

Schema Document Properties

Target Namespacehttp://www.opengis.net/gml
Version3.2.0
Element and Attribute Namespaces
  • Global element and attribute declarations belong to this schema's target namespace.
  • By default, local element declarations belong to this schema's target namespace.
  • By default, local attribute declarations have no namespace.
Schema Composition
DocumentationSee ISO/DIS 19136 Clause 10.
Application DatageometryBasic2d.xsd
More information at: urn:ogc:specification:gml:schema-xsd:geometryBasic2d:3.2.0.

Declared Namespaces

PrefixNamespace
Default namespacehttp://www.w3.org/2001/XMLSchema
xmlhttp://www.w3.org/XML/1998/namespace
gmlhttp://www.opengis.net/gml
xlinkhttp://www.w3.org/1999/xlink
Schema Component Representation
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.2.0">
<include schemaLocation="geometryBasic0d1d.xsd"/>
...
</schema>
top

Global Declarations

Element: AbstractRing

  • This element can be used wherever the following element is referenced:
  • The following elements can be used wherever this element is referenced:
NameAbstractRing
Typegml:AbstractRingType
Nillableno
Abstractyes
DocumentationAn abstraction of a ring to support surface boundaries of different complexity. The AbstractRing element is the abstract head of the substituition group for all closed boundaries of a surface patch.
XML Instance Representation
<gml:AbstractRing/>
Schema Component Representation
<element name="AbstractRing" type="gml:AbstractRingType" abstract="true" substitutionGroup="gml:AbstractObject"/>
top

Element: AbstractSurface

NameAbstractSurface
Typegml:AbstractSurfaceType
Nillableno
Abstractyes
DocumentationThe AbstractSurface element is the abstract head of the substitution group for all (continuous) surface elements.
XML Instance Representation
<gml:AbstractSurface
gml:id="[1]"
srsName="anyURI [0..1]"
srsDimension="positiveInteger [0..1]"
axisLabels="gml:NCNameList [0..1]"
uomLabels="gml:NCNameList [0..1]">
<gml:metaDataProperty> ... </gml:metaDataProperty> [0..*]
<gml:description> ... </gml:description> [0..1]
<gml:descriptionReference> ... </gml:descriptionReference> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
</gml:AbstractSurface>
Schema Component Representation
<element name="AbstractSurface" type="gml:AbstractSurfaceType" abstract="true" substitutionGroup="gml:AbstractGeometricPrimitive"/>
top

Element: LinearRing

  • This element can be used wherever the following element is referenced:
NameLinearRing
Typegml:LinearRingType
Nillableno
Abstractno
DocumentationA LinearRing is defined by four or more coordinate tuples, with linear interpolation between them; the first and last coordinates shall be coincident. The number of direct positions in the list shall be at least four.
XML Instance Representation
<gml:LinearRing>
Start Choice [1]
Start Choice [4..*]
<gml:pos> ... </gml:pos> [1]
<gml:pointProperty> ... </gml:pointProperty> [1]
<gml:pointRep> ... </gml:pointRep> [1]
End Choice
<gml:posList> ... </gml:posList> [1]
<gml:coordinates> ... </gml:coordinates> [1]
End Choice
</gml:LinearRing>
Schema Component Representation
<element name="LinearRing" type="gml:LinearRingType" substitutionGroup="gml:AbstractRing"/>
top

Element: Polygon

NamePolygon
Typegml:PolygonType
Nillableno
Abstractno
DocumentationA Polygon is a special surface that is defined by a single surface patch (see D.3.6). The boundary of this patch is coplanar and the polygon uses planar interpolation in its interior. The elements exterior and interior describe the surface boundary of the polygon.
XML Instance Representation
<gml:Polygon
gml:id="[1]"
srsName="anyURI [0..1]"
srsDimension="positiveInteger [0..1]"
axisLabels="gml:NCNameList [0..1]"
uomLabels="gml:NCNameList [0..1]">
<gml:metaDataProperty> ... </gml:metaDataProperty> [0..*]
<gml:description> ... </gml:description> [0..1]
<gml:descriptionReference> ... </gml:descriptionReference> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:exterior> ... </gml:exterior> [0..1]
<gml:interior> ... </gml:interior> [0..*]
</gml:Polygon>
Schema Component Representation
<element name="Polygon" type="gml:PolygonType" substitutionGroup="gml:AbstractSurface"/>
top

Element: exterior

Nameexterior
Typegml:AbstractRingPropertyType
Nillableno
Abstractno
DocumentationA boundary of a surface consists of a number of rings. In the normal 2D case, one of these rings is distinguished as being the exterior boundary. In a general manifold this is not always possible, in which case all boundaries shall be listed as interior boundaries, and the exterior will be empty.
XML Instance Representation
<gml:exterior>
<gml:AbstractRing> ... </gml:AbstractRing> [1]
</gml:exterior>
Schema Component Representation
<element name="exterior" type="gml:AbstractRingPropertyType"/>
top

Element: interior

Nameinterior
Typegml:AbstractRingPropertyType
Nillableno
Abstractno
DocumentationA boundary of a surface consists of a number of rings. The "interior" rings separate the surface / surface patch from the area enclosed by the rings.
XML Instance Representation
<gml:interior>
<gml:AbstractRing> ... </gml:AbstractRing> [1]
</gml:interior>
Schema Component Representation
<element name="interior" type="gml:AbstractRingPropertyType"/>
top

Element: surfaceArrayProperty

NamesurfaceArrayProperty
Typegml:SurfaceArrayPropertyType
Nillableno
Abstractno
DocumentationThis property element contains a list of surface elements. surfaceArrayProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for a list of AbstractSurfaces.
XML Instance Representation
<gml:surfaceArrayProperty
owns="boolean [0..1]">
Start Sequence [0..*]
<gml:AbstractSurface> ... </gml:AbstractSurface> [1]
End Sequence
</gml:surfaceArrayProperty>
Schema Component Representation
<element name="surfaceArrayProperty" type="gml:SurfaceArrayPropertyType"/>
top

Element: surfaceProperty

NamesurfaceProperty
Typegml:SurfacePropertyType
Nillableno
Abstractno
DocumentationThis property element either references a surface via the XLink-attributes or contains the surface element. surfaceProperty is the predefined property which may be used by GML Application Schemas whenever a GML feature has a property with a value that is substitutable for AbstractSurface.
XML Instance Representation
<gml:surfaceProperty
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"
owns="boolean [0..1]">
Start Sequence [0..1]
<gml:AbstractSurface> ... </gml:AbstractSurface> [1]
End Sequence
</gml:surfaceProperty>
Schema Component Representation
<element name="surfaceProperty" type="gml:SurfacePropertyType"/>
top

Global Definitions

Complex Type: AbstractRingPropertyType

Super-types:None
Sub-types:None
NameAbstractRingPropertyType
Abstractno
DocumentationA property with the content model of gml:AbstractRingPropertyType encapsulates a ring to represent the surface boundary property of a surface.
XML Instance Representation
<...>
<gml:AbstractRing> ... </gml:AbstractRing> [1]
</...>
Schema Component Representation
<complexType name="AbstractRingPropertyType">
<sequence>
<element ref="gml:AbstractRing"/>
</sequence>
</complexType>
top

Complex Type: AbstractRingType

Super-types:None
Sub-types:
NameAbstractRingType
Abstractyes
XML Instance Representation
<.../>
Schema Component Representation
<complexType name="AbstractRingType" abstract="true">
<sequence/>
</complexType>
top

Complex Type: AbstractSurfaceType

Super-types:gml:AbstractGeometricPrimitiveType < AbstractSurfaceType (by extension)
Sub-types:
NameAbstractSurfaceType
Abstractyes
Documentationgml:AbstractSurfaceType is an abstraction of a surface to support the different levels of complexity. A surface is always a continuous region of a plane.
XML Instance Representation
<...
gml:id="[1]"
srsName="anyURI [0..1]"
srsDimension="positiveInteger [0..1]"
axisLabels="gml:NCNameList [0..1]"
uomLabels="gml:NCNameList [0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
</...>
Schema Component Representation
<complexType name="AbstractSurfaceType" abstract="true">
<complexContent>
<extension base="gml:AbstractGeometricPrimitiveType"/>
</complexContent>
</complexType>
top

Complex Type: LinearRingPropertyType

Super-types:None
Sub-types:None
NameLinearRingPropertyType
Abstractno
DocumentationA property with the content model of gml:LinearRingPropertyType encapsulates a linear ring to represent a component of a surface boundary.
XML Instance Representation
<...>
<gml:LinearRing> ... </gml:LinearRing> [1]
</...>
Schema Component Representation
<complexType name="LinearRingPropertyType">
<sequence>
<element ref="gml:LinearRing"/>
</sequence>
</complexType>
top

Complex Type: LinearRingType

Super-types:AbstractRingType < LinearRingType (by extension)
Sub-types:None
NameLinearRingType
Abstractno
XML Instance Representation
<...>
Start Choice [1]
Start Choice [4..*]
<gml:pos> ... </gml:pos> [1]
<gml:pointRep> ... </gml:pointRep> [1]
End Choice
<gml:posList> ... </gml:posList> [1]
End Choice
</...>
Schema Component Representation
<complexType name="LinearRingType">
<complexContent>
<extension base="gml:AbstractRingType">
<sequence>
<choice>
<choice minOccurs="4" maxOccurs="unbounded">
<element ref="gml:pos"/>
<element ref="gml:pointProperty"/>
<element ref="gml:pointRep"/>
</choice>
<element ref="gml:posList"/>
<element ref="gml:coordinates"/>
</choice>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: PolygonType

Super-types:gml:AbstractGeometricPrimitiveType < AbstractSurfaceType (by extension) < PolygonType (by extension)
Sub-types:None
NamePolygonType
Abstractno
XML Instance Representation
<...
gml:id="[1]"
srsName="anyURI [0..1]"
srsDimension="positiveInteger [0..1]"
axisLabels="gml:NCNameList [0..1]"
uomLabels="gml:NCNameList [0..1]">
<gml:description> ... </gml:description> [0..1]
<gml:identifier> ... </gml:identifier> [0..1]
<gml:name> ... </gml:name> [0..*]
<gml:exterior> ... </gml:exterior> [0..1]
<gml:interior> ... </gml:interior> [0..*]
</...>
Schema Component Representation
<complexType name="PolygonType">
<complexContent>
<extension base="gml:AbstractSurfaceType">
<sequence>
<element ref="gml:exterior" minOccurs="0"/>
<element ref="gml:interior" minOccurs="0" maxOccurs="unbounded"/>
</sequence>
</extension>
</complexContent>
</complexType>
top

Complex Type: SurfaceArrayPropertyType

Super-types:None
Sub-types:None
NameSurfaceArrayPropertyType
Abstractno
Documentationgml:SurfaceArrayPropertyType is a container for an array of surfaces. The elements are always contained in the array property, referencing geometry elements or arrays of geometry elements via XLinks is not supported.
XML Instance Representation
<...
owns="boolean [0..1]">
Start Sequence [0..*]
<gml:AbstractSurface> ... </gml:AbstractSurface> [1]
End Sequence
</...>
Schema Component Representation
<complexType name="SurfaceArrayPropertyType">
<sequence minOccurs="0" maxOccurs="unbounded">
<element ref="gml:AbstractSurface"/>
</sequence>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Complex Type: SurfacePropertyType

Super-types:None
Sub-types:None
NameSurfacePropertyType
Abstractno
DocumentationA property that has a surface as its value domain may either be an appropriate geometry element encapsulated in an element of this type or an XLink reference to a remote geometry element (where remote includes geometry elements located elsewhere in the same document). Either the reference or the contained element shall be given, but neither both nor none.
XML Instance Representation
<...
xlink:type="simple [0..1]"
xlink:href="[0..1]"
xlink:role="[0..1]"
xlink:arcrole="[0..1]"
xlink:title="[0..1]"
xlink:show="[0..1]"
xlink:actuate="[0..1]"
nilReason="gml:NilReasonType [0..1]"
gml:remoteSchema="[0..1]"
owns="boolean [0..1]">
Start Sequence [0..1]
<gml:AbstractSurface> ... </gml:AbstractSurface> [1]
End Sequence
</...>
Schema Component Representation
<complexType name="SurfacePropertyType">
<sequence minOccurs="0">
<element ref="gml:AbstractSurface"/>
</sequence>
<attributeGroup ref="gml:AssociationAttributeGroup"/>
<attributeGroup ref="gml:OwnershipAttributeGroup"/>
</complexType>
top

Legend

Complex Type:

Schema Component Type

AusAddress

Schema Component Name
Super-types:Address < AusAddress (by extension)
Sub-types:
  • QLDAddress (by restriction)
If this schema component is a type definition, its type hierarchy is shown in a gray-bordered box.
NameAusAddress
Abstractno
The table above displays the properties of this schema component.
XML Instance Representation
<... country="Australia">
<unitNo> string </unitNo> [0..1]
<houseNo> string </houseNo> [1]
<street> string </street> [1]
Start Choice[1]
<city> string </city> [1]
<town> string </town> [1]
End Choice
<state> AusStates </state> [1]
<postcode> string <<pattern = [1-9][0-9]{3}>> </postcode> [1]?
</...>

The XML Instance Representation table above shows the schema component's content as an XML instance.

Schema Component Representation
<complexTypename="AusAddress">
<complexContent>
<extensionbase="Address">
<sequence>
<elementname="state" type="AusStates"/>
<elementname="postcode">
<simpleType>
<restrictionbase="string">
<patternvalue="[1-9][0-9]{3}"/>
</restriction>
</simpleType>
</element>
</sequence>
<attributename="country" type="string" fixed="Australia"/>
</extension>
</complexContent>
</complexType>
The Schema Component Representation table above displays the underlying XML representation of the schema component. (Annotations are not shown.)
top

Glossary

Abstract (Applies to complex type definitions and element declarations). An abstract element or complex type cannot used to validate an element instance. If there is a reference to an abstract element, only element declarations that can substitute the abstract element can be used to validate the instance. For references to abstract type definitions, only derived types can be used.

All Model Group Child elements can be provided in any order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-all.

Choice Model Group Only one from the list of child elements and model groups can be provided in instances. See: http://www.w3.org/TR/xmlschema-1/#element-choice.

Collapse Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32). Then, collapse contiguous sequences of space characters into single space character, and remove leading and trailing space characters.

Disallowed Substitutions (Applies to element declarations). If substitution is specified, then substitution group members cannot be used in place of the given element declaration to validate element instances. If derivation methods, e.g. extension, restriction, are specified, then the given element declaration will not validate element instances that have types derived from the element declaration's type using the specified derivation methods. Normally, element instances can override their declaration's type by specifying an xsi:type attribute.

Key Constraint Like Uniqueness Constraint, but additionally requires that the specified value(s) must be provided. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Key Reference Constraint Ensures that the specified value(s) must match value(s) from a Key Constraint or Uniqueness Constraint. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

Model Group Groups together element content, specifying the order in which the element content can occur and the number of times the group of element content may be repeated. See: http://www.w3.org/TR/xmlschema-1/#Model_Groups.

Nillable (Applies to element declarations). If an element declaration is nillable, instances can use the xsi:nil attribute. The xsi:nil attribute is the boolean attribute, nil, from the http://www.w3.org/2001/XMLSchema-instance namespace. If an element instance has an xsi:nil attribute set to true, it can be left empty, even though its element declaration may have required content.

Notation A notation is used to identify the format of a piece of data. Values of elements and attributes that are of type, NOTATION, must come from the names of declared notations. See: http://www.w3.org/TR/xmlschema-1/#cNotation_Declarations.

Preserve Whitespace Policy Preserve whitespaces exactly as they appear in instances.

Prohibited Derivations (Applies to type definitions). Derivation methods that cannot be used to create sub-types from a given type definition.

Prohibited Substitutions (Applies to complex type definitions). Prevents sub-types that have been derived using the specified derivation methods from validating element instances in place of the given type definition.

Replace Whitespace Policy Replace tab, line feed, and carriage return characters with space character (Unicode character 32).

Sequence Model Group Child elements and model groups must be provided in the specified order in instances. See: http://www.w3.org/TR/xmlschema-1/#element-sequence.

Substitution Group Elements that are members of a substitution group can be used wherever the head element of the substitution group is referenced.

Substitution Group Exclusions (Applies to element declarations). Prohibits element declarations from nominating themselves as being able to substitute a given element declaration, if they have types that are derived from the original element's type using the specified derivation methods.

Target Namespace The target namespace identifies the namespace that components in this schema belongs to. If no target namespace is provided, then the schema components do not belong to any namespace.

Uniqueness Constraint Ensures uniqueness of an element/attribute value, or a combination of values, within a specified scope. See: http://www.w3.org/TR/xmlschema-1/#cIdentity-constraint_Definitions.

top