Bug report #21294

Profiles from Lines, SAGA tool, produces invalid files.

Added by Gabriel De Luca over 1 year ago. Updated over 1 year ago.

Status:Open
Priority:Normal
Assignee:Giovanni Manghi
Category:Processing/SAGA
Affected QGIS version:3.4.4 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:29112

Description

The Profiles from Lines SAGA tool produces invalid files.

In SAGA GIS, at the command line (ta_profile 4):

  • If you want to save Each Line as a New Profile, you need to use the `-SPLIT` and the `-PROFILES` options. Files will be saved as profile_01.shp, profile_02.shp, etc.
  • If not, don't use `-SPLIT` option and use `-PROFILE` option instead. File will be saved as profile.shp.

In QGIS, processing toolbox:

  • Both `-PROFILE` and `-PROFILES` options are always used, so one of them always returns an error (an empty layer that can not be loaded).
  • If you tick on Each Line as a New Profile (is ticked by default), `-SPLIT` option is used, and the files are saved as PROFILE.shp1, PROFILE.shp2, etc. That produced two errors (one for the `-PROFILE` empty layer and other for the invalid extensions).

History

#1 Updated by Giovanni Manghi over 1 year ago

  • Assignee set to Giovanni Manghi

Also available in: Atom PDF