|
|
@@ -1,121 +1,138 @@
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
-<schema targetNamespace="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml" xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="2.1.2">
|
|
|
- <annotation>
|
|
|
- <appinfo>feature.xsd v2.1.2 2002-07</appinfo>
|
|
|
- <documentation xml:lang="en">
|
|
|
+<xs:schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml"
|
|
|
+ xmlns:xlink="http://www.w3.org/1999/xlink" elementFormDefault="qualified" version="2.1.2"
|
|
|
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:appinfo>feature.xsd v2.1.2 2002-07</xs:appinfo>
|
|
|
+ <xs:documentation xml:lang="en">
|
|
|
GML Feature schema. Copyright (c) 2002 OGC, All Rights Reserved.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
<!-- include constructs from the GML Geometry schema -->
|
|
|
- <include schemaLocation="geometry.xsd"/>
|
|
|
+ <xs:include schemaLocation="geometry.xsd"/>
|
|
|
<!-- bring in the XLink namespace -->
|
|
|
- <import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlinks.xsd"/>
|
|
|
-
|
|
|
-
|
|
|
+ <xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlinks.xsd"/>
|
|
|
<!-- ==============================================================
|
|
|
global declarations
|
|
|
=================================================================== -->
|
|
|
- <element name="_Feature" type="gml:AbstractFeatureType" abstract="true"/>
|
|
|
- <element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true" substitutionGroup="gml:_Feature"/>
|
|
|
- <element name="featureMember" type="gml:FeatureAssociationType"/>
|
|
|
+ <xs:element name="_Feature" type="gml:AbstractFeatureType" abstract="true"/>
|
|
|
+ <xs:element name="_FeatureCollection" type="gml:AbstractFeatureCollectionType" abstract="true"
|
|
|
+ substitutionGroup="gml:_Feature"/>
|
|
|
+ <xs:element name="featureMember" type="gml:FeatureAssociationType"/>
|
|
|
<!-- some basic geometric properties of features -->
|
|
|
- <element name="_geometryProperty" type="gml:GeometryAssociationType" abstract="true"/>
|
|
|
- <element name="geometryProperty" type="gml:GeometryAssociationType"/>
|
|
|
- <element name="boundedBy" type="gml:BoundingShapeType"/>
|
|
|
- <element name="pointProperty" type="gml:PointPropertyType" substitutionGroup="gml:_geometryProperty"/>
|
|
|
- <element name="polygonProperty" type="gml:PolygonPropertyType" substitutionGroup="gml:_geometryProperty"/>
|
|
|
- <element name="lineStringProperty" type="gml:LineStringPropertyType" substitutionGroup="gml:_geometryProperty"/>
|
|
|
- <element name="multiPointProperty" type="gml:MultiPointPropertyType" substitutionGroup="gml:_geometryProperty"/>
|
|
|
- <element name="multiLineStringProperty" type="gml:MultiLineStringPropertyType" substitutionGroup="gml:_geometryProperty"/>
|
|
|
- <element name="multiPolygonProperty" type="gml:MultiPolygonPropertyType" substitutionGroup="gml:_geometryProperty"/>
|
|
|
- <element name="multiGeometryProperty" type="gml:MultiGeometryPropertyType" substitutionGroup="gml:_geometryProperty"/>
|
|
|
+ <xs:element name="_geometryProperty" type="gml:GeometryAssociationType" abstract="true"/>
|
|
|
+ <xs:element name="geometryProperty" type="gml:GeometryAssociationType"/>
|
|
|
+ <xs:element name="boundedBy" type="gml:BoundingShapeType"/>
|
|
|
+ <xs:element name="pointProperty" type="gml:PointPropertyType"
|
|
|
+ substitutionGroup="gml:_geometryProperty"/>
|
|
|
+ <xs:element name="polygonProperty" type="gml:PolygonPropertyType"
|
|
|
+ substitutionGroup="gml:_geometryProperty"/>
|
|
|
+ <xs:element name="lineStringProperty" type="gml:LineStringPropertyType"
|
|
|
+ substitutionGroup="gml:_geometryProperty"/>
|
|
|
+ <xs:element name="multiPointProperty" type="gml:MultiPointPropertyType"
|
|
|
+ substitutionGroup="gml:_geometryProperty"/>
|
|
|
+ <xs:element name="multiLineStringProperty" type="gml:MultiLineStringPropertyType"
|
|
|
+ substitutionGroup="gml:_geometryProperty"/>
|
|
|
+ <xs:element name="multiPolygonProperty" type="gml:MultiPolygonPropertyType"
|
|
|
+ substitutionGroup="gml:_geometryProperty"/>
|
|
|
+ <xs:element name="multiGeometryProperty" type="gml:MultiGeometryPropertyType"
|
|
|
+ substitutionGroup="gml:_geometryProperty"/>
|
|
|
<!-- common aliases for geometry properties -->
|
|
|
- <element name="location" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
|
|
|
- <element name="centerOf" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
|
|
|
- <element name="position" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
|
|
|
- <element name="extentOf" type="gml:PolygonPropertyType" substitutionGroup="gml:polygonProperty"/>
|
|
|
- <element name="coverage" type="gml:PolygonPropertyType" substitutionGroup="gml:polygonProperty"/>
|
|
|
- <element name="edgeOf" type="gml:LineStringPropertyType" substitutionGroup="gml:lineStringProperty"/>
|
|
|
- <element name="centerLineOf" type="gml:LineStringPropertyType" substitutionGroup="gml:lineStringProperty"/>
|
|
|
- <element name="multiLocation" type="gml:MultiPointPropertyType" substitutionGroup="gml:multiPointProperty"/>
|
|
|
- <element name="multiCenterOf" type="gml:MultiPointPropertyType" substitutionGroup="gml:multiPointProperty"/>
|
|
|
- <element name="multiPosition" type="gml:MultiPointPropertyType" substitutionGroup="gml:multiPointProperty"/>
|
|
|
- <element name="multiCenterLineOf" type="gml:MultiLineStringPropertyType" substitutionGroup="gml:multiLineStringProperty"/>
|
|
|
- <element name="multiEdgeOf" type="gml:MultiLineStringPropertyType" substitutionGroup="gml:multiLineStringProperty"/>
|
|
|
- <element name="multiCoverage" type="gml:MultiPolygonPropertyType" substitutionGroup="gml:multiPolygonProperty"/>
|
|
|
- <element name="multiExtentOf" type="gml:MultiPolygonPropertyType" substitutionGroup="gml:multiPolygonProperty"/>
|
|
|
+ <xs:element name="location" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
|
|
|
+ <xs:element name="centerOf" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
|
|
|
+ <xs:element name="position" type="gml:PointPropertyType" substitutionGroup="gml:pointProperty"/>
|
|
|
+ <xs:element name="extentOf" type="gml:PolygonPropertyType" substitutionGroup="gml:polygonProperty"/>
|
|
|
+ <xs:element name="coverage" type="gml:PolygonPropertyType" substitutionGroup="gml:polygonProperty"/>
|
|
|
+ <xs:element name="edgeOf" type="gml:LineStringPropertyType"
|
|
|
+ substitutionGroup="gml:lineStringProperty"/>
|
|
|
+ <xs:element name="centerLineOf" type="gml:LineStringPropertyType"
|
|
|
+ substitutionGroup="gml:lineStringProperty"/>
|
|
|
+ <xs:element name="multiLocation" type="gml:MultiPointPropertyType"
|
|
|
+ substitutionGroup="gml:multiPointProperty"/>
|
|
|
+ <xs:element name="multiCenterOf" type="gml:MultiPointPropertyType"
|
|
|
+ substitutionGroup="gml:multiPointProperty"/>
|
|
|
+ <xs:element name="multiPosition" type="gml:MultiPointPropertyType"
|
|
|
+ substitutionGroup="gml:multiPointProperty"/>
|
|
|
+ <xs:element name="multiCenterLineOf" type="gml:MultiLineStringPropertyType"
|
|
|
+ substitutionGroup="gml:multiLineStringProperty"/>
|
|
|
+ <xs:element name="multiEdgeOf" type="gml:MultiLineStringPropertyType"
|
|
|
+ substitutionGroup="gml:multiLineStringProperty"/>
|
|
|
+ <xs:element name="multiCoverage" type="gml:MultiPolygonPropertyType"
|
|
|
+ substitutionGroup="gml:multiPolygonProperty"/>
|
|
|
+ <xs:element name="multiExtentOf" type="gml:MultiPolygonPropertyType"
|
|
|
+ substitutionGroup="gml:multiPolygonProperty"/>
|
|
|
<!-- common feature descriptors -->
|
|
|
- <element name="description" type="string"/>
|
|
|
- <element name="name" type="string"/>
|
|
|
+ <xs:element name="description" type="xs:string"/>
|
|
|
+ <xs:element name="name" type="xs:string"/>
|
|
|
<!-- ==============================================================
|
|
|
abstract supertypes
|
|
|
=================================================================== -->
|
|
|
- <complexType name="AbstractFeatureType" abstract="true">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ <xs:complexType name="AbstractFeatureType" abstract="true">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
An abstract feature provides a set of common properties. A concrete
|
|
|
feature type must derive from this type and specify additional
|
|
|
properties in an application schema. A feature may optionally
|
|
|
possess an identifying attribute ('fid').
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <sequence>
|
|
|
- <element ref="gml:description" minOccurs="0"/>
|
|
|
- <element ref="gml:name" minOccurs="0"/>
|
|
|
- <element ref="gml:boundedBy" minOccurs="0"/>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:sequence>
|
|
|
+ <xs:element ref="gml:description" minOccurs="0"/>
|
|
|
+ <xs:element ref="gml:name" minOccurs="0"/>
|
|
|
+ <xs:element ref="gml:boundedBy" minOccurs="0"/>
|
|
|
<!-- additional properties must be specified in an application schema -->
|
|
|
- </sequence>
|
|
|
- <attribute name="fid" type="ID" use="optional"/>
|
|
|
- </complexType>
|
|
|
- <complexType name="AbstractFeatureCollectionBaseType" abstract="true">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attribute name="fid" type="xs:ID" use="optional"/>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="AbstractFeatureCollectionBaseType" abstract="true">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
This abstract base type just makes the boundedBy element mandatory
|
|
|
for a feature collection.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:AbstractFeatureType">
|
|
|
- <sequence>
|
|
|
- <element ref="gml:description" minOccurs="0"/>
|
|
|
- <element ref="gml:name" minOccurs="0"/>
|
|
|
- <element ref="gml:boundedBy"/>
|
|
|
- </sequence>
|
|
|
- <attribute name="fid" type="ID" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="AbstractFeatureCollectionType" abstract="true">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:AbstractFeatureType">
|
|
|
+ <xs:sequence>
|
|
|
+ <xs:element ref="gml:description" minOccurs="0"/>
|
|
|
+ <xs:element ref="gml:name" minOccurs="0"/>
|
|
|
+ <xs:element ref="gml:boundedBy"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attribute name="fid" type="xs:ID" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="AbstractFeatureCollectionType" abstract="true">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
A feature collection contains zero or more featureMember elements.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <extension base="gml:AbstractFeatureCollectionBaseType">
|
|
|
- <sequence>
|
|
|
- <element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
- </sequence>
|
|
|
- </extension>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="GeometryPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:extension base="gml:AbstractFeatureCollectionBaseType">
|
|
|
+ <xs:sequence>
|
|
|
+ <xs:element ref="gml:featureMember" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
+ </xs:sequence>
|
|
|
+ </xs:extension>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="GeometryPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
A simple geometry property encapsulates a geometry element.
|
|
|
Alternatively, it can function as a pointer (simple-type link)
|
|
|
that refers to a remote geometry element.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:_Geometry"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </complexType>
|
|
|
- <complexType name="FeatureAssociationType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:_Geometry"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="FeatureAssociationType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
An instance of this type (e.g. a featureMember) can either
|
|
|
enclose or point to a feature (or feature collection); this
|
|
|
type can be restricted in an application schema to allow only
|
|
|
@@ -124,163 +141,163 @@
|
|
|
instance, the value of the gml:remoteSchema attribute can be
|
|
|
used to locate a schema fragment that constrains the target
|
|
|
instance.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:_Feature"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </complexType>
|
|
|
- <complexType name="BoundingShapeType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:_Feature"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="BoundingShapeType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
Bounding shapes--a Box or a null element are currently allowed.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <sequence>
|
|
|
- <choice>
|
|
|
- <element ref="gml:Box"/>
|
|
|
- <element name="null" type="gml:NullType"/>
|
|
|
- </choice>
|
|
|
- </sequence>
|
|
|
- </complexType>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:sequence>
|
|
|
+ <xs:choice>
|
|
|
+ <xs:element ref="gml:Box"/>
|
|
|
+ <xs:element name="null" type="gml:NullType"/>
|
|
|
+ </xs:choice>
|
|
|
+ </xs:sequence>
|
|
|
+ </xs:complexType>
|
|
|
<!-- ==============================================================
|
|
|
geometry properties
|
|
|
=================================================================== -->
|
|
|
- <complexType name="PointPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ <xs:complexType name="PointPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
Encapsulates a single point to represent position, location, or
|
|
|
centerOf properties.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:GeometryAssociationType">
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:Point"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="PolygonPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:GeometryAssociationType">
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:Point"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="PolygonPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
Encapsulates a single polygon to represent coverage or extentOf
|
|
|
properties.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:GeometryAssociationType">
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:Polygon"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="LineStringPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:GeometryAssociationType">
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:Polygon"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="LineStringPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
Encapsulates a single LineString to represent centerLineOf or
|
|
|
edgeOf properties.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:GeometryAssociationType">
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:LineString"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="MultiPointPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:GeometryAssociationType">
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:LineString"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="MultiPointPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
Encapsulates a MultiPoint element to represent the following
|
|
|
discontiguous geometric properties: multiLocation, multiPosition,
|
|
|
multiCenterOf.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:GeometryAssociationType">
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:MultiPoint"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="MultiLineStringPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:GeometryAssociationType">
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:MultiPoint"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="MultiLineStringPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
Encapsulates a MultiLineString element to represent the following
|
|
|
discontiguous geometric properties: multiEdgeOf, multiCenterLineOf.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:GeometryAssociationType">
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:MultiLineString"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="MultiPolygonPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:GeometryAssociationType">
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:MultiLineString"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="MultiPolygonPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
Encapsulates a MultiPolygon to represent the following discontiguous
|
|
|
geometric properties: multiCoverage, multiExtentOf.
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:GeometryAssociationType">
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:MultiPolygon"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <complexType name="MultiGeometryPropertyType">
|
|
|
- <annotation>
|
|
|
- <documentation>Encapsulates a MultiGeometry element.</documentation>
|
|
|
- </annotation>
|
|
|
- <complexContent>
|
|
|
- <restriction base="gml:GeometryAssociationType">
|
|
|
- <sequence minOccurs="0">
|
|
|
- <element ref="gml:MultiGeometry"/>
|
|
|
- </sequence>
|
|
|
- <attributeGroup ref="xlink:simpleLink"/>
|
|
|
- <attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
- </restriction>
|
|
|
- </complexContent>
|
|
|
- </complexType>
|
|
|
- <simpleType name="NullType">
|
|
|
- <annotation>
|
|
|
- <documentation>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:GeometryAssociationType">
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:MultiPolygon"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:complexType name="MultiGeometryPropertyType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>Encapsulates a MultiGeometry element.</xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:complexContent>
|
|
|
+ <xs:restriction base="gml:GeometryAssociationType">
|
|
|
+ <xs:sequence minOccurs="0">
|
|
|
+ <xs:element ref="gml:MultiGeometry"/>
|
|
|
+ </xs:sequence>
|
|
|
+ <xs:attributeGroup ref="xlink:simpleLink"/>
|
|
|
+ <xs:attribute ref="gml:remoteSchema" use="optional"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:complexContent>
|
|
|
+ </xs:complexType>
|
|
|
+ <xs:simpleType name="NullType">
|
|
|
+ <xs:annotation>
|
|
|
+ <xs:documentation>
|
|
|
If a bounding shape is not provided for a feature collection,
|
|
|
explain why. Allowable values are:
|
|
|
innapplicable - the features do not have geometry
|
|
|
unknown - the boundingBox cannot be computed
|
|
|
unavailable - there may be a boundingBox but it is not divulged
|
|
|
missing - there are no features
|
|
|
- </documentation>
|
|
|
- </annotation>
|
|
|
- <restriction base="string">
|
|
|
- <enumeration value="inapplicable"/>
|
|
|
- <enumeration value="unknown"/>
|
|
|
- <enumeration value="unavailable"/>
|
|
|
- <enumeration value="missing"/>
|
|
|
- </restriction>
|
|
|
- </simpleType>
|
|
|
-</schema>
|
|
|
+ </xs:documentation>
|
|
|
+ </xs:annotation>
|
|
|
+ <xs:restriction base="xs:string">
|
|
|
+ <xs:enumeration value="inapplicable"/>
|
|
|
+ <xs:enumeration value="unknown"/>
|
|
|
+ <xs:enumeration value="unavailable"/>
|
|
|
+ <xs:enumeration value="missing"/>
|
|
|
+ </xs:restriction>
|
|
|
+ </xs:simpleType>
|
|
|
+</xs:schema>
|