[Qgis-user] Problem with contour algorithm

Antonio Viscomi antoviscomi at gmail.com
Wed Mar 13 09:41:36 PDT 2024


I just try with mine DTM with QGIS 3.36 on Ubuntu 22.04 none warnings or
errors came out
there is something wrong in your data  or paths. (i.e. what type of file
which extension is .xtf in first screenshot?)
in mine all works fine
[image: Schermata del 2024-03-13 17-36-00.png]

Saluti

Antonio


Il giorno mer 13 mar 2024 alle ore 16:56 Adam Nielsen via QGIS-User <
qgis-user at lists.osgeo.org> ha scritto:

> > 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.
>
> I did this yesterday and it worked fine for me, but my command has:
>
>   -f "SQLite" /tmp/xxx/OUTPUT.sqlite
>
> Instead of the -f parameter in your screenshots.  I'm not sure how to
> change this - can you see any options that let you select this output
> format?
>
> I am just wondering whether the two formats you've selected need
> additional parameters.  The SQLite format appears not to need anything
> else.
>
> Cheers,
> Adam.
>
> ----
>
> QGIS version: 3.36.0-Maidenhead
> Qt version: 5.15.12
> Python version: 3.11.8
> GDAL version: 3.8.4
> GEOS version: 3.12.0-CAPI-1.18.0
> PROJ version: Rel. 9.4.0, March 1st, 2024
> PDAL version: 2.6.3 (git-version: Release)
> Algorithm started at: 2024-03-14T01:51:00
> Algorithm 'Contour' starting…
> Input parameters:
> { 'BAND' : 1, 'CREATE_3D' : False, 'EXTRA' : '', 'FIELD_NAME' : 'ELEV',
> 'IGNORE_NODATA' : False, 'INPUT' : 'GPKG:/data/input.gpkg:dem_1m',
> 'INTERVAL' : 10, 'NODATA' : None, 'OFFSET' : 0, 'OUTPUT' :
> 'TEMPORARY_OUTPUT' }
>
> GDAL command:
> gdal_contour -b 1 -a ELEV -i 10.0 -f "SQLite" GPKG:/data/input.gpkg:dem_1m
> /tmp/processing_tKnWEA/c3d239d7319c4c728a2cadb22ec047d5/OUTPUT.sqlite
> GDAL command output:
> 0...10...20...30...40...50...60...70...80...90...100 - done.
> Process completed successfully
> Execution completed in 1.13 seconds
> Results:
>   OUTPUT:
> /tmp/processing_tKnWEA/c3d239d7319c4c728a2cadb22ec047d5/OUTPUT.sqlite
>
> Loading resulting layers
> Algorithm 'Contour' finished
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240313/807718c2/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Schermata del 2024-03-13 17-36-00.png
Type: image/png
Size: 215600 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20240313/807718c2/attachment-0001.png>


More information about the QGIS-User mailing list