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,530 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<xs:schema xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
targetNamespace="http://standards.iso.org/iso/19115/-3/gco/1.0"
|
|
5
|
+
elementFormDefault="qualified" attributeFormDefault="unqualified">
|
|
6
|
+
<!-- ================================= Annotation ================================ -->
|
|
7
|
+
<xs:annotation>
|
|
8
|
+
<xs:documentation>Geographic COmmon (GCO) extensible markup language is a component of the XML Schema Implementation of Geographic
|
|
9
|
+
Information Metadata documented in ISO/TS 19115-3, based on the implementation patterns defined and utilized in ISO19139.
|
|
10
|
+
This gcoBase.xsd schema provides:
|
|
11
|
+
1. tools to handle specific objects like "code lists" and "record";
|
|
12
|
+
2. Some XML types that do not follow the general encoding rules specified in ISO19139.
|
|
13
|
+
*** SMR 2014-12-22. Refactor gco, gts, gsr, gss to separate gml dependencies.
|
|
14
|
+
All element or attribute types in this schema are either types defined by this schema, or are datatypes defined by
|
|
15
|
+
the XML schema namespace (http://www.w3.org/2001/XMLSchema)
|
|
16
|
+
To remove the dependency between gml and the base datatypes in ISO19115-3:
|
|
17
|
+
1. The nilReason attribute is defined here instead of extending the gml type.
|
|
18
|
+
2. The definition of MeasureType is copied here from gml 3.2 basic Types. The only
|
|
19
|
+
difference this will introduce in instance documents is that the uom attribute on a measure value
|
|
20
|
+
(or one of its substitutions) will be gco:uom, not gml:uom.
|
|
21
|
+
</xs:documentation>
|
|
22
|
+
</xs:annotation>
|
|
23
|
+
<!-- ================================== Imports ================================== -->
|
|
24
|
+
<xs:import namespace="http://www.w3.org/1999/xlink"
|
|
25
|
+
schemaLocation="../../../../../others/xlink/xlink.xsd"/>
|
|
26
|
+
|
|
27
|
+
<!-- ########################################################################### -->
|
|
28
|
+
<!-- =========================================================================== -->
|
|
29
|
+
<!-- ========================= IM_Object: abstract Root ============================= -->
|
|
30
|
+
<!--================= Type ===================-->
|
|
31
|
+
<xs:complexType name="AbstractObject_Type" abstract="true">
|
|
32
|
+
<xs:sequence/>
|
|
33
|
+
<xs:attributeGroup ref="gco:ObjectIdentification"/>
|
|
34
|
+
</xs:complexType>
|
|
35
|
+
<!--================= Element =================-->
|
|
36
|
+
<xs:element name="AbstractObject" type="gco:AbstractObject_Type" abstract="true"/>
|
|
37
|
+
<!-- ========================================================================== -->
|
|
38
|
+
<!-- ====================== Reference of a resource =============================== -->
|
|
39
|
+
<!--The following attributeGroup 'extends' the GML gml:AssociationAttributeGroup-->
|
|
40
|
+
<xs:attributeGroup name="ObjectReference">
|
|
41
|
+
<xs:attributeGroup ref="xlink:simpleAttrs"/>
|
|
42
|
+
<xs:attribute name="uuidref" type="xs:string"/>
|
|
43
|
+
</xs:attributeGroup>
|
|
44
|
+
<!--================== NULL ====================-->
|
|
45
|
+
<xs:attribute name="nilReason" type="gco:NilReasonType"/>
|
|
46
|
+
|
|
47
|
+
<xs:simpleType name="NilReasonType">
|
|
48
|
+
<xs:annotation>
|
|
49
|
+
<xs:documentation>copied from gml32:NilReasonType. This Type defines a content model that allows recording of an
|
|
50
|
+
explanation for a void value or other exception.
|
|
51
|
+
gml:NilReasonType is a union of the following enumerated values:
|
|
52
|
+
- inapplicable- there is no value
|
|
53
|
+
- missing- the correct value is not readily available to the sender of this data. Furthermore, a correct value may not exist
|
|
54
|
+
- template- the value will be available later
|
|
55
|
+
- unknown- the correct value is not known to, and not computable by, the sender of this data. However, a correct value probably exists
|
|
56
|
+
- withheld- the value is not divulged
|
|
57
|
+
- other:text - other brief explanation, where text is a string of two or more characters with no included spaces
|
|
58
|
+
and
|
|
59
|
+
- xs:anyURI which should refer to a resource which describes the reason for the exception
|
|
60
|
+
A particular community may choose to assign more detailed semantics to the standard values provided. Alternatively, the URI method enables a specific or more complete explanation for the absence of a value to be provided elsewhere and indicated by-reference in an instance document.
|
|
61
|
+
gml:NilReasonType is used as a member of a union in a number of simple content types where it is necessary to permit a value from the NilReasonType union as an alternative to the primary type.</xs:documentation>
|
|
62
|
+
</xs:annotation>
|
|
63
|
+
<xs:union memberTypes="gco:NilReasonEnumeration xs:anyURI"/>
|
|
64
|
+
</xs:simpleType>
|
|
65
|
+
<xs:simpleType name="NilReasonEnumeration">
|
|
66
|
+
<xs:union>
|
|
67
|
+
<xs:simpleType>
|
|
68
|
+
<xs:restriction base="xs:string">
|
|
69
|
+
<xs:enumeration value="inapplicable"/>
|
|
70
|
+
<xs:enumeration value="missing"/>
|
|
71
|
+
<xs:enumeration value="template"/>
|
|
72
|
+
<xs:enumeration value="unknown"/>
|
|
73
|
+
<xs:enumeration value="withheld"/>
|
|
74
|
+
</xs:restriction>
|
|
75
|
+
</xs:simpleType>
|
|
76
|
+
<xs:simpleType>
|
|
77
|
+
<xs:restriction base="xs:string">
|
|
78
|
+
<xs:pattern value="other:\w{2,}"/>
|
|
79
|
+
</xs:restriction>
|
|
80
|
+
</xs:simpleType>
|
|
81
|
+
</xs:union>
|
|
82
|
+
</xs:simpleType>
|
|
83
|
+
<!--=============== PropertyType =================-->
|
|
84
|
+
<xs:complexType name="ObjectReference_PropertyType">
|
|
85
|
+
<xs:sequence/>
|
|
86
|
+
<xs:attributeGroup ref="gco:ObjectReference"/>
|
|
87
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
88
|
+
</xs:complexType>
|
|
89
|
+
<!-- ========================================================================== -->
|
|
90
|
+
<!-- ====================== Identification of a resource ============================== -->
|
|
91
|
+
<xs:attributeGroup name="ObjectIdentification">
|
|
92
|
+
<xs:attribute name="id" type="xs:ID"/>
|
|
93
|
+
<xs:attribute name="uuid" type="xs:string"/>
|
|
94
|
+
</xs:attributeGroup>
|
|
95
|
+
<!-- ========================================================================== -->
|
|
96
|
+
|
|
97
|
+
<!-- ====================== The CodeList prototype ================================= -->
|
|
98
|
+
<!--It is used to refer to a specific codeListValue in a register-->
|
|
99
|
+
<!--================= Type ==================-->
|
|
100
|
+
<xs:complexType name="CodeListValue_Type">
|
|
101
|
+
<xs:simpleContent>
|
|
102
|
+
<xs:extension base="xs:string">
|
|
103
|
+
<xs:attribute name="codeList" type="xs:anyURI" use="required"/>
|
|
104
|
+
<xs:attribute name="codeListValue" type="xs:anyURI" use="required"/>
|
|
105
|
+
<xs:attribute name="codeSpace" type="xs:anyURI"/>
|
|
106
|
+
</xs:extension>
|
|
107
|
+
</xs:simpleContent>
|
|
108
|
+
</xs:complexType>
|
|
109
|
+
<!-- ========================================================================== -->
|
|
110
|
+
<!-- ========================== The isoType attribute ============================== -->
|
|
111
|
+
<xs:attribute name="isoType" type="xs:string"/>
|
|
112
|
+
|
|
113
|
+
<!-- moved from 19139 basicTypes.xsd -->
|
|
114
|
+
<!-- ########################################################################### -->
|
|
115
|
+
<!-- ########################################################################### -->
|
|
116
|
+
<!-- ================================== Classes ================================= -->
|
|
117
|
+
<!-- =========================================================================== -->
|
|
118
|
+
<xs:complexType name="TypeName_Type">
|
|
119
|
+
<xs:annotation>
|
|
120
|
+
<xs:documentation>A TypeName is a LocalName that references either a recordType or object type in some form of schema. The stored value "aName" is the returned value for the "aName()" operation. This is the types name. - For parsing from types (or objects) the parsible name normally uses a "." navigation separator, so that it is of the form [class].[member].[memberOfMember]. ...)</xs:documentation>
|
|
121
|
+
</xs:annotation>
|
|
122
|
+
<xs:complexContent>
|
|
123
|
+
<xs:extension base="gco:AbstractObject_Type">
|
|
124
|
+
<xs:sequence>
|
|
125
|
+
<xs:element name="aName" type="gco:CharacterString_PropertyType"/>
|
|
126
|
+
</xs:sequence>
|
|
127
|
+
</xs:extension>
|
|
128
|
+
</xs:complexContent>
|
|
129
|
+
</xs:complexType>
|
|
130
|
+
<!-- ........................................................................ -->
|
|
131
|
+
<xs:element name="TypeName" type="gco:TypeName_Type"/>
|
|
132
|
+
<!-- ........................................................................ -->
|
|
133
|
+
<xs:complexType name="TypeName_PropertyType">
|
|
134
|
+
<xs:sequence minOccurs="0">
|
|
135
|
+
<xs:element ref="gco:TypeName"/>
|
|
136
|
+
</xs:sequence>
|
|
137
|
+
<xs:attributeGroup ref="gco:ObjectReference"/>
|
|
138
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
139
|
+
</xs:complexType>
|
|
140
|
+
<!-- =========================================================================== -->
|
|
141
|
+
<xs:complexType name="MemberName_Type">
|
|
142
|
+
<xs:annotation>
|
|
143
|
+
<xs:documentation>A MemberName is a LocalName that references either an attribute slot in a record or recordType or an attribute, operation, or association role in an object instance or type description in some form of schema. The stored value "aName" is the returned value for the "aName()" operation.</xs:documentation>
|
|
144
|
+
</xs:annotation>
|
|
145
|
+
<xs:complexContent>
|
|
146
|
+
<xs:extension base="gco:AbstractObject_Type">
|
|
147
|
+
<xs:sequence>
|
|
148
|
+
<xs:element name="aName" type="gco:CharacterString_PropertyType"/>
|
|
149
|
+
<xs:element name="attributeType" type="gco:TypeName_PropertyType"/>
|
|
150
|
+
</xs:sequence>
|
|
151
|
+
</xs:extension>
|
|
152
|
+
</xs:complexContent>
|
|
153
|
+
</xs:complexType>
|
|
154
|
+
<!-- ........................................................................ -->
|
|
155
|
+
<xs:element name="MemberName" type="gco:MemberName_Type"/>
|
|
156
|
+
<!-- ........................................................................ -->
|
|
157
|
+
<xs:complexType name="MemberName_PropertyType">
|
|
158
|
+
<xs:sequence minOccurs="0">
|
|
159
|
+
<xs:element ref="gco:MemberName"/>
|
|
160
|
+
</xs:sequence>
|
|
161
|
+
<xs:attributeGroup ref="gco:ObjectReference"/>
|
|
162
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
163
|
+
</xs:complexType>
|
|
164
|
+
<!-- =========================================================================== -->
|
|
165
|
+
<xs:complexType name="Multiplicity_Type">
|
|
166
|
+
<xs:annotation>
|
|
167
|
+
<xs:documentation>Use to represent the possible cardinality of a relation. Represented by a set of simple multiplicity ranges.</xs:documentation>
|
|
168
|
+
</xs:annotation>
|
|
169
|
+
<xs:complexContent>
|
|
170
|
+
<xs:extension base="gco:AbstractObject_Type">
|
|
171
|
+
<xs:sequence>
|
|
172
|
+
<xs:element name="range" type="gco:MultiplicityRange_PropertyType"
|
|
173
|
+
maxOccurs="unbounded"/>
|
|
174
|
+
</xs:sequence>
|
|
175
|
+
</xs:extension>
|
|
176
|
+
</xs:complexContent>
|
|
177
|
+
</xs:complexType>
|
|
178
|
+
<!-- ........................................................................ -->
|
|
179
|
+
<xs:element name="Multiplicity" type="gco:Multiplicity_Type"/>
|
|
180
|
+
<!-- ........................................................................ -->
|
|
181
|
+
<xs:complexType name="Multiplicity_PropertyType">
|
|
182
|
+
<xs:sequence minOccurs="0">
|
|
183
|
+
<xs:element ref="gco:Multiplicity"/>
|
|
184
|
+
</xs:sequence>
|
|
185
|
+
<xs:attributeGroup ref="gco:ObjectReference"/>
|
|
186
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
187
|
+
</xs:complexType>
|
|
188
|
+
<!-- =========================================================================== -->
|
|
189
|
+
<xs:complexType name="MultiplicityRange_Type">
|
|
190
|
+
<xs:annotation>
|
|
191
|
+
<xs:documentation>A component of a multiplicity, consisting of an non-negative lower bound, and a potentially infinite upper bound.</xs:documentation>
|
|
192
|
+
</xs:annotation>
|
|
193
|
+
<xs:complexContent>
|
|
194
|
+
<xs:extension base="gco:AbstractObject_Type">
|
|
195
|
+
<xs:sequence>
|
|
196
|
+
<xs:element name="lower" type="gco:Integer_PropertyType"/>
|
|
197
|
+
<xs:element name="upper" type="gco:UnlimitedInteger_PropertyType"/>
|
|
198
|
+
</xs:sequence>
|
|
199
|
+
</xs:extension>
|
|
200
|
+
</xs:complexContent>
|
|
201
|
+
</xs:complexType>
|
|
202
|
+
<!-- ........................................................................ -->
|
|
203
|
+
<xs:element name="MultiplicityRange" type="gco:MultiplicityRange_Type"/>
|
|
204
|
+
<!-- ........................................................................ -->
|
|
205
|
+
<xs:complexType name="MultiplicityRange_PropertyType">
|
|
206
|
+
<xs:sequence minOccurs="0">
|
|
207
|
+
<xs:element ref="gco:MultiplicityRange"/>
|
|
208
|
+
</xs:sequence>
|
|
209
|
+
<xs:attributeGroup ref="gco:ObjectReference"/>
|
|
210
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
211
|
+
</xs:complexType>
|
|
212
|
+
|
|
213
|
+
<!-- ........................................................................ -->
|
|
214
|
+
<xs:element name="CharacterString" type="xs:string"/>
|
|
215
|
+
<!-- ........................................................................ -->
|
|
216
|
+
<xs:complexType name="CharacterString_PropertyType">
|
|
217
|
+
<xs:sequence minOccurs="0">
|
|
218
|
+
<xs:element ref="gco:CharacterString"/>
|
|
219
|
+
</xs:sequence>
|
|
220
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
221
|
+
</xs:complexType>
|
|
222
|
+
<!-- =========================================================================== -->
|
|
223
|
+
<!-- ........................................................................ -->
|
|
224
|
+
<xs:element name="Boolean" type="xs:boolean"/>
|
|
225
|
+
<!-- ........................................................................ -->
|
|
226
|
+
<xs:complexType name="Boolean_PropertyType">
|
|
227
|
+
<xs:sequence minOccurs="0">
|
|
228
|
+
<xs:element ref="gco:Boolean"/>
|
|
229
|
+
</xs:sequence>
|
|
230
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
231
|
+
</xs:complexType>
|
|
232
|
+
<!-- =========================================================================== -->
|
|
233
|
+
|
|
234
|
+
<!-- =========================== Date & DateTime ================================= -->
|
|
235
|
+
<!--=============================================-->
|
|
236
|
+
<xs:element name="DateTime" type="xs:dateTime"/>
|
|
237
|
+
<!-- ........................................................................ -->
|
|
238
|
+
<xs:complexType name="DateTime_PropertyType">
|
|
239
|
+
<xs:sequence minOccurs="0">
|
|
240
|
+
<xs:element ref="gco:DateTime"/>
|
|
241
|
+
</xs:sequence>
|
|
242
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
243
|
+
</xs:complexType>
|
|
244
|
+
<!-- =========================================================================== -->
|
|
245
|
+
<xs:simpleType name="Date_Type">
|
|
246
|
+
<xs:union memberTypes="xs:date xs:gYearMonth xs:gYear"/>
|
|
247
|
+
</xs:simpleType>
|
|
248
|
+
<!-- ........................................................................ -->
|
|
249
|
+
<xs:element name="Date" type="gco:Date_Type" nillable="true"/>
|
|
250
|
+
<!-- ........................................................................ -->
|
|
251
|
+
<xs:complexType name="Date_PropertyType">
|
|
252
|
+
<xs:choice minOccurs="0">
|
|
253
|
+
<xs:element ref="gco:Date"/>
|
|
254
|
+
<xs:element ref="gco:DateTime"/>
|
|
255
|
+
</xs:choice>
|
|
256
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
257
|
+
</xs:complexType>
|
|
258
|
+
<!-- ========================================================================== -->
|
|
259
|
+
<!-- =========================== Number basic type =============================== -->
|
|
260
|
+
<!--=======================================================-->
|
|
261
|
+
<xs:complexType name="Number_PropertyType">
|
|
262
|
+
<xs:choice minOccurs="0">
|
|
263
|
+
<xs:element ref="gco:Real"/>
|
|
264
|
+
<xs:element ref="gco:Decimal"/>
|
|
265
|
+
<xs:element ref="gco:Integer"/>
|
|
266
|
+
</xs:choice>
|
|
267
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
268
|
+
</xs:complexType>
|
|
269
|
+
<!-- =========================================================================== -->
|
|
270
|
+
<!-- ........................................................................ -->
|
|
271
|
+
<xs:element name="Decimal" type="xs:decimal"/>
|
|
272
|
+
<!-- ........................................................................ -->
|
|
273
|
+
<xs:complexType name="Decimal_PropertyType">
|
|
274
|
+
<xs:sequence minOccurs="0">
|
|
275
|
+
<xs:element ref="gco:Decimal"/>
|
|
276
|
+
</xs:sequence>
|
|
277
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
278
|
+
</xs:complexType>
|
|
279
|
+
<!-- =========================================================================== -->
|
|
280
|
+
<!-- ........................................................................ -->
|
|
281
|
+
<xs:element name="Real" type="xs:double"/>
|
|
282
|
+
<!-- ........................................................................ -->
|
|
283
|
+
<xs:complexType name="Real_PropertyType">
|
|
284
|
+
<xs:sequence minOccurs="0">
|
|
285
|
+
<xs:element ref="gco:Real"/>
|
|
286
|
+
</xs:sequence>
|
|
287
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
288
|
+
</xs:complexType>
|
|
289
|
+
<!-- =========================================================================== -->
|
|
290
|
+
<!-- ........................................................................ -->
|
|
291
|
+
<xs:element name="Integer" type="xs:integer"/>
|
|
292
|
+
<!-- ........................................................................ -->
|
|
293
|
+
<xs:complexType name="Integer_PropertyType">
|
|
294
|
+
<xs:sequence minOccurs="0">
|
|
295
|
+
<xs:element ref="gco:Integer"/>
|
|
296
|
+
</xs:sequence>
|
|
297
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
298
|
+
</xs:complexType>
|
|
299
|
+
<!-- ========================================================================== -->
|
|
300
|
+
<!-- ============================= UnlimitedInteger ================================ -->
|
|
301
|
+
<!--NB: The encoding mechanism below is based on the use of XCPT (see the usage of xsi:nil in XML instance).-->
|
|
302
|
+
<!--================= Type ==================-->
|
|
303
|
+
<xs:complexType name="UnlimitedInteger_Type">
|
|
304
|
+
<xs:simpleContent>
|
|
305
|
+
<xs:extension base="xs:nonNegativeInteger">
|
|
306
|
+
<xs:attribute name="isInfinite" type="xs:boolean"/>
|
|
307
|
+
</xs:extension>
|
|
308
|
+
</xs:simpleContent>
|
|
309
|
+
</xs:complexType>
|
|
310
|
+
<!-- ........................................................................ -->
|
|
311
|
+
<xs:element name="UnlimitedInteger" type="gco:UnlimitedInteger_Type" nillable="true"/>
|
|
312
|
+
<!-- ........................................................................ -->
|
|
313
|
+
<xs:complexType name="UnlimitedInteger_PropertyType">
|
|
314
|
+
<xs:sequence minOccurs="0">
|
|
315
|
+
<xs:element ref="gco:UnlimitedInteger"/>
|
|
316
|
+
</xs:sequence>
|
|
317
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
318
|
+
</xs:complexType>
|
|
319
|
+
<!-- ========================================================================== -->
|
|
320
|
+
<!-- ========================= Record & RecordType ============================== -->
|
|
321
|
+
<!--================= Record ==================-->
|
|
322
|
+
<xs:element name="Record"/>
|
|
323
|
+
<!-- ........................................................................ -->
|
|
324
|
+
<xs:complexType name="Record_PropertyType">
|
|
325
|
+
<xs:sequence minOccurs="0">
|
|
326
|
+
<xs:element ref="gco:Record"/>
|
|
327
|
+
</xs:sequence>
|
|
328
|
+
<xs:attributeGroup ref="gco:ObjectReference"/>
|
|
329
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
330
|
+
</xs:complexType>
|
|
331
|
+
<!-- =========================================================================== -->
|
|
332
|
+
<!--================= RecordType ==================-->
|
|
333
|
+
<xs:complexType name="RecordType_Type">
|
|
334
|
+
<xs:simpleContent>
|
|
335
|
+
<xs:extension base="xs:string">
|
|
336
|
+
<xs:attributeGroup ref="xlink:simpleAttrs"/>
|
|
337
|
+
</xs:extension>
|
|
338
|
+
</xs:simpleContent>
|
|
339
|
+
</xs:complexType>
|
|
340
|
+
<!-- ........................................................................ -->
|
|
341
|
+
<xs:element name="RecordType" type="gco:RecordType_Type"/>
|
|
342
|
+
<!-- ........................................................................ -->
|
|
343
|
+
<xs:complexType name="RecordType_PropertyType">
|
|
344
|
+
<xs:sequence minOccurs="0">
|
|
345
|
+
<xs:element ref="gco:RecordType"/>
|
|
346
|
+
</xs:sequence>
|
|
347
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
348
|
+
</xs:complexType>
|
|
349
|
+
<!-- ========================================================================== -->
|
|
350
|
+
<!-- =========================== Binary basic type ================================ -->
|
|
351
|
+
<!--NB: this type is not declared in 19103 but used in 19115. -->
|
|
352
|
+
<!--================= Type ==================-->
|
|
353
|
+
<xs:complexType name="Binary_Type">
|
|
354
|
+
<xs:simpleContent>
|
|
355
|
+
<xs:extension base="xs:string">
|
|
356
|
+
<xs:attribute name="src" type="xs:anyURI"/>
|
|
357
|
+
</xs:extension>
|
|
358
|
+
</xs:simpleContent>
|
|
359
|
+
</xs:complexType>
|
|
360
|
+
<!-- ........................................................................ -->
|
|
361
|
+
<xs:element name="Binary" type="gco:Binary_Type"/>
|
|
362
|
+
<!-- ........................................................................ -->
|
|
363
|
+
<xs:complexType name="Binary_PropertyType">
|
|
364
|
+
<xs:sequence minOccurs="0">
|
|
365
|
+
<xs:element ref="gco:Binary"/>
|
|
366
|
+
</xs:sequence>
|
|
367
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
368
|
+
</xs:complexType>
|
|
369
|
+
<!--================================================-->
|
|
370
|
+
<!--================================================-->
|
|
371
|
+
<!-- ================== Measure and the Measure substitution group===================== -->
|
|
372
|
+
<!-- ........................................................................ -->
|
|
373
|
+
<!--================= Type ===================-->
|
|
374
|
+
<xs:complexType name="MeasureType">
|
|
375
|
+
<xs:annotation>
|
|
376
|
+
<xs:documentation>Copied from gml32:MeasureType, which supports recording an amount encoded as a value of XML Schema double, together with a units of measure indicated by an attribute uom, short for "units Of measure". The value of the uom attribute identifies a reference system for the amount, usually a ratio or interval scale. Namespace changed to gco</xs:documentation>
|
|
377
|
+
</xs:annotation>
|
|
378
|
+
<xs:simpleContent>
|
|
379
|
+
<xs:extension base="xs:double">
|
|
380
|
+
<xs:attribute name="uom" type="gco:UomIdentifierType" use="required"/>
|
|
381
|
+
</xs:extension>
|
|
382
|
+
</xs:simpleContent>
|
|
383
|
+
</xs:complexType>
|
|
384
|
+
<!-- SMR handcraft UomIdentifier to implement 19103:2015 interface; this will allow
|
|
385
|
+
reducing dependencies on GML for elements using measures with a separate unit of measurement element-->
|
|
386
|
+
<!--================= Element =================-->
|
|
387
|
+
<xs:element name="UomIdentifier" type="gco:UomIdentifierType"/>
|
|
388
|
+
<!--================= Type ===================-->
|
|
389
|
+
<xs:simpleType name="UomIdentifierType">
|
|
390
|
+
<xs:annotation>
|
|
391
|
+
<xs:documentation>The simple type gml:UomIdentifer defines the syntax and value space of the unit of measure identifier.</xs:documentation>
|
|
392
|
+
</xs:annotation>
|
|
393
|
+
<xs:union memberTypes="gco:UomSymbol gco:UomURI"/>
|
|
394
|
+
</xs:simpleType>
|
|
395
|
+
<xs:simpleType name="UomSymbol">
|
|
396
|
+
<xs:annotation>
|
|
397
|
+
<xs:documentation>This type specifies a character string of length at least one, and restricted such that it must not contain any of the following characters: ":" (colon), " " (space), (newline), (carriage return), (tab). This allows values corresponding to familiar abbreviations, such as "kg", "m/s", etc.
|
|
398
|
+
It is recommended that the symbol be an identifier for a unit of measure as specified in the "Unified Code of Units of Measure" (UCUM) (http://aurora.regenstrief.org/UCUM). This provides a set of symbols and a grammar for constructing identifiers for units of measure that are unique, and may be easily entered with a keyboard supporting the limited character set known as 7-bit ASCII. ISO 2955 formerly provided a specification with this scope, but was withdrawn in 2001. UCUM largely follows ISO 2955 with modifications to remove ambiguities and other problems.</xs:documentation>
|
|
399
|
+
</xs:annotation>
|
|
400
|
+
<xs:restriction base="xs:string">
|
|
401
|
+
<xs:pattern value="[^: \n\r\t]+"/>
|
|
402
|
+
</xs:restriction>
|
|
403
|
+
</xs:simpleType>
|
|
404
|
+
<xs:simpleType name="UomURI">
|
|
405
|
+
<xs:annotation>
|
|
406
|
+
<xs:documentation>This type specifies a URI, restricted such that it must start with one of the following sequences: "#", "./", "../", or a string of characters followed by a ":". These patterns ensure that the most common URI forms are supported, including absolute and relative URIs and URIs that are simple fragment identifiers, but prohibits certain forms of relative URI that could be mistaken for unit of measure symbol .
|
|
407
|
+
NOTE It is possible to re-write such a relative URI to conform to the restriction (e.g. "./m/s").
|
|
408
|
+
In an instance document, on elements of type gml:MeasureType the mandatory uom attribute shall carry a value corresponding to either
|
|
409
|
+
- a conventional unit of measure symbol,
|
|
410
|
+
- a link to a definition of a unit of measure that does not have a conventional symbol, or when it is desired to indicate a precise or variant definition.</xs:documentation>
|
|
411
|
+
</xs:annotation>
|
|
412
|
+
<xs:restriction base="xs:anyURI">
|
|
413
|
+
<xs:pattern value="([a-zA-Z][a-zA-Z0-9\-\+\.]*:|\.\./|\./|#).*"/>
|
|
414
|
+
</xs:restriction>
|
|
415
|
+
</xs:simpleType>
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
<!-- ============ UomIdentifier Property =================== -->
|
|
419
|
+
<!-- implementing interface defined in ISO19103:2015 -->
|
|
420
|
+
<xs:complexType name="UomIdentifier_PropertyType">
|
|
421
|
+
<xs:sequence minOccurs="0">
|
|
422
|
+
<xs:element ref="gco:UomIdentifier"/>
|
|
423
|
+
</xs:sequence>
|
|
424
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
425
|
+
</xs:complexType>
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
<!--================= Element =================-->
|
|
429
|
+
<xs:element name="Measure" type="gco:MeasureType"/>
|
|
430
|
+
<!-- ============ Property =================== -->
|
|
431
|
+
<!-- ........................................................................ -->
|
|
432
|
+
<xs:complexType name="Measure_PropertyType">
|
|
433
|
+
<!-- used in spatialRepresentation.xsd, msr:resolution -->
|
|
434
|
+
<xs:sequence minOccurs="0">
|
|
435
|
+
<xs:element ref="gco:Measure"/>
|
|
436
|
+
</xs:sequence>
|
|
437
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
438
|
+
</xs:complexType>
|
|
439
|
+
<!-- ============Substitutions for measure ==================== -->
|
|
440
|
+
<!-- ........................................................................ -->
|
|
441
|
+
<xs:element name="Length" type="gco:MeasureType" substitutionGroup="gco:Measure"/>
|
|
442
|
+
<!-- ........................................................................ -->
|
|
443
|
+
<xs:complexType name="Length_PropertyType">
|
|
444
|
+
<!-- not used in schema 19115-3;
|
|
445
|
+
Distance, in substitution group for length, is used (see below) -->
|
|
446
|
+
<xs:sequence minOccurs="0">
|
|
447
|
+
<xs:element ref="gco:Length"/>
|
|
448
|
+
</xs:sequence>
|
|
449
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
450
|
+
</xs:complexType>
|
|
451
|
+
<!-- Substitution for Measure.Length ================== -->
|
|
452
|
+
<!-- ........................................................................ -->
|
|
453
|
+
<xs:element name="Distance" type="gco:MeasureType" substitutionGroup="gco:Length"/>
|
|
454
|
+
<!-- ........................................................................ -->
|
|
455
|
+
<xs:complexType name="Distance_PropertyType">
|
|
456
|
+
<!-- used in identification.xsd mri:distance and mri:vertical properties
|
|
457
|
+
used in lineageImagery.xsd mrl:scanningResolution and mrl:groundResolution -->
|
|
458
|
+
<xs:sequence minOccurs="0">
|
|
459
|
+
<xs:element ref="gco:Distance"/>
|
|
460
|
+
</xs:sequence>
|
|
461
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
462
|
+
</xs:complexType>
|
|
463
|
+
<!-- ........................................................................ -->
|
|
464
|
+
<xs:element name="Angle" type="gco:MeasureType" substitutionGroup="gco:Measure"/>
|
|
465
|
+
<!-- ........................................................................ -->
|
|
466
|
+
<xs:complexType name="Angle_PropertyType">
|
|
467
|
+
<!-- used in identification.xsd mri:angularDistance-->
|
|
468
|
+
<xs:sequence minOccurs="0">
|
|
469
|
+
<xs:element ref="gco:Angle"/>
|
|
470
|
+
</xs:sequence>
|
|
471
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
472
|
+
</xs:complexType>
|
|
473
|
+
<!-- ........................................................................ -->
|
|
474
|
+
|
|
475
|
+
<!-- =========================================================================== -->
|
|
476
|
+
<!-- ........................................................................ -->
|
|
477
|
+
<xs:element name="AbstractGenericName" type="gco:CodeType" abstract="true"/>
|
|
478
|
+
<!-- defines substitution group for elements that have a gco:codeSpace attribute -->
|
|
479
|
+
<!-- ........................................................................ -->
|
|
480
|
+
<xs:complexType name="CodeType">
|
|
481
|
+
<xs:annotation>
|
|
482
|
+
<xs:documentation>gml:CodeType is a generalized type to be used for a term, keyword or name. It adds a XML attribute codeSpace to a term, where the value of the codeSpace attribute (if present) shall indicate a dictionary, thesaurus, classification scheme, authority, or pattern for the term.</xs:documentation>
|
|
483
|
+
</xs:annotation>
|
|
484
|
+
<xs:simpleContent>
|
|
485
|
+
<xs:extension base="xs:string">
|
|
486
|
+
<xs:attribute name="codeSpace" type="xs:anyURI"/>
|
|
487
|
+
</xs:extension>
|
|
488
|
+
</xs:simpleContent>
|
|
489
|
+
</xs:complexType>
|
|
490
|
+
|
|
491
|
+
<xs:complexType name="GenericName_PropertyType">
|
|
492
|
+
<!-- used in catalogues.xsd cat:identifier
|
|
493
|
+
used in metadataTransfer.xsd mdt:featureTypes
|
|
494
|
+
used in content.xsd mrc:featureTypeName
|
|
495
|
+
used in serviceInformation.xsd srv:serviceType -->
|
|
496
|
+
<xs:sequence minOccurs="0">
|
|
497
|
+
<xs:element ref="gco:AbstractGenericName"/>
|
|
498
|
+
</xs:sequence>
|
|
499
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
500
|
+
</xs:complexType>
|
|
501
|
+
<!-- ........................................................................ -->
|
|
502
|
+
<xs:element name="ScopedName" type="gco:CodeType" substitutionGroup="gco:AbstractGenericName"/>
|
|
503
|
+
<!-- ........................................................................ -->
|
|
504
|
+
<xs:complexType name="ScopedName_PropertyType">
|
|
505
|
+
<!-- used in serviceInformation.xsd srv:scopedName property -->
|
|
506
|
+
<xs:sequence minOccurs="0">
|
|
507
|
+
<xs:element ref="gco:ScopedName"/>
|
|
508
|
+
</xs:sequence>
|
|
509
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
510
|
+
</xs:complexType>
|
|
511
|
+
<!-- =========================================================================== -->
|
|
512
|
+
|
|
513
|
+
<!-- =========================================================================== -->
|
|
514
|
+
<!-- ......move from gmw because it has no dependency on gml ................... -->
|
|
515
|
+
<xs:element name="TM_PeriodDuration" type="xs:duration"/>
|
|
516
|
+
<!-- ........................................................................ -->
|
|
517
|
+
<xs:complexType name="TM_PeriodDuration_PropertyType">
|
|
518
|
+
<!-- used in maintenance.xsd mmi:userDefinedMaintenanceFrequency
|
|
519
|
+
used in distribution.xsd mrd:transferFrequency
|
|
520
|
+
used in identification.xsd mri:temporalResolution. all of these properties
|
|
521
|
+
are optional. -->
|
|
522
|
+
<xs:sequence minOccurs="0">
|
|
523
|
+
<xs:element ref="gco:TM_PeriodDuration"/>
|
|
524
|
+
</xs:sequence>
|
|
525
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
526
|
+
</xs:complexType>
|
|
527
|
+
<!-- =========================================================================== -->
|
|
528
|
+
|
|
529
|
+
<!--==============End================-->
|
|
530
|
+
</xs:schema>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
3
|
+
xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0"
|
|
5
|
+
targetNamespace="http://standards.iso.org/iso/19115/-3/gco/1.0"
|
|
6
|
+
elementFormDefault="qualified">
|
|
7
|
+
<!-- ================================= Annotation ================================ -->
|
|
8
|
+
<xs:annotation>
|
|
9
|
+
<xs:documentation>This is the root document of the The Geographic COmmon (GCO) http://standards.iso.org/iso/19115/-3/gco/1.0 namespace, a component of the XML Schema Implementation of Geographic Information Metadata (ISO19115-1). Original implementation documented in ISO/TS 19139:2007 is refactored in this implementation for ISO19115-3 to remove dependency of base data types on GML (the only gml element used was the enumeration of nilReasons). GCO includes all the definitions of http://standards.iso.org/iso/19115/-3/gco/1.0 namespace. Elements that are extensions of GML elements are defined in the gmw namespace in ISO19115-3. </xs:documentation>
|
|
10
|
+
</xs:annotation>
|
|
11
|
+
<!-- ================================== Imports ================================== -->
|
|
12
|
+
<xs:include schemaLocation="baseTypes2014.xsd"/>
|
|
13
|
+
<!-- ########################################################################### -->
|
|
14
|
+
<!-- ########################################################################### -->
|
|
15
|
+
<!-- ================================== Classes ================================= -->
|
|
16
|
+
</xs:schema>
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
|
2
|
+
<xs:schema targetNamespace="http://standards.iso.org/iso/19115/-3/gcx/1.0" elementFormDefault="qualified" version="20140711"
|
|
3
|
+
xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
xmlns:gco="http://standards.iso.org/iso/19115/-3/gco/1.0" xmlns:gcx="http://standards.iso.org/iso/19115/-3/gcx/1.0">
|
|
5
|
+
<!-- ================================= Annotation ================================ -->
|
|
6
|
+
<xs:annotation>
|
|
7
|
+
<xs:documentation>This file was generated from ISO TC/211 UML class diagrams == 03-14-2005 12:00:20 ====== Handcrafted
|
|
8
|
+
20130614 SMR updates:
|
|
9
|
+
1. schema locations for gco and xlink.
|
|
10
|
+
2. change namespace prefix from gmx to gcx, to use for ISO19115-3.
|
|
11
|
+
3. change attribute group for gcx:anchor from xlink:simpleLink (old) to xlink:simpleAttrs (new).
|
|
12
|
+
|
|
13
|
+
20130327 - Ted changed targetNamespace and gcx namespace to http://www.isotc211.org/2005/gcx/1.0/2013-03-28
|
|
14
|
+
20130624 SMR update namespace version date
|
|
15
|
+
20140729 SMR update namespace for 07-11 build. The schema generated by ShapeChange from the UML does not work for gcx namespace.
|
|
16
|
+
</xs:documentation>
|
|
17
|
+
</xs:annotation>
|
|
18
|
+
<!-- ================================== Imports ================================== -->
|
|
19
|
+
<!-- Changed schema location to address gml vs. gml/3.2 problem Ted Habermann 2013-12-26 -->
|
|
20
|
+
<!--<import namespace="http://standards.iso.org/iso/19115/-3/gco/1.0" schemaLocation="../../../../19115/-3/gco/1.0/gco.xsd"/>-->
|
|
21
|
+
<xs:import namespace="http://standards.iso.org/iso/19115/-3/gco/1.0" schemaLocation="../../../../19115/-3/gco/1.0/gco.xsd"/>
|
|
22
|
+
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="../../../../../others/xlink/xlink.xsd"/>
|
|
23
|
+
<!-- ########################################################################### -->
|
|
24
|
+
<!-- ########################################################################### -->
|
|
25
|
+
<!-- ================================== Classes ================================= -->
|
|
26
|
+
<!-- ======================== Handcrafted types =================================== -->
|
|
27
|
+
<!-- ========================================================================== -->
|
|
28
|
+
<!-- ====================== The FileName prototype ================================ -->
|
|
29
|
+
<!--It is used to point to a source file and is substitutable for CharacterString-->
|
|
30
|
+
<!--================= Type ==================-->
|
|
31
|
+
<xs:complexType name="FileName_Type">
|
|
32
|
+
<xs:simpleContent>
|
|
33
|
+
<xs:extension base="xs:string">
|
|
34
|
+
<xs:attribute name="src" type="xs:anyURI"/>
|
|
35
|
+
</xs:extension>
|
|
36
|
+
</xs:simpleContent>
|
|
37
|
+
</xs:complexType>
|
|
38
|
+
<!-- ........................................................................ -->
|
|
39
|
+
<xs:element name="FileName" type="gcx:FileName_Type" substitutionGroup="gco:CharacterString"/>
|
|
40
|
+
<!-- ........................................................................ -->
|
|
41
|
+
<xs:complexType name="FileName_PropertyType">
|
|
42
|
+
<xs:sequence minOccurs="0">
|
|
43
|
+
<xs:element ref="gcx:FileName"/>
|
|
44
|
+
</xs:sequence>
|
|
45
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
46
|
+
</xs:complexType>
|
|
47
|
+
<!-- ========================================================================== -->
|
|
48
|
+
<!-- ====================== The MimeFileType prototype ============================= -->
|
|
49
|
+
<!--It is used to provide information on file types and is substitutable for CharacterString-->
|
|
50
|
+
<!--================= Type ==================-->
|
|
51
|
+
<xs:complexType name="MimeFileType_Type">
|
|
52
|
+
<xs:simpleContent>
|
|
53
|
+
<xs:extension base="xs:string">
|
|
54
|
+
<xs:attribute name="type" type="xs:string" use="required"/>
|
|
55
|
+
</xs:extension>
|
|
56
|
+
</xs:simpleContent>
|
|
57
|
+
</xs:complexType>
|
|
58
|
+
<!-- ........................................................................ -->
|
|
59
|
+
<xs:element name="MimeFileType" type="gcx:MimeFileType_Type" substitutionGroup="gco:CharacterString"/>
|
|
60
|
+
<!-- ........................................................................ -->
|
|
61
|
+
<xs:complexType name="MimeFileType_PropertyType">
|
|
62
|
+
<xs:sequence minOccurs="0">
|
|
63
|
+
<xs:element ref="gcx:MimeFileType"/>
|
|
64
|
+
</xs:sequence>
|
|
65
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
66
|
+
</xs:complexType>
|
|
67
|
+
<!-- ========================================================================== -->
|
|
68
|
+
<!-- ======================= The Anchor prototype ================================ -->
|
|
69
|
+
<!--It is used to point to a registred definition-->
|
|
70
|
+
<!--================= Type ==================-->
|
|
71
|
+
<xs:complexType name="Anchor_Type">
|
|
72
|
+
<xs:simpleContent>
|
|
73
|
+
<xs:extension base="xs:string">
|
|
74
|
+
<!-- update from xslink:simpleLink to xlink:simpleAttrs with
|
|
75
|
+
new xlink schema location SMR 20130326 -->
|
|
76
|
+
<!-- on 2013-06-24 build, simleAttrs doesn't work, but simpleLink does... WTF! -->
|
|
77
|
+
<!-- Changed back 2013-12-26 by Ted Habermann trying to get 19157-2 to validate -->
|
|
78
|
+
<xs:attributeGroup ref="xlink:simpleAttrs"/>
|
|
79
|
+
</xs:extension>
|
|
80
|
+
</xs:simpleContent>
|
|
81
|
+
</xs:complexType>
|
|
82
|
+
<!-- ........................................................................ -->
|
|
83
|
+
<xs:element name="Anchor" type="gcx:Anchor_Type" substitutionGroup="gco:CharacterString"/>
|
|
84
|
+
<!-- ........................................................................ -->
|
|
85
|
+
<xs:complexType name="Anchor_PropertyType">
|
|
86
|
+
<xs:sequence minOccurs="0">
|
|
87
|
+
<xs:element ref="gcx:Anchor"/>
|
|
88
|
+
</xs:sequence>
|
|
89
|
+
<xs:attribute ref="gco:nilReason"/>
|
|
90
|
+
</xs:complexType>
|
|
91
|
+
<!--======= End of Schema ======-->
|
|
92
|
+
</xs:schema>
|