<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Lawrence<br>
</p>
<div class="moz-cite-prefix">On 2022/09/08 07:34, lawrence Sharpley
via qgis-za-user wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1831b9769d3.b16927831051562.8042207089160812333@cannaconsulting.co.za"><span
style="color:#000000;"> </span>gdal_contour -b 1 -a ELEV -i 10.0
-f "GPKG"
contextualWMSLegend=0&crs=EPSG:3857&dpiMode=7&featureCount=10&format=image/png8&layers=pyrbuild:contours_5m_sudem_wc&styles=pyrbuild:contours&tileMatrixSet=EPSG:3857&url=<a
target="_blank"
href="https://sungis08.stb.sun.ac.za/geoserver/gwc/service/wmts"
moz-do-not-send="true" class="moz-txt-link-freetext">https://sungis08.stb.sun.ac.za/geoserver/gwc/service/wmts</a>?
/tmp/contours.gpkg</blockquote>
<p>In order for you to run the gdal_contour algorithm you need to
have a DEM layer as Input. And from the parameters you have shared
you are accessing a WMS layer and you won't have access to the
individual values of the elevation layer. You need to check if the
service has WCS exposed and load the layer into QGIS and save it
out as a geotiff therefore acquiring the individual values of the
DEM layer.</p>
<p>As for the layer permission issue I suggest you create a folder
either in /tmp/ or in your home directory and make the folder
owned by you like chown -R ${user}:${user} /tmp/output and
executable chmod -R 777 /tmp/output.</p>
<p>Regards</p>
<p>Admire<br>
</p>
</body>
</html>