Hi Grant:

Based on the other comments,  I tested a shapefile and the following GDAL command works

gdal_contour -b 1 -a ELEV -i 10.0 -f "ESRI Shapefile" "K:/Work2/McCallum Environmental/Wedgeport/Land Clearing/CHM Clearing.sdat" K:/Temp/contour_test.shp

The only difference is that in your example you have /vsimem/xxx.tif.  There are no double quotes so I do not know if you are using a path variable or similar.  I would try an actual path to the tif dem file.

Kirk Schmidt

On 3/13/2024 12:37 AM, Grant Boxer via QGIS-User wrote:

I am trying to contour a grid file using the QGIS raster > extract>contour and I get getting errors saying “Warning 1: Model file not specified” or “ERROR 4: No such file or directory”.

I am using 3.34 and 3.36 and get the same error.

Any thoughts?

Regards Grant Boxer, Perth WA


_______________________________________________
QGIS-User mailing list
[email protected]
List info:https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe:https://lists.osgeo.org/mailman/listinfo/qgis-user

--
Kirk Schmidt, MScF, BScF, RPF
General Manager
Nortek Resource Solutions Inc.
26 Church Road
Sutherlands River, NS
B0K 1W0
Tel (902) 922.3607
Email:[email protected]
Web:www.nortekresources.com
_______________________________________________
QGIS-User mailing list
[email protected]
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to