Geographic Information Systems Asked on December 17, 2021
I have a DEM layer from WCS.
How can I download the data to process it to get slope, aspects, etc in QGIS?
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:
http://servicios.idee.es/wcs-inspire/mdt?version=2.0.1&request=GetCoverage&service=WCS&CoverageID=Elevacion4258_500&outputformat=application/asc&subset=lat(27.63,30&subset=long(33,44.21)&
The service does work in QGIS though, just use the endpoint https://servicios.idee.es/wcs-inspire/mdt?
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).
Answered by nmtoken on December 17, 2021
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:
https://servicios.idee.es/wcs-inspire/mdt?version=2.0.1&request=GetCapabilities&service=WCS
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.
Answered by nr_aus on December 17, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP