Thanks a lot!
Here I have the original code.
output=processing.run('qgis:clip',{'INPUT': input_layer, \
#output=general.run('qgis:clip',{'INPUT': input_layer, \
'OVERLAY': clip_layer, 'OUTPUT': "memory:"})
outputlayer=output['OUTPUT']
The problem was here. When I wrote these lines and ir woked
sy
Miguel
or you can use also "processing.runAndLoadResults(...)" to load the
result directly into QGIS
regards
Stefan
Am 07.07.2020 um 06:25 schrieb Christoph Jung:
> Hi Miguel,
>
> You call the run-method on an variable called „general“. But using the
> processing framework will be realised by c
Hi Miguel,
You call the run-method on an variable called „general“. But using the
processing framework will be realised by calling “processing.run(...)”. Maybe
this is the problem?
Sincerely,
Christoph
> Am 07.07.2020 um 00:18 schrieb Miguel Eduardo Rincon De Hoyos
> :
>
>
> Dears members
Hi Miguel,
Maybe you are not initializing properly the processing module, which
requires a specific initialization.
Take a look of a running example, like this one [1], which I use to
create a geopackage (and export some layouts).
[1]
https://github.com/jgrocha/covid-pt/blob/master/geopackages/2
Dears members
I am using Python for my postgraduate studies and I am having trouble
running my code when I try to use processing in Qgis using the command-line
interface.
I think the error is really easy to fix it but right now I do not know how
to fix it. When I run my code I have this
Tracebac