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

Problem with the axis #11

Open
nachouve opened this issue Nov 30, 2023 · 1 comment
Open

Problem with the axis #11

nachouve opened this issue Nov 30, 2023 · 1 comment

Comments

@nachouve
Copy link

I am trying to obtain a tiff from server:

https://wcs-mds.idee.es/mds?version=2.0.1&request=GetCapabilities&service=WCS

using QGIS 3.30 with CRS:4328.

I got that messages:

2023-11-30T09:29:26 INFO Requested URL: https://wcs-mds.idee.es/mds?REQUEST=DescribeCoverage&SERVICE=WCS&VERSION=2.0.1&COVERAGEID=mds05

2023-11-30T09:29:26 INFO Requested URL: https://wcs-mds.idee.es/mds?REQUEST=GetCoverage&SERVICE=WCS&VERSION=2.0.1&COVERAGEID=mdsn_v025&OUTPUTCRS=http%3A%2F%2Fwww.opengis.net%2Fdef%2Fcrs%2FEPSG%2F0%2F4258&SUBSETTINGCRS=EPSG%3A4258&FORMAT=image%2Ftiff&SUBSET=y%28-8.7972306%2C-8.7912375%29&SUBSET=x%2842.5143799%2C42.5181954%29

2023-11-30T09:29:26 WARNING HTTP Error 400: Bad Request
2023-11-30T09:29:26 WARNING

          msWCSGetCoverage20(): WCS server error. Image extent does not intersect with desired region.

Taking a look to the URL of the request I've noticed that the SUBSET axis are incorrect for this case. Correct one is:

https://wcs-mds.idee.es/mds?REQUEST=GetCoverage&SERVICE=WCS&VERSION=2.0.1&COVERAGEID=mdsn_v025&OUTPUTCRS=http%3A%2F%2Fwww.opengis.net%2Fdef%2Fcrs%2FEPSG%2F0%2F4258&SUBSETTINGCRS=EPSG%3A4258&FORMAT=image%2Ftiff&SUBSET=x%28-8.7972306%2C-8.7912375%29&SUBSET=y%2842.5143799%2C42.5181954%29

REQUEST: GetCoverage
SERVICE: WCS
VERSION: 2.0.1
COVERAGEID: mdsn_v025
OUTPUTCRS: http://www.opengis.net/def/crs/EPSG/0/4258
SUBSETTINGCRS: EPSG:4258
FORMAT: image/tiff
SUBSET: x(-8.7972306,-8.7912375)
SUBSET: y(42.5143799,42.5181954)

@kannes
Copy link

kannes commented Nov 30, 2023

This looks closely related to the issues I half-tackled in relation to #9
Sorry that I have not contributed them to the project yet.

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

2 participants