Geographic Information Systems Asked by rithio on October 17, 2020
I am trying to run QGIS processing tools in the OSGEO4W shell using the qgis_process functionality. I believe this functionality is fairly new as I have been having a hard time finding documentation for the syntax.
I am trying to run a raster calculator command using two tiffs as input, everything about the command runs fine except for the LAYERS parameter always returns an error as I am not sure how to list two layers in the parameter.
the command is:
qgis_process run qgis:rastercalculator --CELLSIZE=0 --CRS="ESPG:32610" --EXPRESSION=""octclip@1" + "marclip@1"" --EXTENT="D:/UPCD/clip1/octclip.tif" --LAYERS=D:/UPCD/clip1/octclip.tif D:/UPCD/clip1/marclip.tif --OUTPUT="D:/UPCD/clip1/try1.tif"
I have tried many things such as
--LAYERS=D:/UPCD/clip1/octclip.tif D:/UPCD/clip1/marclip.tif
--LAYERS="D:/UPCD/clip1/octclip.tif" "D:/UPCD/clip1/marclip.tif"
--LAYERS="D:/UPCD/clip1/octclip.tif","D:/UPCD/clip1/marclip.tif"
--LAYERS="D:/UPCD/clip1/octclip.tif":"D:/UPCD/clip1/marclip.tif"
to no avail
The documentation says it will allow paths both in quotes as well as without but I can not find anything regarding passing two paths to the parameter argument.
First time question poster, let me know if there is any information I am missing.
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP