-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #169 from tastle/official-wcs-crs-extension
Updated the WCS CRS 1.0 extension to be the latest that arrived on th…
- Loading branch information
Showing
7 changed files
with
194 additions
and
84 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
schemas/src/main/resources-original/ogc/wcs/crs/1.0/examples/requestGetCoverageOutputCRS.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<wcs:GetCoverage | ||
xmlns:wcs="http://www.opengis.net/wcs/2.0" | ||
xmlns:wcscrs="http://www.opengis.net/wcs/crs/1.0" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd | ||
http://www.opengis.net/wcs/crs/1.0 http://schemas.opengis.net/wcs/crs/1.0/wcsCrs.xsd" | ||
service="WCS" | ||
version="2.0.1"> | ||
<wcs:Extension> | ||
<wcscrs:outputCrs>http://www.opengis.net/def/crs/EPSG/0/4326</wcscrs:outputCrs> | ||
</wcs:Extension> | ||
<wcs:CoverageId>C0001</wcs:CoverageId> | ||
<wcs:format>application/gml+xml</wcs:format> | ||
</wcs:GetCoverage> |
17 changes: 17 additions & 0 deletions
17
.../src/main/resources-original/ogc/wcs/crs/1.0/examples/requestGetCoverageSubsettingCRS.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<wcs:GetCoverage | ||
xmlns:wcs="http://www.opengis.net/wcs/2.0" | ||
xmlns:wcscrs="http://www.opengis.net/wcs/crs/1.0" | ||
xmlns:gml="http://www.opengis.net/gml/3.2" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd | ||
http://www.opengis.net/wcs/crs/1.0 http://schemas.opengis.net/wcs/crs/1.0/wcsCrs.xsd" | ||
service="WCS" | ||
version="2.0.1"> | ||
<wcs:Extension> | ||
<wcscrs:subsettingCrs>http://www.opengis.net/def/crs/EPSG/0/4326</wcscrs:subsettingCrs> | ||
<wcscrs:outputCrs>http://www.opengis.net/def/crs/EPSG/0/4326</wcscrs:outputCrs> | ||
</wcs:Extension> | ||
<wcs:CoverageId>C0001</wcs:CoverageId> | ||
<wcs:format>application/gml+xml</wcs:format> | ||
</wcs:GetCoverage> |
86 changes: 86 additions & 0 deletions
86
schemas/src/main/resources-original/ogc/wcs/crs/1.0/examples/responseGetCapabilities.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<wcs:Capabilities xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' | ||
xmlns:xlink='http://www.w3.org/1999/xlink' | ||
xmlns='http://www.opengis.net/ows/2.0' | ||
xmlns:ows='http://www.opengis.net/ows/2.0' | ||
xmlns:wcs='http://www.opengis.net/wcs/2.0' | ||
xmlns:wcscrs="http://www.opengis.net/wcs/crs/1.0" | ||
xmlns:gml='http://www.opengis.net/gml/3.2' | ||
xsi:schemaLocation="http://www.opengis.net/wcs/2.0 http://schemas.opengis.net/wcs/2.0/wcsAll.xsd | ||
http://www.opengis.net/wcs/crs/1.0 http://schemas.opengis.net/wcs/crs/1.0/wcsCrs.xsd" | ||
version="2.0.1"> | ||
<ows:ServiceIdentification> | ||
<ows:Title>rasdaman</ows:Title> | ||
<ows:Abstract>rasdaman server - free download from www.rasdaman.org</ows:Abstract> | ||
<ows:ServiceType>OGC WCS</ows:ServiceType> | ||
<ows:ServiceTypeVersion>2.0.1</ows:ServiceTypeVersion> | ||
<ows:Profile>http://www.opengis.net/spec/WCS_protocol-binding_soap/1.0/conf/soap</ows:Profile> | ||
<ows:Profile>http://www.opengis.net/spec/WCS_coverage-encoding_netcdf/1.0/conf/netcdf</ows:Profile> | ||
<ows:Profile>http://www.opengis.net/spec/WCS_service-model_processing/1.0/conf/processing</ows:Profile> | ||
<ows:Profile>http://www.opengis.net/spec/WCS_service-model_transaction/1.0/conf/transaction</ows:Profile> | ||
</ows:ServiceIdentification> | ||
<ows:ServiceProvider> | ||
<ows:ProviderName>Jacobs University Bremen</ows:ProviderName> | ||
<ows:ProviderSite xlink:href="http://www.jacobs-university.de/"/> | ||
<ows:ServiceContact> | ||
<ows:IndividualName>Andrei Aiordachioaie</ows:IndividualName> | ||
<ows:PositionName>Developer</ows:PositionName> | ||
<ows:ContactInfo> | ||
<ows:Phone> | ||
<ows:Voice></ows:Voice> | ||
</ows:Phone> | ||
</ows:ContactInfo> | ||
</ows:ServiceContact> | ||
</ows:ServiceProvider> | ||
<ows:OperationsMetadata> | ||
<ows:Operation name="GetCapabilities"> | ||
<ows:DCP> | ||
<ows:HTTP> | ||
<ows:Get xlink:href="http://server:8000/GetCapabilitiesURL"/> | ||
</ows:HTTP> | ||
</ows:DCP> | ||
</ows:Operation> | ||
<ows:Operation name="DescribeCoverage"> | ||
<ows:DCP> | ||
<ows:HTTP> | ||
<ows:Get xlink:href="http://server:8000/DescribeCoverageURL"/> | ||
</ows:HTTP> | ||
</ows:DCP> | ||
</ows:Operation> | ||
<ows:Operation name="GetCoverage"> | ||
<ows:DCP> | ||
<ows:HTTP> | ||
<ows:Get xlink:href="http://server:8000/GetCoverageURL"/> | ||
</ows:HTTP> | ||
</ows:DCP> | ||
</ows:Operation> | ||
</ows:OperationsMetadata> | ||
<wcs:ServiceMetadata> | ||
<wcs:formatSupported>application/gml+xml</wcs:formatSupported> | ||
<wcs:Extension> | ||
<wcscrs:crsSupported>http://www.opengis.net/def/crs/EPSG/0/4326</wcscrs:crsSupported> | ||
</wcs:Extension> | ||
</wcs:ServiceMetadata> | ||
<wcs:Contents> | ||
<wcs:CoverageSummary> | ||
<wcs:CoverageId>C0001</wcs:CoverageId> | ||
<wcs:CoverageSubtype>GridCoverage</wcs:CoverageSubtype> | ||
</wcs:CoverageSummary> | ||
<wcs:CoverageSummary> | ||
<wcs:CoverageId>C0002</wcs:CoverageId> | ||
<wcs:CoverageSubtype>MultiPointCoverage</wcs:CoverageSubtype> | ||
</wcs:CoverageSummary> | ||
<wcs:CoverageSummary> | ||
<wcs:CoverageId>C0003</wcs:CoverageId> | ||
<wcs:CoverageSubtype>MultiCurveCoverage</wcs:CoverageSubtype> | ||
</wcs:CoverageSummary> | ||
<wcs:CoverageSummary> | ||
<wcs:CoverageId>C0004</wcs:CoverageId> | ||
<wcs:CoverageSubtype>MultiSurfaceCoverage</wcs:CoverageSubtype> | ||
</wcs:CoverageSummary> | ||
<wcs:CoverageSummary> | ||
<wcs:CoverageId>C0005</wcs:CoverageId> | ||
<wcs:CoverageSubtype>MultiSolidCoverage</wcs:CoverageSubtype> | ||
</wcs:CoverageSummary> | ||
</wcs:Contents> | ||
</wcs:Capabilities> |
39 changes: 39 additions & 0 deletions
39
schemas/src/main/resources-original/ogc/wcs/crs/1.0/wcsCrs.sch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This Schematron Document is part of the WCS 2.0 CRS Extension 1.0 [OGC 11-053] | ||
which enables expressing Coordinate Reference Sytems (CRSs) in WCS client/server communication. | ||
Last updated: 2015-12-17 | ||
Version: 1.0.0 | ||
Copyright (c) 2012, 2015 Open Geospatial Consortium. | ||
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. | ||
--> | ||
<sch:schema xmlns:sch="http://purl.oclc.org/dsdl/schematron" queryBinding="xslt2"> | ||
<sch:title>WCS CRS Extension Schematron Rules</sch:title> | ||
<sch:ns uri="http://www.opengis.net/wcs/2.0" prefix="wcs"/> | ||
<sch:ns uri="http://www.w3.org/1999/xlink" prefix="xlink"/> | ||
<sch:pattern> | ||
<sch:title>Requirement 1: /req/crs/extension-identifier</sch:title> | ||
<sch:rule context="//wcs:Capabilities"> | ||
<sch:let name="profiles" value="string-join(//*[local-name()='ServiceIdentification']/*[local-name()='Profile'],' ')"/> | ||
<sch:assert test="contains(profiles,'http://www.opengis.net/spec/wcs/crs/1.0/conf/crs')"> | ||
To indicate that the WCS CRS extension is implemented by this server, there shall be a profile element containing the extension identifier. | ||
</sch:assert> | ||
</sch:rule> | ||
</sch:pattern> | ||
<sch:pattern> | ||
<sch:title>Requirement 3: /req/crs/wcsServiceMetadata-crs</sch:title> | ||
<sch:rule context="//wcs:Capabilities"> | ||
<sch:assert test="count(//*[local-name()='CrsMetadata'])=1"> | ||
The Capabilities document shall contain a CrsMetadata element. | ||
</sch:assert> | ||
</sch:rule> | ||
</sch:pattern> | ||
<sch:pattern> | ||
<sch:title>Requirement 6: /req/crs/getCoverage-crs</sch:title> | ||
<sch:rule context="//wcs:GetCoverage"> | ||
<sch:assert test="count(//*[local-name()='GetCoverageCrs'])=1"> | ||
Cardinality of the GetCoverageCrs element shall be 1. | ||
</sch:assert> | ||
</sch:rule> | ||
</sch:pattern> | ||
</sch:schema> |
75 changes: 33 additions & 42 deletions
75
schemas/src/main/resources-original/ogc/wcs/crs/1.0/wcsCrs.xsd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,33 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schema targetNamespace="http://www.opengis.net/wcs/crs/1.0" | ||
xmlns:wcscrs="http://www.opengis.net/wcs/crs/1.0" | ||
xmlns="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="qualified" version="1.0.0" xml:lang="en"> | ||
<annotation> | ||
<appinfo>wcsCrs.xsd</appinfo> | ||
<documentation>This XML Schema Document is part of the WCS CRS Extension [OGC 11-053]. It encodes the elements and types that allow expressing Coordinate Reference Sytems (CRSs) in WCS client/server communication. | ||
Last updated: 2013-aug-30 | ||
Copyright (c) 2013 Open Geospatial Consortium, Inc. All Rights Reserved. | ||
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. | ||
</documentation> | ||
</annotation> | ||
|
||
<!-- ============================================================== --> | ||
<!-- includes and imports --> | ||
<!-- ============================================================== --> | ||
<import namespace="http://www.opengis.net/wcs/2.0" schemaLocation="http://schemas.opengis.net/wcs/2.0/wcsAll.xsd"/> | ||
<!-- ============================================================== --> | ||
<!-- elements and types --> | ||
<!-- ============================================================== --> | ||
<element name="CrsMetadata" type="wcscrs:CrsMetadataType"/> | ||
<complexType name="CrsMetadataType"> | ||
<annotation> | ||
<documentation>CRS information reported in the Capabilities document of a WCS service supporting the CRS Extension. </documentation> | ||
</annotation> | ||
<sequence> | ||
<element name="crsSupported" type="anyURI" minOccurs="0" maxOccurs="unbounded"/> | ||
</sequence> | ||
</complexType> | ||
<!-- ============================================================== --> | ||
<element name="Crs" type="wcscrs:CrsType"/> | ||
<complexType name="CrsType"> | ||
<annotation> | ||
<documentation>CRSs for the request bounding box and for the result coverage. </documentation> | ||
</annotation> | ||
<sequence> | ||
<element name="subsettingCrs" type="anyURI" minOccurs="0"/> | ||
<element name="outputCrs" type="anyURI" minOccurs="0"/> | ||
</sequence> | ||
</complexType> | ||
</schema> | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<schema targetNamespace="http://www.opengis.net/wcs/crs/1.0" | ||
xmlns:crs="http://www.opengis.net/wcs/crs/1.0" | ||
xmlns="http://www.w3.org/2001/XMLSchema" | ||
elementFormDefault="qualified" xml:lang="en" version="1.0.0"> | ||
<annotation> | ||
<appinfo>wcsCrs.xsd</appinfo> | ||
<documentation>This XML Schema Document is part of the WCS 2.0 CRS Extension 1.0 [OGC 11-053]. | ||
It encodes the elements and types that allow expressing Coordinate Reference Sytems (CRSs) in WCS client/server communication. | ||
Last updated: 2015-12-17 | ||
Copyright (c) 2011, 2015 Open Geospatial Consortium. | ||
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/. | ||
</documentation> | ||
</annotation> | ||
<!-- ============================================================== --> | ||
<!-- includes and imports --> | ||
<!-- ============================================================== --> | ||
<import namespace="http://www.opengis.net/wcs/2.0" schemaLocation="http://schemas.opengis.net/wcs/2.0/wcsAll.xsd"/> | ||
<!-- ============================================================== --> | ||
<!-- elements and types --> | ||
<!-- ============================================================== --> | ||
<element name="supportedCrs" type="anyURI"> | ||
<annotation> | ||
<documentation>CRS information reported in the Capabilities document of a WCS service supporting the CRS Extension. </documentation> | ||
</annotation> | ||
</element> | ||
<!-- ============================================================== --> | ||
<annotation> | ||
<documentation>CRSs for the request bounding box and for the result coverage. </documentation> | ||
</annotation> | ||
<element name="subsettingCrs" type="anyURI"/> | ||
<element name="outputCrs" type="anyURI"/> | ||
</schema> |
This file was deleted.
Oops, something went wrong.