I have a DEM layer from WCS.
How can I download the data to process it to get slope, aspects, etc in QGIS?
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.Sign up to join this community
A GetCoverage request will fetch the data, you can hand craft and run in a browser then process in QGIS if you don't want to use QGIS directly to get the data.
For example you could do a subset request for ASCII grid like:
The service does work in QGIS though, just use the endpoint
QGIS will make WCS 1.0.0 GetCoverage requests like:
I tried the
Elevacion4258_25 coverage, and it does eventually return though it's large and slow. I assume from its name that it is in epsg:4258, and probably you should avoid trying to reproject it and display it at the same time, if fetching through QGIS (i.e. set the project to the same CRS as the coverages you are requesting).
I assume that this is the same question as Using WCS DEM data for make slope and aspect maps in QGIS, which provided the following URL:
In which case, it SHOULD be as simple as adding the URL as a WCS layer in the QGIS Browser. However I just tested it out using the above URL, and it didn't work. (It worked in my browser, so I have access). Error message is "Could not understand the response: WCS server version 2.0.1 is not supported by QGIS (supported versions: 1.0.0, 1.1.0, 1.1.2)
Also QGIS documentation here, says it only supports v1.0 and v1.1:
Amended Answer* I may have found a few bugs in QGIS here. It appears that the WCS Connection manager will 'cache' the URL its attempting to use. So even though I amended the URL of the connection, it didn't work. But it DID work, when I added a brand new connection with the same URL. Apologies for the above confusion. So its possible if you are having connection issues, get rid of any existing WCS connections and start a new one with just the "https://servicios.idee.es/wcs-inspire/mdt" URL as suggested by other user.