[Qgis-user] Problem with contour algorithm

Kirk Schmidt kirk at nortekresources.com
Wed Mar 13 10:03:39 PDT 2024


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
> QGIS-User at lists.osgeo.org
> 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:kirk at nortekresources.com
Web:www.nortekresources.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240313/192f087a/attachment.htm>


More information about the QGIS-User mailing list