geonode-pycsw 3.0.0b2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- geonode_pycsw-3.0.0b2.dist-info/METADATA +73 -0
- geonode_pycsw-3.0.0b2.dist-info/RECORD +382 -0
- geonode_pycsw-3.0.0b2.dist-info/WHEEL +5 -0
- geonode_pycsw-3.0.0b2.dist-info/entry_points.txt +2 -0
- geonode_pycsw-3.0.0b2.dist-info/licenses/LICENSE.txt +26 -0
- geonode_pycsw-3.0.0b2.dist-info/top_level.txt +1 -0
- pycsw/__init__.py +33 -0
- pycsw/core/__init__.py +29 -0
- pycsw/core/admin.py +703 -0
- pycsw/core/config.py +621 -0
- pycsw/core/etree.py +43 -0
- pycsw/core/formats/__init__.py +29 -0
- pycsw/core/formats/fmt_json.py +69 -0
- pycsw/core/log.py +71 -0
- pycsw/core/metadata.py +1996 -0
- pycsw/core/pygeofilter_evaluate.py +83 -0
- pycsw/core/repository.py +941 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/_wrapper.xsd +14 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswAll.xsd +33 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswCommon.xsd +71 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswGetCapabilities.xsd +80 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswGetDomain.xsd +146 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswGetRecordById.xsd +58 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswGetRecords.xsd +391 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswHarvest.xsd +95 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswTransaction.xsd +187 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/cswUnHarvest.xsd +77 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/rec-dcmes.xsd +245 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/rec-dcterms.xsd +101 -0
- pycsw/core/schemas/ogc/cat/csw/3.0/record.xsd +170 -0
- pycsw/core/schemas/ogc/csw/2.0.2/CSW-discovery.xsd +494 -0
- pycsw/core/schemas/ogc/csw/2.0.2/CSW-publication.xsd +242 -0
- pycsw/core/schemas/ogc/csw/2.0.2/rec-dcmes.xsd +199 -0
- pycsw/core/schemas/ogc/csw/2.0.2/rec-dcterms.xsd +94 -0
- pycsw/core/schemas/ogc/csw/2.0.2/record.xsd +138 -0
- pycsw/core/schemas/ogc/filter/1.1.0/expr.xsd +67 -0
- pycsw/core/schemas/ogc/filter/1.1.0/filter.xsd +265 -0
- pycsw/core/schemas/ogc/filter/1.1.0/filterCapabilities.xsd +171 -0
- pycsw/core/schemas/ogc/filter/1.1.0/sort.xsd +46 -0
- pycsw/core/schemas/ogc/filter/2.0/_wrapper.xsd +5 -0
- pycsw/core/schemas/ogc/filter/2.0/expr.xsd +44 -0
- pycsw/core/schemas/ogc/filter/2.0/filter.xsd +396 -0
- pycsw/core/schemas/ogc/filter/2.0/filterAll.xsd +23 -0
- pycsw/core/schemas/ogc/filter/2.0/filterCapabilities.xsd +286 -0
- pycsw/core/schemas/ogc/filter/2.0/query.xsd +70 -0
- pycsw/core/schemas/ogc/filter/2.0/sort.xsd +49 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/basicTypes.xsd +278 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/coordinateOperations.xsd +789 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/coordinateReferenceSystems.xsd +429 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/coordinateSystems.xsd +408 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/coverage.xsd +451 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/dataQuality.xsd +129 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/datums.xsd +484 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/defaultStyle.xsd +454 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/dictionary.xsd +137 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/direction.xsd +72 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/dynamicFeature.xsd +115 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/feature.xsd +199 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/geometryAggregates.xsd +430 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/geometryBasic0d1d.xsd +602 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/geometryBasic2d.xsd +213 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/geometryComplexes.xsd +141 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/geometryPrimitives.xsd +1609 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/gml.xsd +22 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/gmlBase.xsd +294 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/grids.xsd +76 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/measures.xsd +200 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/observation.xsd +96 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/referenceSystems.xsd +211 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/temporal.xsd +332 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/temporalReferenceSystems.xsd +251 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/temporalTopology.xsd +186 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/topology.xsd +459 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/units.xsd +170 -0
- pycsw/core/schemas/ogc/gml/3.1.1/base/valueObjects.xsd +361 -0
- pycsw/core/schemas/ogc/gml/3.1.1/smil/smil20-language.xsd +117 -0
- pycsw/core/schemas/ogc/gml/3.1.1/smil/smil20.xsd +234 -0
- pycsw/core/schemas/ogc/gml/3.2.1/basicTypes.xsd +268 -0
- pycsw/core/schemas/ogc/gml/3.2.1/coordinateOperations.xsd +525 -0
- pycsw/core/schemas/ogc/gml/3.2.1/coordinateReferenceSystems.xsd +373 -0
- pycsw/core/schemas/ogc/gml/3.2.1/coordinateSystems.xsd +297 -0
- pycsw/core/schemas/ogc/gml/3.2.1/coverage.xsd +292 -0
- pycsw/core/schemas/ogc/gml/3.2.1/datums.xsd +287 -0
- pycsw/core/schemas/ogc/gml/3.2.1/defaultStyle.xsd +453 -0
- pycsw/core/schemas/ogc/gml/3.2.1/deprecatedTypes.xsd +1133 -0
- pycsw/core/schemas/ogc/gml/3.2.1/dictionary.xsd +90 -0
- pycsw/core/schemas/ogc/gml/3.2.1/direction.xsd +84 -0
- pycsw/core/schemas/ogc/gml/3.2.1/dynamicFeature.xsd +109 -0
- pycsw/core/schemas/ogc/gml/3.2.1/feature.xsd +94 -0
- pycsw/core/schemas/ogc/gml/3.2.1/geometryAggregates.xsd +197 -0
- pycsw/core/schemas/ogc/gml/3.2.1/geometryBasic0d1d.xsd +277 -0
- pycsw/core/schemas/ogc/gml/3.2.1/geometryBasic2d.xsd +124 -0
- pycsw/core/schemas/ogc/gml/3.2.1/geometryComplexes.xsd +95 -0
- pycsw/core/schemas/ogc/gml/3.2.1/geometryPrimitives.xsd +846 -0
- pycsw/core/schemas/ogc/gml/3.2.1/gml.xsd +20 -0
- pycsw/core/schemas/ogc/gml/3.2.1/gmlBase.xsd +185 -0
- pycsw/core/schemas/ogc/gml/3.2.1/grids.xsd +64 -0
- pycsw/core/schemas/ogc/gml/3.2.1/measures.xsd +68 -0
- pycsw/core/schemas/ogc/gml/3.2.1/observation.xsd +95 -0
- pycsw/core/schemas/ogc/gml/3.2.1/referenceSystems.xsd +70 -0
- pycsw/core/schemas/ogc/gml/3.2.1/temporal.xsd +269 -0
- pycsw/core/schemas/ogc/gml/3.2.1/temporalReferenceSystems.xsd +189 -0
- pycsw/core/schemas/ogc/gml/3.2.1/temporalTopology.xsd +119 -0
- pycsw/core/schemas/ogc/gml/3.2.1/topology.xsd +386 -0
- pycsw/core/schemas/ogc/gml/3.2.1/units.xsd +162 -0
- pycsw/core/schemas/ogc/gml/3.2.1/valueObjects.xsd +205 -0
- pycsw/core/schemas/ogc/ogcapi/records/part1/1.0/ogcapi-records-1.yaml +932 -0
- pycsw/core/schemas/ogc/ows/1.0.0/ows19115subset.xsd +222 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsAll.xsd +20 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsCommon.xsd +155 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsDataIdentification.xsd +112 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsExceptionReport.xsd +67 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsGetCapabilities.xsd +108 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsOperationsMetadata.xsd +161 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsServiceIdentification.xsd +55 -0
- pycsw/core/schemas/ogc/ows/1.0.0/owsServiceProvider.xsd +46 -0
- pycsw/core/schemas/ogc/ows/1.1.0/ows19115subset.xsd +236 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsAll.xsd +23 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsCommon.xsd +158 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsContents.xsd +87 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsDataIdentification.xsd +128 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsDomainType.xsd +280 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsExceptionReport.xsd +77 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsGetCapabilities.xsd +113 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsGetResourceByID.xsd +52 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsInputOutputData.xsd +60 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsManifest.xsd +125 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsOperationsMetadata.xsd +141 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsServiceIdentification.xsd +61 -0
- pycsw/core/schemas/ogc/ows/1.1.0/owsServiceProvider.xsd +48 -0
- pycsw/core/schemas/ogc/ows/2.0/ows19115subset.xsd +364 -0
- pycsw/core/schemas/ogc/ows/2.0/owsAdditionalParameters.xsd +114 -0
- pycsw/core/schemas/ogc/ows/2.0/owsAll.xsd +29 -0
- pycsw/core/schemas/ogc/ows/2.0/owsCommon.xsd +275 -0
- pycsw/core/schemas/ogc/ows/2.0/owsContents.xsd +163 -0
- pycsw/core/schemas/ogc/ows/2.0/owsDataIdentification.xsd +202 -0
- pycsw/core/schemas/ogc/ows/2.0/owsDomainType.xsd +388 -0
- pycsw/core/schemas/ogc/ows/2.0/owsExceptionReport.xsd +126 -0
- pycsw/core/schemas/ogc/ows/2.0/owsGetCapabilities.xsd +220 -0
- pycsw/core/schemas/ogc/ows/2.0/owsGetResourceByID.xsd +83 -0
- pycsw/core/schemas/ogc/ows/2.0/owsInputOutputData.xsd +98 -0
- pycsw/core/schemas/ogc/ows/2.0/owsManifest.xsd +181 -0
- pycsw/core/schemas/ogc/ows/2.0/owsOperationsMetadata.xsd +234 -0
- pycsw/core/schemas/ogc/ows/2.0/owsServiceIdentification.xsd +98 -0
- pycsw/core/schemas/ogc/ows/2.0/owsServiceProvider.xsd +64 -0
- pycsw/core/schemas/w3c/1999/xlink.xsd +271 -0
- pycsw/core/schemas/w3c/2001/xml.xsd +287 -0
- pycsw/core/util.py +552 -0
- pycsw/oaipmh.py +311 -0
- pycsw/ogc/__init__.py +29 -0
- pycsw/ogc/api/__init__.py +28 -0
- pycsw/ogc/api/oapi.py +558 -0
- pycsw/ogc/api/records.py +1414 -0
- pycsw/ogc/api/templates/_base.html +76 -0
- pycsw/ogc/api/templates/collection.html +44 -0
- pycsw/ogc/api/templates/collections.html +45 -0
- pycsw/ogc/api/templates/conformance.html +21 -0
- pycsw/ogc/api/templates/exception.html +8 -0
- pycsw/ogc/api/templates/item.html +228 -0
- pycsw/ogc/api/templates/items.html +337 -0
- pycsw/ogc/api/templates/landing_page.html +27 -0
- pycsw/ogc/api/templates/openapi.html +58 -0
- pycsw/ogc/api/templates/queryables.html +50 -0
- pycsw/ogc/api/templates/stac_items.html +173 -0
- pycsw/ogc/api/templates/static/favicon.ico +0 -0
- pycsw/ogc/api/templates/static/logo-horizontal.png +0 -0
- pycsw/ogc/api/templates/static/logo-vertical-darkbg.png +0 -0
- pycsw/ogc/api/util.py +252 -0
- pycsw/ogc/csw/__init__.py +29 -0
- pycsw/ogc/csw/cql.py +133 -0
- pycsw/ogc/csw/csw2.py +2042 -0
- pycsw/ogc/csw/csw3.py +2193 -0
- pycsw/ogc/fes/__init__.py +29 -0
- pycsw/ogc/fes/fes1.py +433 -0
- pycsw/ogc/fes/fes2.py +451 -0
- pycsw/ogc/gml/__init__.py +29 -0
- pycsw/ogc/gml/gml3.py +240 -0
- pycsw/ogc/gml/gml32.py +243 -0
- pycsw/opensearch.py +857 -0
- pycsw/plugins/__init__.py +29 -0
- pycsw/plugins/outputschemas/__init__.py +31 -0
- pycsw/plugins/outputschemas/atom.py +143 -0
- pycsw/plugins/outputschemas/datacite.py +375 -0
- pycsw/plugins/outputschemas/dif.py +213 -0
- pycsw/plugins/outputschemas/fgdc.py +180 -0
- pycsw/plugins/outputschemas/gm03.py +240 -0
- pycsw/plugins/profiles/__init__.py +29 -0
- pycsw/plugins/profiles/apiso/__init__.py +29 -0
- pycsw/plugins/profiles/apiso/apiso.py +757 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/csw/2.0.2/profiles/apiso/1.0.0/apiso.xsd +13 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gco/basicTypes.xsd +429 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gco/gco.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gco/gcoBase.xsd +61 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/applicationSchema.xsd +42 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/citation.xsd +275 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/constraints.xsd +106 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/content.xsd +188 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/dataQuality.xsd +554 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/distribution.xsd +202 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/extent.xsd +205 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/freeText.xsd +122 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/gmd.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/identification.xsd +348 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/maintenance.xsd +86 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/metadataApplication.xsd +175 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/metadataEntity.xsd +70 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/metadataExtension.xsd +99 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/portrayalCatalogue.xsd +36 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/referenceSystem.xsd +100 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmd/spatialRepresentation.xsd +237 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/basicTypes.xsd +267 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/coordinateOperations.xsd +639 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/coordinateReferenceSystems.xsd +526 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/coordinateSystems.xsd +401 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/coverage.xsd +462 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/datums.xsd +342 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/dictionary.xsd +129 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/direction.xsd +80 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/dynamicFeature.xsd +142 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/feature.xsd +215 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/geometryAggregates.xsd +216 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/geometryBasic0d1d.xsd +304 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/geometryBasic2d.xsd +123 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/geometryComplexes.xsd +89 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/geometryPrimitives.xsd +892 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/gml.xsd +14 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/gmlBase.xsd +305 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/grids.xsd +58 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/measures.xsd +167 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/observation.xsd +90 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/referenceSystems.xsd +69 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/temporal.xsd +263 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/temporalReferenceSystems.xsd +183 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/temporalTopology.xsd +124 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/topology.xsd +372 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/units.xsd +156 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gml/valueObjects.xsd +212 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmx/catalogues.xsd +112 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmx/codelistItem.xsd +168 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmx/crsItem.xsd +1030 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmx/extendedTypes.xsd +75 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmx/gmx.xsd +2 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmx/gmxUsage.xsd +127 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gmx/uomItem.xsd +162 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gsr/gsr.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gsr/spatialReferencing.xsd +24 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gss/geometry.xsd +35 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gss/gss.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gts/gts.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/gts/temporalObjects.xsd +34 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/srv/serviceMetadata.xsd +197 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/srv/serviceModel.xsd +220 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20060504/srv/srv.xsd +13 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gco/basicTypes.xsd +431 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gco/gco.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gco/gcoBase.xsd +63 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/applicationSchema.xsd +43 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/citation.xsd +276 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/constraints.xsd +107 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/content.xsd +190 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/dataQuality.xsd +556 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/distribution.xsd +203 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/extent.xsd +206 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/freeText.xsd +123 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/gmd.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/identification.xsd +349 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/maintenance.xsd +87 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/metadataApplication.xsd +176 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/metadataEntity.xsd +71 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/metadataExtension.xsd +100 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/portrayalCatalogue.xsd +37 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/referenceSystem.xsd +101 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmd/spatialRepresentation.xsd +238 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmx/catalogues.xsd +113 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmx/codelistItem.xsd +169 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmx/crsItem.xsd +1031 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmx/extendedTypes.xsd +76 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmx/gmx.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmx/gmxUsage.xsd +128 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gmx/uomItem.xsd +163 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gsr/gsr.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gsr/spatialReferencing.xsd +25 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gss/geometry.xsd +36 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gss/gss.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gts/gts.xsd +12 -0
- pycsw/plugins/profiles/apiso/schemas/ogc/iso/19139/20070417/gts/temporalObjects.xsd +35 -0
- pycsw/plugins/profiles/ebrim/__init__.py +29 -0
- pycsw/plugins/profiles/ebrim/ebrim.py +174 -0
- pycsw/plugins/profiles/ebrim/schemas/ogc/csw/2.0.2/profiles/ebrim/1.0/csw-ebrim-iri.xsd +146 -0
- pycsw/plugins/profiles/ebrim/schemas/ogc/csw/2.0.2/profiles/ebrim/1.0/csw-ebrim.xsd +104 -0
- pycsw/plugins/profiles/iso19115p3/__init__.py +29 -0
- pycsw/plugins/profiles/iso19115p3/iso19115p3.py +854 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cat/1.0/cat.xsd +13 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cat/1.0/catalogues.xsd +53 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cat/1.0/codelistItem.xsd +54 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cat/1.0/crsItem.xsd +181 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cat/1.0/uomItem.xsd +38 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cit/1.0/cit.xsd +7 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cit/1.0/citation.xsd +514 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cit/2.0/cit.xsd +10 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/cit/2.0/citation.xsd +523 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gco/1.0/baseTypes2014.xsd +530 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gco/1.0/gco.xsd +16 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gcx/1.0/extendedTypes.xsd +92 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gcx/1.0/extendedTypes_autoFromShapeChange.xsd +60 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gcx/1.0/gcx.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gex/1.0/extent.xsd +241 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gex/1.0/gex.xsd +9 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gmw/1.0/gmlWrapperTypes2014.xsd +159 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/gmw/1.0/gmw.xsd +14 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/lan/1.0/lan.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/lan/1.0/language.xsd +140 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mac/1.0/acquisitionInformationImagery.xsd +622 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mac/1.0/mac.xsd +11 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mac/2.0/acquisitionInformationImagery.xsd +590 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mac/2.0/event.xsd +108 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mac/2.0/mac.xsd +10 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mas/1.0/applicationSchema.xsd +61 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mas/1.0/mas.xsd +9 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mcc/1.0/AbstractCommonClasses.xsd +358 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mcc/1.0/commonClasses.xsd +220 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mcc/1.0/mcc.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mco/1.0/constraints.xsd +188 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mco/1.0/mco.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/md1/1.0/md1.xsd +9 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/md1/1.0/metadataWExtendedType.xsd +4 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/md2/1.0/md2.xsd +15 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/md2/1.0/metadataWithExtensions.xsd +4 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mda/1.0/mda.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mda/1.0/metadataApplication.xsd +200 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mdb/1.0/mdb.xsd +14 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mdb/1.0/metadataBase.xsd +98 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mdb/2.0/mdb.xsd +20 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mdb/2.0/metadataBase.xsd +102 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mds/1.0/mds.xsd +22 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mds/1.0/metadataDataServices.xsd +4 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mdt/1.0/mdt.xsd +13 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mdt/1.0/metadataTransfer.xsd +111 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mex/1.0/metadataExtension.xsd +156 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mex/1.0/mex.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mmi/1.0/maintenance.xsd +76 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mmi/1.0/mmi.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mpc/1.0/mpc.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mpc/1.0/portrayalCatalogue.xsd +31 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrc/1.0/content.xsd +416 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrc/1.0/contentInformationImagery.xsd +185 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrc/1.0/mrc.xsd +11 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrc/2.0/content.xsd +419 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrc/2.0/contentInformationImagery.xsd +171 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrc/2.0/mrc.xsd +11 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrd/1.0/distribution.xsd +267 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrd/1.0/mrd.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mri/1.0/identification.xsd +517 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mri/1.0/mri.xsd +9 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrl/1.0/lineage.xsd +147 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrl/1.0/lineageImagery.xsd +236 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrl/1.0/mrl.xsd +9 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrl/2.0/lineage.xsd +147 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrl/2.0/lineageImagery.xsd +312 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrl/2.0/mrl.xsd +11 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrs/1.0/mrs.xsd +8 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/mrs/1.0/referenceSystem.xsd +47 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/msr/1.0/msr.xsd +10 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/msr/1.0/spatialRepresentation.xsd +375 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/msr/1.0/spatialRepresentationImagery.xsd +119 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/msr/2.0/msr.xsd +15 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/msr/2.0/spatialRepresentation.xsd +381 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/msr/2.0/spatialRepresentationImagery.xsd +120 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/srv/2.0/serviceInformation.xsd +272 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/srv/2.0/srv.xsd +6 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/srv/2.1/serviceInformation.xsd +278 -0
- pycsw/plugins/profiles/iso19115p3/schemas/ogc/iso/iso19115-3/srv/2.1/srv.xsd +6 -0
- pycsw/plugins/profiles/profile.py +141 -0
- pycsw/plugins/repository/__init__.py +29 -0
- pycsw/plugins/repository/odc/__init__.py +29 -0
- pycsw/plugins/repository/odc/odc.py +153 -0
- pycsw/server.py +938 -0
- pycsw/sru.py +217 -0
- pycsw/stac/__init__.py +29 -0
- pycsw/stac/api.py +571 -0
- pycsw/wsgi.py +233 -0
- pycsw/wsgi_flask.py +345 -0
|
@@ -0,0 +1,459 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<schema targetNamespace="http://www.opengis.net/gml" elementFormDefault="qualified" version="3.1.1 2010-01-28" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:gml="http://www.opengis.net/gml" xmlns:sch="http://www.ascc.net/xml/schematron" xmlns="http://www.w3.org/2001/XMLSchema">
|
|
3
|
+
<annotation>
|
|
4
|
+
<appinfo source="urn:opengis:specification:gml:schema-xsd:topology:3.1.1">topology.xsd</appinfo>
|
|
5
|
+
<documentation>
|
|
6
|
+
GML is an OGC Standard.
|
|
7
|
+
Copyright (c) 2001,2005,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
|
|
8
|
+
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
|
9
|
+
</documentation>
|
|
10
|
+
</annotation>
|
|
11
|
+
<include schemaLocation="geometryComplexes.xsd"/>
|
|
12
|
+
<!-- ==============================================================
|
|
13
|
+
abstract supertype for topology objects
|
|
14
|
+
=============================================================== -->
|
|
15
|
+
<!-- ========================================================== -->
|
|
16
|
+
<element name="_Topology" type="gml:AbstractTopologyType" abstract="true" substitutionGroup="gml:_GML"/>
|
|
17
|
+
<!-- ========================================================== -->
|
|
18
|
+
<complexType name="AbstractTopologyType" abstract="true">
|
|
19
|
+
<complexContent>
|
|
20
|
+
<extension base="gml:AbstractGMLType"/>
|
|
21
|
+
</complexContent>
|
|
22
|
+
</complexType>
|
|
23
|
+
<!-- ========================================================== -->
|
|
24
|
+
<element name="_TopoPrimitive" type="gml:AbstractTopoPrimitiveType" abstract="true" substitutionGroup="gml:_Topology">
|
|
25
|
+
<annotation>
|
|
26
|
+
<documentation>Substitution group branch for Topo Primitives, used by TopoPrimitiveArrayAssociationType</documentation>
|
|
27
|
+
</annotation>
|
|
28
|
+
</element>
|
|
29
|
+
<!-- ========================================================== -->
|
|
30
|
+
<complexType name="AbstractTopoPrimitiveType" abstract="true">
|
|
31
|
+
<complexContent>
|
|
32
|
+
<extension base="gml:AbstractTopologyType">
|
|
33
|
+
<sequence>
|
|
34
|
+
<element ref="gml:isolated" minOccurs="0" maxOccurs="unbounded"/>
|
|
35
|
+
<element ref="gml:container" minOccurs="0"/>
|
|
36
|
+
</sequence>
|
|
37
|
+
</extension>
|
|
38
|
+
</complexContent>
|
|
39
|
+
</complexType>
|
|
40
|
+
<!-- ========================================================== -->
|
|
41
|
+
<element name="isolated" type="gml:IsolatedPropertyType">
|
|
42
|
+
<annotation>
|
|
43
|
+
<appinfo>
|
|
44
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
45
|
+
<sch:rule context="gml:isolated">
|
|
46
|
+
<sch:extends rule="hrefOrContent"/>
|
|
47
|
+
</sch:rule>
|
|
48
|
+
</sch:pattern>
|
|
49
|
+
</appinfo>
|
|
50
|
+
</annotation>
|
|
51
|
+
</element>
|
|
52
|
+
<!-- ========================================================== -->
|
|
53
|
+
<complexType name="IsolatedPropertyType">
|
|
54
|
+
<choice minOccurs="0">
|
|
55
|
+
<element ref="gml:Node"/>
|
|
56
|
+
<element ref="gml:Edge"/>
|
|
57
|
+
</choice>
|
|
58
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
59
|
+
</complexType>
|
|
60
|
+
<!-- ========================================================== -->
|
|
61
|
+
<element name="container" type="gml:ContainerPropertyType">
|
|
62
|
+
<annotation>
|
|
63
|
+
<appinfo>
|
|
64
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
65
|
+
<sch:rule context="gml:containerProperty">
|
|
66
|
+
<sch:extends rule="hrefOrContent"/>
|
|
67
|
+
</sch:rule>
|
|
68
|
+
</sch:pattern>
|
|
69
|
+
</appinfo>
|
|
70
|
+
</annotation>
|
|
71
|
+
</element>
|
|
72
|
+
<!-- ========================================================== -->
|
|
73
|
+
<complexType name="ContainerPropertyType">
|
|
74
|
+
<sequence minOccurs="0">
|
|
75
|
+
<choice>
|
|
76
|
+
<element ref="gml:Face"/>
|
|
77
|
+
<element ref="gml:TopoSolid"/>
|
|
78
|
+
</choice>
|
|
79
|
+
</sequence>
|
|
80
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
81
|
+
</complexType>
|
|
82
|
+
<!-- =========================================================== -->
|
|
83
|
+
<!-- primitive topology objects -->
|
|
84
|
+
<!-- ========================================================== -->
|
|
85
|
+
<element name="Node" type="gml:NodeType" substitutionGroup="gml:_TopoPrimitive"/>
|
|
86
|
+
<!-- =========================================================== -->
|
|
87
|
+
<complexType name="NodeType">
|
|
88
|
+
<annotation>
|
|
89
|
+
<documentation>Its optional co-boundary is a set of connected directedEdges. The orientation of one of these dirEdges is "+" if the Node is the "to" node of the Edge, and "-" if it is the "from" node.</documentation>
|
|
90
|
+
</annotation>
|
|
91
|
+
<complexContent>
|
|
92
|
+
<extension base="gml:AbstractTopoPrimitiveType">
|
|
93
|
+
<sequence>
|
|
94
|
+
<element ref="gml:directedEdge" minOccurs="0" maxOccurs="unbounded"/>
|
|
95
|
+
<element ref="gml:pointProperty" minOccurs="0"/>
|
|
96
|
+
<!-- <element name="geometry" type="gml:PointPropertyType" minOccurs="0"/> -->
|
|
97
|
+
</sequence>
|
|
98
|
+
</extension>
|
|
99
|
+
</complexContent>
|
|
100
|
+
</complexType>
|
|
101
|
+
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
|
102
|
+
<element name="directedNode" type="gml:DirectedNodePropertyType">
|
|
103
|
+
<annotation>
|
|
104
|
+
<appinfo>
|
|
105
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
106
|
+
<sch:rule context="gml:directedNode">
|
|
107
|
+
<sch:extends rule="hrefOrContent"/>
|
|
108
|
+
</sch:rule>
|
|
109
|
+
</sch:pattern>
|
|
110
|
+
</appinfo>
|
|
111
|
+
</annotation>
|
|
112
|
+
</element>
|
|
113
|
+
<!-- =========================================================== -->
|
|
114
|
+
<complexType name="DirectedNodePropertyType">
|
|
115
|
+
<sequence minOccurs="0">
|
|
116
|
+
<element ref="gml:Node"/>
|
|
117
|
+
</sequence>
|
|
118
|
+
<attribute name="orientation" type="gml:SignType" default="+"/>
|
|
119
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
120
|
+
</complexType>
|
|
121
|
+
<!-- ========================================================== -->
|
|
122
|
+
<!-- primitive topology objects (1-dimensional) -->
|
|
123
|
+
<!-- ========================================================== -->
|
|
124
|
+
<element name="Edge" type="gml:EdgeType" substitutionGroup="gml:_TopoPrimitive"/>
|
|
125
|
+
<!-- ========================================================== -->
|
|
126
|
+
<complexType name="EdgeType">
|
|
127
|
+
<annotation>
|
|
128
|
+
<documentation>There is precisely one positively directed and one negatively directed node in the boundary of every edge. The negatively and positively directed nodes correspond to the start and end nodes respectively. The optional coboundary of an edge is a circular sequence of directed faces which are incident on this edge in document order. Faces which use a particular boundary edge in its positive orientation appear with positive orientation on the coboundary of the same edge. In the 2D case, the orientation of the face on the left of the edge is "+"; the orientation of the face on the right on its right is "-". An edge may optionally be realised by a 1-dimensional (curve) geometric primitive.</documentation>
|
|
129
|
+
</annotation>
|
|
130
|
+
<complexContent>
|
|
131
|
+
<extension base="gml:AbstractTopoPrimitiveType">
|
|
132
|
+
<sequence>
|
|
133
|
+
<element ref="gml:directedNode" minOccurs="2" maxOccurs="2"/>
|
|
134
|
+
<element ref="gml:directedFace" minOccurs="0" maxOccurs="unbounded"/>
|
|
135
|
+
<element ref="gml:curveProperty" minOccurs="0"/>
|
|
136
|
+
</sequence>
|
|
137
|
+
</extension>
|
|
138
|
+
</complexContent>
|
|
139
|
+
</complexType>
|
|
140
|
+
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
|
141
|
+
<element name="directedEdge" type="gml:DirectedEdgePropertyType">
|
|
142
|
+
<annotation>
|
|
143
|
+
<appinfo>
|
|
144
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
145
|
+
<sch:rule context="gml:directedEdge">
|
|
146
|
+
<sch:extends rule="hrefOrContent"/>
|
|
147
|
+
</sch:rule>
|
|
148
|
+
</sch:pattern>
|
|
149
|
+
</appinfo>
|
|
150
|
+
</annotation>
|
|
151
|
+
</element>
|
|
152
|
+
<!-- =========================================================== -->
|
|
153
|
+
<complexType name="DirectedEdgePropertyType">
|
|
154
|
+
<sequence minOccurs="0">
|
|
155
|
+
<element ref="gml:Edge"/>
|
|
156
|
+
</sequence>
|
|
157
|
+
<attribute name="orientation" type="gml:SignType" default="+"/>
|
|
158
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
159
|
+
</complexType>
|
|
160
|
+
<!-- ========================================================== -->
|
|
161
|
+
<!-- primitive topology objects (2-dimensional) -->
|
|
162
|
+
<!-- ========================================================== -->
|
|
163
|
+
<element name="Face" type="gml:FaceType" substitutionGroup="gml:_TopoPrimitive"/>
|
|
164
|
+
<!-- ========================================================== -->
|
|
165
|
+
<complexType name="FaceType">
|
|
166
|
+
<annotation>
|
|
167
|
+
<documentation>. The topological boundary of a face consists of a set of directed edges. Note that all edges associated with a Face, including dangling and interior edges, appear in the boundary. Dangling and interior edges are each referenced by pairs of directedEdges with opposing orientations. The optional coboundary of a face is a pair of directed solids which are bounded by this face. If present, there is precisely one positively directed and one negatively directed solid in the coboundary of every face. The positively directed solid corresponds to the solid which lies in the direction of the positively directed normal to the face in any geometric realisation. A face may optionally be realised by a 2-dimensional (surface) geometric primitive.</documentation>
|
|
168
|
+
</annotation>
|
|
169
|
+
<complexContent>
|
|
170
|
+
<extension base="gml:AbstractTopoPrimitiveType">
|
|
171
|
+
<sequence>
|
|
172
|
+
<element ref="gml:directedEdge" maxOccurs="unbounded"/>
|
|
173
|
+
<element ref="gml:directedTopoSolid" minOccurs="0" maxOccurs="2"/>
|
|
174
|
+
<element ref="gml:surfaceProperty" minOccurs="0"/>
|
|
175
|
+
</sequence>
|
|
176
|
+
</extension>
|
|
177
|
+
</complexContent>
|
|
178
|
+
</complexType>
|
|
179
|
+
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
|
180
|
+
<element name="directedFace" type="gml:DirectedFacePropertyType">
|
|
181
|
+
<annotation>
|
|
182
|
+
<appinfo>
|
|
183
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
184
|
+
<sch:rule context="gml:directedFace">
|
|
185
|
+
<sch:extends rule="hrefOrContent"/>
|
|
186
|
+
</sch:rule>
|
|
187
|
+
</sch:pattern>
|
|
188
|
+
</appinfo>
|
|
189
|
+
</annotation>
|
|
190
|
+
</element>
|
|
191
|
+
<!-- =========================================================== -->
|
|
192
|
+
<complexType name="DirectedFacePropertyType">
|
|
193
|
+
<sequence minOccurs="0">
|
|
194
|
+
<element ref="gml:Face"/>
|
|
195
|
+
</sequence>
|
|
196
|
+
<attribute name="orientation" type="gml:SignType" default="+"/>
|
|
197
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
198
|
+
</complexType>
|
|
199
|
+
<!-- ========================================================== -->
|
|
200
|
+
<!-- primitive topology objects (3-dimensional) -->
|
|
201
|
+
<!-- ========================================================== -->
|
|
202
|
+
<element name="TopoSolid" type="gml:TopoSolidType" substitutionGroup="gml:_TopoPrimitive"/>
|
|
203
|
+
<!-- ============================================================= -->
|
|
204
|
+
<complexType name="TopoSolidType">
|
|
205
|
+
<annotation>
|
|
206
|
+
<documentation>The topological boundary of a TopoSolid consists of a set of directed faces. Note that all faces associated with the TopoSolid, including dangling faces, appear in the boundary. The coboundary of a TopoSolid is empty and hence requires no representation.</documentation>
|
|
207
|
+
</annotation>
|
|
208
|
+
<complexContent>
|
|
209
|
+
<extension base="gml:AbstractTopoPrimitiveType">
|
|
210
|
+
<sequence>
|
|
211
|
+
<element ref="gml:directedFace" maxOccurs="unbounded"/>
|
|
212
|
+
</sequence>
|
|
213
|
+
</extension>
|
|
214
|
+
</complexContent>
|
|
215
|
+
</complexType>
|
|
216
|
+
<!-- ========================================================== -->
|
|
217
|
+
<!-- ===== Property for topology association - by Value or by Reference ===== -->
|
|
218
|
+
<element name="directedTopoSolid" type="gml:DirectedTopoSolidPropertyType">
|
|
219
|
+
<annotation>
|
|
220
|
+
<appinfo>
|
|
221
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
222
|
+
<sch:rule context="gml:directedTopoSolid">
|
|
223
|
+
<sch:extends rule="hrefOrContent"/>
|
|
224
|
+
</sch:rule>
|
|
225
|
+
</sch:pattern>
|
|
226
|
+
</appinfo>
|
|
227
|
+
</annotation>
|
|
228
|
+
</element>
|
|
229
|
+
<!-- ============================================================= -->
|
|
230
|
+
<complexType name="DirectedTopoSolidPropertyType">
|
|
231
|
+
<sequence minOccurs="0">
|
|
232
|
+
<element ref="gml:TopoSolid"/>
|
|
233
|
+
</sequence>
|
|
234
|
+
<attribute name="orientation" type="gml:SignType" default="+"/>
|
|
235
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
236
|
+
</complexType>
|
|
237
|
+
<!-- ========================================================== -->
|
|
238
|
+
<element name="TopoPoint" type="gml:TopoPointType"/>
|
|
239
|
+
<!-- ========================================================== -->
|
|
240
|
+
<complexType name="TopoPointType">
|
|
241
|
+
<annotation>
|
|
242
|
+
<documentation>The intended use of TopoPoint is to appear within a point feature to express the structural and possibly geometric relationships of this point to other features via shared node definitions. Note the orientation assigned to the directedNode has no meaning in this context. It is preserved for symmetry with the types and elements which follow.</documentation>
|
|
243
|
+
</annotation>
|
|
244
|
+
<complexContent>
|
|
245
|
+
<extension base="gml:AbstractTopologyType">
|
|
246
|
+
<sequence>
|
|
247
|
+
<element ref="gml:directedNode"/>
|
|
248
|
+
</sequence>
|
|
249
|
+
</extension>
|
|
250
|
+
</complexContent>
|
|
251
|
+
</complexType>
|
|
252
|
+
<!-- ========================================================== -->
|
|
253
|
+
<!-- ============================================================= -->
|
|
254
|
+
<!-- ===== Property for topology association - by Value ===== -->
|
|
255
|
+
<element name="topoPointProperty" type="gml:TopoPointPropertyType"/>
|
|
256
|
+
<!-- ============================================================= -->
|
|
257
|
+
<complexType name="TopoPointPropertyType">
|
|
258
|
+
<sequence>
|
|
259
|
+
<element ref="gml:TopoPoint"/>
|
|
260
|
+
</sequence>
|
|
261
|
+
</complexType>
|
|
262
|
+
<!-- ========================================================== -->
|
|
263
|
+
<!-- ========================================================== -->
|
|
264
|
+
<element name="TopoCurve" type="gml:TopoCurveType"/>
|
|
265
|
+
<!-- ============================================================= -->
|
|
266
|
+
<complexType name="TopoCurveType">
|
|
267
|
+
<annotation>
|
|
268
|
+
<documentation>The end Node of each directedEdge of a TopoCurveType
|
|
269
|
+
is the start Node of the next directedEdge of the TopoCurveType in document order. The TopoCurve type and element represent a homogeneous topological expression, a list of directed edges, which if realised are isomorphic to a geometric curve primitive. The intended use of TopoCurve is to appear within a line feature instance to express the structural and geometric relationships of this line to other features via the shared edge definitions.</documentation>
|
|
270
|
+
</annotation>
|
|
271
|
+
<complexContent>
|
|
272
|
+
<extension base="gml:AbstractTopologyType">
|
|
273
|
+
<sequence>
|
|
274
|
+
<element ref="gml:directedEdge" maxOccurs="unbounded"/>
|
|
275
|
+
</sequence>
|
|
276
|
+
</extension>
|
|
277
|
+
</complexContent>
|
|
278
|
+
</complexType>
|
|
279
|
+
<!-- ========================================================== -->
|
|
280
|
+
<!-- ===== Property for topology association - by Value ===== -->
|
|
281
|
+
<element name="topoCurveProperty" type="gml:TopoCurvePropertyType"/>
|
|
282
|
+
<!-- ============================================================= -->
|
|
283
|
+
<complexType name="TopoCurvePropertyType">
|
|
284
|
+
<sequence>
|
|
285
|
+
<element ref="gml:TopoCurve"/>
|
|
286
|
+
</sequence>
|
|
287
|
+
</complexType>
|
|
288
|
+
<!-- ========================================================== -->
|
|
289
|
+
<!-- ========================================================== -->
|
|
290
|
+
<element name="TopoSurface" type="gml:TopoSurfaceType"/>
|
|
291
|
+
<!-- ============================================================= -->
|
|
292
|
+
<complexType name="TopoSurfaceType">
|
|
293
|
+
<annotation>
|
|
294
|
+
<documentation>The TopoSurface type and element represent a homogeneous topological expression, a set of directed faces, which if realised are isomorphic to a geometric surface primitive. The intended use of TopoSurface is to appear within a surface feature instance to express the structural and possibly geometric relationships of this surface to other features via the shared face definitions.</documentation>
|
|
295
|
+
</annotation>
|
|
296
|
+
<complexContent>
|
|
297
|
+
<extension base="gml:AbstractTopologyType">
|
|
298
|
+
<sequence>
|
|
299
|
+
<element ref="gml:directedFace" maxOccurs="unbounded"/>
|
|
300
|
+
</sequence>
|
|
301
|
+
</extension>
|
|
302
|
+
</complexContent>
|
|
303
|
+
</complexType>
|
|
304
|
+
<!-- ========================================================== -->
|
|
305
|
+
<!-- ===== Property for topology association - by Value ===== -->
|
|
306
|
+
<element name="topoSurfaceProperty" type="gml:TopoSurfacePropertyType"/>
|
|
307
|
+
<!-- ============================================================= -->
|
|
308
|
+
<complexType name="TopoSurfacePropertyType">
|
|
309
|
+
<sequence>
|
|
310
|
+
<element ref="gml:TopoSurface"/>
|
|
311
|
+
</sequence>
|
|
312
|
+
</complexType>
|
|
313
|
+
<!-- ========================================================== -->
|
|
314
|
+
<element name="TopoVolume" type="gml:TopoVolumeType"/>
|
|
315
|
+
<!-- ============================================================= -->
|
|
316
|
+
<complexType name="TopoVolumeType">
|
|
317
|
+
<annotation>
|
|
318
|
+
<documentation>The TopoVolume type and element represent a homogeneous topological expression, a set of directed TopoSolids, which if realised are isomorphic to a geometric solid primitive. The intended use of TopoVolume is to appear within a 3D solid feature instance to express the structural and geometric relationships of this solid to other features via the shared TopoSolid definitions. . Note the orientation assigned to the directedSolid has no meaning in three dimensions. It is preserved for symmetry with the preceding types and elements.</documentation>
|
|
319
|
+
</annotation>
|
|
320
|
+
<complexContent>
|
|
321
|
+
<extension base="gml:AbstractTopologyType">
|
|
322
|
+
<sequence>
|
|
323
|
+
<element ref="gml:directedTopoSolid" maxOccurs="unbounded"/>
|
|
324
|
+
</sequence>
|
|
325
|
+
</extension>
|
|
326
|
+
</complexContent>
|
|
327
|
+
</complexType>
|
|
328
|
+
<!-- ========================================================== -->
|
|
329
|
+
<!-- ===== Property for topology association - by Value ===== -->
|
|
330
|
+
<element name="topoVolumeProperty" type="gml:TopoVolumePropertyType"/>
|
|
331
|
+
<!-- ============================================================= -->
|
|
332
|
+
<complexType name="TopoVolumePropertyType">
|
|
333
|
+
<sequence>
|
|
334
|
+
<element ref="gml:TopoVolume"/>
|
|
335
|
+
</sequence>
|
|
336
|
+
</complexType>
|
|
337
|
+
<!-- ========================================================== -->
|
|
338
|
+
<!-- ========================================================== -->
|
|
339
|
+
<element name="TopoComplex" type="gml:TopoComplexType" substitutionGroup="gml:_Topology"/>
|
|
340
|
+
<!-- ========================================================== -->
|
|
341
|
+
<complexType name="TopoComplexType">
|
|
342
|
+
<annotation>
|
|
343
|
+
<documentation>This type represents a TP_Complex capable of holding topological primitives.</documentation>
|
|
344
|
+
</annotation>
|
|
345
|
+
<complexContent>
|
|
346
|
+
<extension base="gml:AbstractTopologyType">
|
|
347
|
+
<sequence>
|
|
348
|
+
<element ref="gml:maximalComplex"/>
|
|
349
|
+
<element ref="gml:superComplex" minOccurs="0" maxOccurs="unbounded"/>
|
|
350
|
+
<element ref="gml:subComplex" minOccurs="0" maxOccurs="unbounded"/>
|
|
351
|
+
<element ref="gml:topoPrimitiveMember" minOccurs="0" maxOccurs="unbounded"/>
|
|
352
|
+
<element ref="gml:topoPrimitiveMembers" minOccurs="0"/>
|
|
353
|
+
</sequence>
|
|
354
|
+
<attribute name="isMaximal" type="boolean" default="false"/>
|
|
355
|
+
</extension>
|
|
356
|
+
</complexContent>
|
|
357
|
+
</complexType>
|
|
358
|
+
<!-- ===== Property for topology association - by Value or Reference ===== -->
|
|
359
|
+
<element name="topoComplexProperty" type="gml:TopoComplexMemberType"/>
|
|
360
|
+
<!-- ========================================================== -->
|
|
361
|
+
<element name="subComplex" type="gml:TopoComplexMemberType">
|
|
362
|
+
<annotation>
|
|
363
|
+
<appinfo>
|
|
364
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
365
|
+
<sch:rule context="gml:subComplex">
|
|
366
|
+
<sch:extends rule="hrefOrContent"/>
|
|
367
|
+
</sch:rule>
|
|
368
|
+
</sch:pattern>
|
|
369
|
+
</appinfo>
|
|
370
|
+
</annotation>
|
|
371
|
+
</element>
|
|
372
|
+
<!-- ========================================================== -->
|
|
373
|
+
<element name="superComplex" type="gml:TopoComplexMemberType">
|
|
374
|
+
<annotation>
|
|
375
|
+
<appinfo>
|
|
376
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
377
|
+
<sch:rule context="gml:superComplex">
|
|
378
|
+
<sch:extends rule="hrefOrContent"/>
|
|
379
|
+
</sch:rule>
|
|
380
|
+
</sch:pattern>
|
|
381
|
+
</appinfo>
|
|
382
|
+
</annotation>
|
|
383
|
+
</element>
|
|
384
|
+
<!-- ========================================================== -->
|
|
385
|
+
<element name="maximalComplex" type="gml:TopoComplexMemberType">
|
|
386
|
+
<annotation>
|
|
387
|
+
<appinfo>
|
|
388
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
389
|
+
<sch:rule context="gml:subComplex">
|
|
390
|
+
<sch:extends rule="hrefOrContent"/>
|
|
391
|
+
</sch:rule>
|
|
392
|
+
</sch:pattern>
|
|
393
|
+
</appinfo>
|
|
394
|
+
<documentation>Need schamatron test here that isMaximal attribute value is true</documentation>
|
|
395
|
+
</annotation>
|
|
396
|
+
</element>
|
|
397
|
+
<!-- ============================================================= -->
|
|
398
|
+
<complexType name="TopoComplexMemberType">
|
|
399
|
+
<annotation>
|
|
400
|
+
<documentation>This Property can be used to embed a TopoComplex in a feature collection.</documentation>
|
|
401
|
+
</annotation>
|
|
402
|
+
<sequence>
|
|
403
|
+
<element ref="gml:TopoComplex" minOccurs="0"/>
|
|
404
|
+
</sequence>
|
|
405
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
406
|
+
</complexType>
|
|
407
|
+
<!-- ========================================================== -->
|
|
408
|
+
<!-- ===== Property for topology association - by Value or Reference ===== -->
|
|
409
|
+
<element name="topoPrimitiveMember" type="gml:TopoPrimitiveMemberType">
|
|
410
|
+
<annotation>
|
|
411
|
+
<appinfo>
|
|
412
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
413
|
+
<sch:rule context="gml:topoPrimitiveMember">
|
|
414
|
+
<sch:extends rule="hrefOrContent"/>
|
|
415
|
+
</sch:rule>
|
|
416
|
+
</sch:pattern>
|
|
417
|
+
</appinfo>
|
|
418
|
+
</annotation>
|
|
419
|
+
</element>
|
|
420
|
+
<!-- ============================================================= -->
|
|
421
|
+
<complexType name="TopoPrimitiveMemberType">
|
|
422
|
+
<annotation>
|
|
423
|
+
<documentation>This type supports embedding topological primitives in a TopoComplex.</documentation>
|
|
424
|
+
</annotation>
|
|
425
|
+
<sequence>
|
|
426
|
+
<element ref="gml:_TopoPrimitive" minOccurs="0"/>
|
|
427
|
+
</sequence>
|
|
428
|
+
<attributeGroup ref="gml:AssociationAttributeGroup"/>
|
|
429
|
+
</complexType>
|
|
430
|
+
<!-- ========================================================== -->
|
|
431
|
+
<!-- ===== Property for topology association - by Value ===== -->
|
|
432
|
+
<element name="topoPrimitiveMembers" type="gml:TopoPrimitiveArrayAssociationType">
|
|
433
|
+
<annotation>
|
|
434
|
+
<appinfo>
|
|
435
|
+
<sch:pattern name="refAndContent co-occurence prohibited">
|
|
436
|
+
<sch:rule context="gml:topoPrimitiveMember">
|
|
437
|
+
<sch:extends rule="hrefOrContent"/>
|
|
438
|
+
</sch:rule>
|
|
439
|
+
</sch:pattern>
|
|
440
|
+
</appinfo>
|
|
441
|
+
</annotation>
|
|
442
|
+
</element>
|
|
443
|
+
<!-- ========================================================== -->
|
|
444
|
+
<complexType name="TopoPrimitiveArrayAssociationType">
|
|
445
|
+
<annotation>
|
|
446
|
+
<documentation>This type supports embedding an array of topological primitives in a TopoComplex</documentation>
|
|
447
|
+
</annotation>
|
|
448
|
+
<!-- <complexContent>
|
|
449
|
+
<restriction base="gml:ArrayAssociationType"> -->
|
|
450
|
+
<sequence>
|
|
451
|
+
<choice minOccurs="0" maxOccurs="unbounded">
|
|
452
|
+
<element ref="gml:_TopoPrimitive"/>
|
|
453
|
+
</choice>
|
|
454
|
+
</sequence>
|
|
455
|
+
<!-- </restriction>
|
|
456
|
+
</complexContent> -->
|
|
457
|
+
</complexType>
|
|
458
|
+
<!-- ========================================================== -->
|
|
459
|
+
</schema>
|
|
@@ -0,0 +1,170 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<schema targetNamespace="http://www.opengis.net/gml" xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="3.1.1 2010-01-28" xml:lang="en">
|
|
3
|
+
<annotation>
|
|
4
|
+
<appinfo source="urn:opengis:specification:gml:schema-units:3.1.1"/>
|
|
5
|
+
<documentation>Builds on gmlBase.xsd to encode units of measure (or uom), including definitions of units of measure and dictionaries of such definitions. GML 3.0 candidate schema, primary editor: Arliss Whiteside.
|
|
6
|
+
Parts of this schema are based on Subclause 6.5.7 of ISO/CD 19103 Geographic information - Conceptual schema language, on Subclause A.5.2.2.3 of ISO/CD 19118 Geographic information - Encoding, and on most of OpenGIS Recommendation Paper OGC 02-007r4 Units of Measure Use and Definition Recommendations.
|
|
7
|
+
|
|
8
|
+
GML is an OGC Standard.
|
|
9
|
+
Copyright (c) 2001,2005,2010 Open Geospatial Consortium, Inc. All Rights Reserved.
|
|
10
|
+
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
|
|
11
|
+
</documentation>
|
|
12
|
+
</annotation>
|
|
13
|
+
<!-- ==============================================================
|
|
14
|
+
includes and imports
|
|
15
|
+
============================================================== -->
|
|
16
|
+
<include schemaLocation="dictionary.xsd"/>
|
|
17
|
+
<!-- ==============================================================
|
|
18
|
+
elements and types
|
|
19
|
+
============================================================== -->
|
|
20
|
+
<element name="unitOfMeasure" type="gml:UnitOfMeasureType"/>
|
|
21
|
+
<!-- =========================================================== -->
|
|
22
|
+
<complexType name="UnitOfMeasureType">
|
|
23
|
+
<annotation>
|
|
24
|
+
<documentation>Reference to a unit of measure definition that applies to all the numerical values described by the element containing this element. Notice that a complexType which needs to include the uom attribute can do so by extending this complexType. Alternately, this complexType can be used as a pattern for a new complexType.</documentation>
|
|
25
|
+
</annotation>
|
|
26
|
+
<sequence/>
|
|
27
|
+
<attribute name="uom" type="anyURI" use="required">
|
|
28
|
+
<annotation>
|
|
29
|
+
<documentation>Reference to a unit of measure definition, usually within the same XML document but possibly outside the XML document which contains this reference. For a reference within the same XML document, the "#" symbol should be used, followed by a text abbreviation of the unit name. However, the "#" symbol may be optional, and still may be interpreted as a reference.</documentation>
|
|
30
|
+
</annotation>
|
|
31
|
+
</attribute>
|
|
32
|
+
</complexType>
|
|
33
|
+
<!-- =========================================================== -->
|
|
34
|
+
<element name="UnitDefinition" type="gml:UnitDefinitionType" substitutionGroup="gml:Definition"/>
|
|
35
|
+
<!-- =========================================================== -->
|
|
36
|
+
<complexType name="UnitDefinitionType">
|
|
37
|
+
<annotation>
|
|
38
|
+
<documentation>Definition of a unit of measure (or uom). The definition includes a quantityType property, which indicates the phenomenon to which the units apply, and a catalogSymbol, which gives the short symbol used for this unit. This element is used when the relationship of this unit to other units or units systems is unknown.</documentation>
|
|
39
|
+
</annotation>
|
|
40
|
+
<complexContent>
|
|
41
|
+
<extension base="gml:DefinitionType">
|
|
42
|
+
<sequence>
|
|
43
|
+
<element ref="gml:quantityType"/>
|
|
44
|
+
<element ref="gml:catalogSymbol" minOccurs="0"/>
|
|
45
|
+
</sequence>
|
|
46
|
+
</extension>
|
|
47
|
+
</complexContent>
|
|
48
|
+
</complexType>
|
|
49
|
+
<!-- =========================================================== -->
|
|
50
|
+
<element name="BaseUnit" type="gml:BaseUnitType" substitutionGroup="gml:UnitDefinition"/>
|
|
51
|
+
<!-- =========================================================== -->
|
|
52
|
+
<complexType name="BaseUnitType">
|
|
53
|
+
<annotation>
|
|
54
|
+
<documentation>Definition of a unit of measure which is a base unit from the system of units. A base unit cannot be derived by combination of other base units within this system. Sometimes known as "fundamental unit".</documentation>
|
|
55
|
+
</annotation>
|
|
56
|
+
<complexContent>
|
|
57
|
+
<extension base="gml:UnitDefinitionType">
|
|
58
|
+
<sequence>
|
|
59
|
+
<element name="unitsSystem" type="gml:ReferenceType"/>
|
|
60
|
+
</sequence>
|
|
61
|
+
</extension>
|
|
62
|
+
</complexContent>
|
|
63
|
+
</complexType>
|
|
64
|
+
<!-- =========================================================== -->
|
|
65
|
+
<element name="DerivedUnit" type="gml:DerivedUnitType" substitutionGroup="gml:UnitDefinition"/>
|
|
66
|
+
<!-- ============================================================ -->
|
|
67
|
+
<complexType name="DerivedUnitType">
|
|
68
|
+
<annotation>
|
|
69
|
+
<documentation>Definition of a unit of measure which is defined through algebraic combination of more primitive units, which are usually base units from a particular system of units. Derived units based directly on base units are usually preferred for quantities other than the base units or fundamental quantities within a system. If a derived unit is not the preferred unit, the ConventionalUnit element should be used instead.</documentation>
|
|
70
|
+
</annotation>
|
|
71
|
+
<complexContent>
|
|
72
|
+
<extension base="gml:UnitDefinitionType">
|
|
73
|
+
<sequence>
|
|
74
|
+
<element ref="gml:derivationUnitTerm" maxOccurs="unbounded"/>
|
|
75
|
+
</sequence>
|
|
76
|
+
</extension>
|
|
77
|
+
</complexContent>
|
|
78
|
+
</complexType>
|
|
79
|
+
<!-- =========================================================== -->
|
|
80
|
+
<element name="ConventionalUnit" type="gml:ConventionalUnitType" substitutionGroup="gml:UnitDefinition"/>
|
|
81
|
+
<!-- =========================================================== -->
|
|
82
|
+
<complexType name="ConventionalUnitType">
|
|
83
|
+
<annotation>
|
|
84
|
+
<documentation>Definition of a unit of measure which is related to a preferred unit for this quantity type through a conversion formula. A method for deriving this unit by algebraic combination of more primitive units, may also be provided.</documentation>
|
|
85
|
+
</annotation>
|
|
86
|
+
<complexContent>
|
|
87
|
+
<extension base="gml:UnitDefinitionType">
|
|
88
|
+
<sequence>
|
|
89
|
+
<choice>
|
|
90
|
+
<element ref="gml:conversionToPreferredUnit"/>
|
|
91
|
+
<element ref="gml:roughConversionToPreferredUnit"/>
|
|
92
|
+
</choice>
|
|
93
|
+
<element ref="gml:derivationUnitTerm" minOccurs="0" maxOccurs="unbounded"/>
|
|
94
|
+
</sequence>
|
|
95
|
+
</extension>
|
|
96
|
+
</complexContent>
|
|
97
|
+
</complexType>
|
|
98
|
+
<!-- =========================================================== -->
|
|
99
|
+
<element name="quantityType" type="gml:StringOrRefType">
|
|
100
|
+
<annotation>
|
|
101
|
+
<documentation>Informal description of the phenomenon or type of quantity that is measured or observed. For example, "length", "angle", "time", "pressure", or "temperature". When the quantity is the result of an observation or measurement, this term is known as Observable Type or Measurand.</documentation>
|
|
102
|
+
</annotation>
|
|
103
|
+
</element>
|
|
104
|
+
<!-- =========================================================== -->
|
|
105
|
+
<element name="catalogSymbol" type="gml:CodeType">
|
|
106
|
+
<annotation>
|
|
107
|
+
<documentation>For global understanding of a unit of measure, it is often possible to reference an item in a catalog of units, using a symbol in that catalog. The "codeSpace" attribute in "CodeType" identifies a namespace for the catalog symbol value, and might reference the catalog. The "string" value in "CodeType" contains the value of a symbol that is unique within this catalog namespace. This symbol often appears explicitly in the catalog, but it could be a combination of symbols using a specified algebra of units. For example, the symbol "cm" might indicate that it is the "m" symbol combined with the "c" prefix.</documentation>
|
|
108
|
+
</annotation>
|
|
109
|
+
</element>
|
|
110
|
+
<!-- =========================================================== -->
|
|
111
|
+
<element name="derivationUnitTerm" type="gml:DerivationUnitTermType"/>
|
|
112
|
+
<!-- =========================================================== -->
|
|
113
|
+
<complexType name="DerivationUnitTermType">
|
|
114
|
+
<annotation>
|
|
115
|
+
<documentation>Definition of one unit term for a derived unit of measure. This unit term references another unit of measure (uom) and provides an integer exponent applied to that unit in defining the compound unit. The exponent can be positive or negative, but not zero.</documentation>
|
|
116
|
+
</annotation>
|
|
117
|
+
<complexContent>
|
|
118
|
+
<extension base="gml:UnitOfMeasureType">
|
|
119
|
+
<attribute name="exponent" type="integer"/>
|
|
120
|
+
</extension>
|
|
121
|
+
</complexContent>
|
|
122
|
+
</complexType>
|
|
123
|
+
<!-- =========================================================== -->
|
|
124
|
+
<element name="conversionToPreferredUnit" type="gml:ConversionToPreferredUnitType">
|
|
125
|
+
<annotation>
|
|
126
|
+
<documentation>This element is included when this unit has an accurate conversion to the preferred unit for this quantity type.</documentation>
|
|
127
|
+
</annotation>
|
|
128
|
+
</element>
|
|
129
|
+
<!-- =========================================================== -->
|
|
130
|
+
<element name="roughConversionToPreferredUnit" type="gml:ConversionToPreferredUnitType">
|
|
131
|
+
<annotation>
|
|
132
|
+
<documentation>This element is included when the correct definition of this unit is unknown, but this unit has a rough or inaccurate conversion to the preferred unit for this quantity type.</documentation>
|
|
133
|
+
</annotation>
|
|
134
|
+
</element>
|
|
135
|
+
<!-- =========================================================== -->
|
|
136
|
+
<complexType name="ConversionToPreferredUnitType">
|
|
137
|
+
<annotation>
|
|
138
|
+
<documentation>Relation of a unit to the preferred unit for this quantity type, specified by an arithmetic conversion (scaling and/or offset). A preferred unit is either a base unit or a derived unit selected for all units of one quantity type. The mandatory attribute "uom" shall reference the preferred unit that this conversion applies to. The conversion is specified by one of two alternative elements: "factor" or "formula".</documentation>
|
|
139
|
+
</annotation>
|
|
140
|
+
<complexContent>
|
|
141
|
+
<extension base="gml:UnitOfMeasureType">
|
|
142
|
+
<choice>
|
|
143
|
+
<element name="factor" type="double">
|
|
144
|
+
<annotation>
|
|
145
|
+
<documentation>Specification of the scale factor by which a value using this unit of measure can be multiplied to obtain the corresponding value using the preferred unit of measure.</documentation>
|
|
146
|
+
</annotation>
|
|
147
|
+
</element>
|
|
148
|
+
<element name="formula" type="gml:FormulaType">
|
|
149
|
+
<annotation>
|
|
150
|
+
<documentation>Specification of the formula by which a value using this unit of measure can be converted to obtain the corresponding value using the preferred unit of measure.</documentation>
|
|
151
|
+
</annotation>
|
|
152
|
+
</element>
|
|
153
|
+
</choice>
|
|
154
|
+
</extension>
|
|
155
|
+
</complexContent>
|
|
156
|
+
</complexType>
|
|
157
|
+
<!-- =========================================================== -->
|
|
158
|
+
<complexType name="FormulaType">
|
|
159
|
+
<annotation>
|
|
160
|
+
<documentation>Paremeters of a simple formula by which a value using this unit of measure can be converted to the corresponding value using the preferred unit of measure. The formula element contains elements a, b, c and d, whose values use the XML Schema type "double". These values are used in the formula y = (a + bx) / (c + dx), where x is a value using this unit, and y is the corresponding value using the preferred unit. The elements a and d are optional, and if values are not provided, those parameters are considered to be zero. If values are not provided for both a and d, the formula is equivalent to a fraction with numerator and denominator parameters.</documentation>
|
|
161
|
+
</annotation>
|
|
162
|
+
<sequence>
|
|
163
|
+
<element name="a" type="double" minOccurs="0"/>
|
|
164
|
+
<element name="b" type="double"/>
|
|
165
|
+
<element name="c" type="double"/>
|
|
166
|
+
<element name="d" type="double" minOccurs="0"/>
|
|
167
|
+
</sequence>
|
|
168
|
+
</complexType>
|
|
169
|
+
<!-- =========================================================== -->
|
|
170
|
+
</schema>
|