qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.43k stars 2.99k forks source link

Contour from Elevation raster to temporary file ERRORS #54375

Closed ReghardNell closed 1 year ago

ReghardNell commented 1 year ago

What is the bug or the crash?

When I run the contour processing tool on raster and output to a temporary file it exits with errors.

The same raster does produce contours when I specify an output vector file like geopackage.

This breaks some of my processing models.

I tried to do this with the new profile and then I found the default file format used for temporary output is geopackage not interlis *.xtf files but geopackage. Is the default temporary file format something I can fix in QGIS settings?

Please help.

Steps to reproduce the issue

image

  1. Go to Raster Menu, Extract, Contour.
  2. Specify raster to contour.
  3. Run the tool with default options to Temporary output.

image

  1. No output and error: image

If I specify the output format say to geopackage the tool runs without errors and produces the expected output:

image

image

I suspect the Interlis 2 output is the issue. I cannot find a way to change the default output file format for temporary outputs to geopackage.

When running the same workflow on a clean QGIS profile I get:

image

image

Why would my profile use xtf for temporary files and not gpkg?

Help, please.....

Versions

QGIS version 3.32.2-Lima QGIS code revision c0b8833964 Qt version 5.15.3 Python version 3.9.5 GDAL/OGR version 3.7.1 PROJ version 9.2.1 EPSG Registry database version v10.088 (2023-05-13) GEOS version 3.12.0-CAPI-1.18.0 SQLite version 3.41.1 PDAL version 2.5.5 PostgreSQL client version 15.2 SpatiaLite version 5.1.0 QWT version 6.1.6 QScintilla2 version 2.13.1 OS version Windows 10 Version 2009

Active Python plugins AnotherDXF2Shape 1.2.9 CustomSVG 0.1 DataPlotly 4.0.3 deactivate_active_labels 0.5 DigitizingTools 1.5.2 forestroaddesigner 3.00.91 geometry_paster 0.2 GlobeBuilder v0.6.0 ISI_North 1.0 ISI_South 1.0 profiletool 4.2.6 ProjectPackager 0.7.2 qgis-subset-expression-plugin 1.0 QGIS3-getWKT 1.5 qgis_hub_plugin 0.1.1 quick_map_services 0.19.33 SaveAllScript 1.0 Serval 3.10.5 soar 1.0.0 valuetool 3.0.17 volume_calculation_tool 0.4 db_manager 0.1.20 grassprovider 2.12.99 processing 2.12.99

Supported QGIS version

New profile

Additional context

No response

ReghardNell commented 1 year ago

Hi

Nevermind...

I found the setting in:

image

After changing from .xtf to .gpkg all is right with my processing world.....

BrynTownend commented 3 months ago

I've spent 2 days trying to sort this regarding a similar error in "Model Designer". This solved everything. Thank you.