Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Subsettingcrs is not taken from the GetCapabilities #8

Open
jratike80 opened this issue Oct 20, 2021 · 2 comments
Open

Subsettingcrs is not taken from the GetCapabilities #8

jratike80 opened this issue Oct 20, 2021 · 2 comments

Comments

@jratike80
Copy link

According to the crs extension of the WCS 2.0.1 standard the value of the subsettingcrs must be one of the values from the list that is advertised in the GetCapapilities.

The subsettingCrs parameter in a GetCoverage request, if present, shall have as its value a CRS Identifier described in the crsSupported list delivered in the CrsMetadata element of the Capabilities document of the server addressed.

The supported CRSs on our WCS server https://beta-karttakuva.maanmittauslaitos.fi/wcs/service/ows?service=WCS&AcceptVersions=2.0.1&request=GetCapabilities are expressed in this format

<wcscrs:crsSupported>http://www.opengis.net/def/crs/EPSG/0/3067</wcscrs:crsSupported>

However, the Simple WCS2 plugin generates GetCoverage request with this subsettingcrs:
&SUBSETTINGCRS=EPSG:3067

The outputcrs in the request is correct:
&OUTPUTCRS=http://www.opengis.net/def/crs/EPSG/0/3067

@jampukka
Copy link

The link in the original issue doesn't seem to work. Removing AcceptVersions=2.0.1 seems to do the trick.

@kannes
Copy link

kannes commented May 31, 2023

Adding an example error response from a 2.1.0 WCS for googlebility:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ows:ExceptionReport version="2.0.1"
    xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd"
    xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
    <ows:Exception exceptionCode="SubsettingCrs-NotSupported" >
        <ows:ExceptionText>Failed get CRS defintion from subsettingCRS 'EPSG:4326'. Reason: CRS 'EPSG:4326' definition seems not valid.</ows:ExceptionText>
    </ows:Exception>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants