Bug report #21569

SAGA Error layerpath input with QGIS LTR 3.4.5 and QGIS 3.6

Added by Olivier ATHIMON over 5 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:Nyall Dawson
Category:Processing/SAGA
Affected QGIS version:3.4.5 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29385

Description

When i use the function "Grid Statistics for Points" (SAGA) with QGIS LTR 3.4.5 and QGIS 3.6.0 under Windows 7 and 10, i have an error... It seems to be an error in the layerpath...

C:\OSGEO4~1\bin>saga_cmd shapes_grid "Grid Statistics for Points" -GRIDS "C:/Users/lsangers/AppData/Local/Temp/processing_31cb7de1e47c4a9d8beb6dac86417d56/997e60f836784dea9be27865c1c6438a/africaarc19830101.sgrd" -POINTS "D:/18X027_DIN/SHP_extraction_pluies_ARC_NOAA/Pts_pluviometres_EPSG4035.shp|layername=Pts_pluviometres_EPSG4035" -KERNEL_TYPE 0 -KERNEL_SIZE 1 -NAMING 1 -COUNT false -MIN false -MAX false -RANGE false -SUM false -MEAN true -VAR false -STDDEV false -QUANTILE 50 -RESULT "D:/18F221_PAPI_Meurthe/test/aaa.shp"
Error: input file [D:/18X027_DIN/SHP_extraction_pluies_ARC_NOAA/Pts_pluviometres_EPSG4035.shp|layername=Pts_pluviometres_EPSG4035]
Error: Points

The layerpath should be changed by deleting |layername=... to get a layerpath like this : "D:/18X027_DIN/SHP_extraction_pluies_ARC_NOAA/Pts_pluviometres_EPSG4035.shp"

Associated revisions

Revision f9194104
Added by Nyall Dawson over 5 years ago

[processing] Fix layerName= suffix is incorrectly passed to SAGA algorithms

Fixes #21569

Revision 5f23b8f4
Added by Nyall Dawson over 5 years ago

[processing] Fix layerName= suffix is incorrectly passed to SAGA algorithms

Fixes #21569

Revision a38e9e66
Added by Nyall Dawson over 5 years ago

[processing] Fix layerName= suffix is incorrectly passed to SAGA algorithms

Fixes #21569

Revision 4e5888d2
Added by Nyall Dawson over 5 years ago

[processing] Fix layerName= suffix is incorrectly passed to SAGA algorithms

Fixes #21569

Revision 10a75261
Added by Nyall Dawson over 5 years ago

[processing] Fix layerName= suffix is incorrectly passed to SAGA algorithms

Fixes #21569

History

#1 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback
  • Easy fix? changed from Yes to No
  • Crashes QGIS or corrupts data changed from Yes to No
  • Priority changed from High to Normal

Can't confirm here (3.4.5, Windows). How did you added the shapefile (d&d? browser? data source manager?)?

Input vectors are now always translated to temp files by processing, so in the SAGA command you shpuld not see the path to the original shape (I don't here).

#2 Updated by Nyall Dawson over 5 years ago

  • Assignee set to Nyall Dawson
  • Status changed from Feedback to In Progress

#3 Updated by Nyall Dawson over 5 years ago

  • % Done changed from 0 to 100
  • Status changed from In Progress to Closed

Also available in: Atom PDF