[Qgis-user] QGIS 3 Processing question
Nyall Dawson
nyall.dawson at gmail.com
Thu Jun 28 16:04:15 PDT 2018
On Fri, 29 Jun 2018 at 07:14, Frank Broniewski
<hallo at frankbroniewski.com> wrote:
>
> def processAlgorithm(self, parameters, context, feedback):
You're making this tricky for yourself! Cut out everything in
processAlgorithm related to self.INPUT, and just pass the parameter
value direct to the child algorithm to handle:
> params = {
>
> 'INPUT': parameters[self.INPUT],
>
> 'DISTANCE': pt_value,
>
> 'START_OFFSET': 0,
>
> 'END_OFFSET': 0,
>
> 'OUTPUT': 'memory:'
>
> }
Nyall
More information about the Qgis-user
mailing list