north-road / qgis-processing-saga-nextgen

GNU General Public License v3.0
23 stars 13 forks source link

With the processing_saga_nextgen plugin enabled, qgis_process sends many extra lines to standard output #43

Open florisvdh opened 9 months ago

florisvdh commented 9 months ago

This is likely to cause errors when standard output is processed further; it also happens with --json:

$ ~/git_repositories2/QGIS/build-8261e0d2/output/bin/qgis_process plugins  
Available plugins
(* indicates loaded plugins which implement Processing providers)

* QNEAT3
* valhalla
  processing_saga_nextgen
  networks
* pcraster_tools
  ViewshedAnalysis
* cartography_tools
* network_gt
* wbt_for_qgis
* latlontools
* grassprovider
* processing
$ 
$ ~/git_repositories2/QGIS/build-8261e0d2/output/bin/qgis_process plugins enable processing_saga_nextgen
Enabling plugin: "processing_saga_nextgen"
['PC_OUT', 'Result', None, 'True']
['PC', 'Point Cloud', None, 'True']
['PC_OUT', 'Colorised Point Cloud', None, 'False']
['THINNED_PC', 'Thinned Points', None, 'False']
['POINTS', 'Points', None, 'False']
['PC_OUT', 'Filtered Points', None, 'True']
['RESULT', 'Thinned Points', None, 'True']
['OUTPUT', 'Output', None, 'True']
['OUT', 'Output', None, 'False']
['POINTS', 'Points', None, 'True']
['TARGET_PC', 'Target', None, 'False']
['PC_OUT', 'Point Cloud Classified', None, 'True']
['POINTS', 'Points', None, 'False']
['POINTS', 'Points', None, 'False']
['PC_OUT', 'Point Cloud', None, 'True']
['PC_OUT', 'Result', None, 'True']
['TARGET_PC', 'Target', None, 'False']
['PC_OUT', 'Point Cloud', None, 'False']
['PC_OUT', 'Merged Point Cloud', None, 'False']
['POINTS', 'Points', None, 'False']
Enabled processing_saga_nextgen (Processing Saga NextGen Provider)

Available plugins
(* indicates enabled plugins which implement Processing providers)

* QNEAT3
* valhalla
* processing_saga_nextgen
  networks
* pcraster_tools
  ViewshedAnalysis
* cartography_tools
* network_gt
* wbt_for_qgis
* latlontools
* grassprovider
* processing
$ 
$ ~/git_repositories2/QGIS/build-8261e0d2/output/bin/qgis_process plugins
['PC_OUT', 'Result', None, 'True']
['PC', 'Point Cloud', None, 'True']
['PC_OUT', 'Colorised Point Cloud', None, 'False']
['THINNED_PC', 'Thinned Points', None, 'False']
['POINTS', 'Points', None, 'False']
['PC_OUT', 'Filtered Points', None, 'True']
['RESULT', 'Thinned Points', None, 'True']
['OUTPUT', 'Output', None, 'True']
['OUT', 'Output', None, 'False']
['POINTS', 'Points', None, 'True']
['TARGET_PC', 'Target', None, 'False']
['PC_OUT', 'Point Cloud Classified', None, 'True']
['POINTS', 'Points', None, 'False']
['POINTS', 'Points', None, 'False']
['PC_OUT', 'Point Cloud', None, 'True']
['PC_OUT', 'Result', None, 'True']
['TARGET_PC', 'Target', None, 'False']
['PC_OUT', 'Point Cloud', None, 'False']
['PC_OUT', 'Merged Point Cloud', None, 'False']
['POINTS', 'Points', None, 'False']
Available plugins
(* indicates loaded plugins which implement Processing providers)

* QNEAT3
* valhalla
* processing_saga_nextgen
  networks
* pcraster_tools
  ViewshedAnalysis
* cartography_tools
* network_gt
* wbt_for_qgis
* latlontools
* grassprovider
* processing

This uses version 1.0.0 of the processing_saga_nextgen plugin and following QGIS build:

$ ~/git_repositories2/QGIS/build-8261e0d2/output/bin/qgis_process --version           
QGIS 3.35.0-Master 'Master' (8261e0d2)
QGIS code revision 8261e0d2
Qt version 5.15.3
Python version 3.10.12
GDAL/OGR version 3.8.3
PROJ version 9.3.1
EPSG Registry database version v10.098 (2023-11-24)
GEOS version 3.12.1-CAPI-1.18.1
SQLite version 3.37.2
OS Linux Mint 21.3

And with SAGA at:

$ saga_cmd --version
SAGA Version: 9.3.0