[QGIS-Developer] [Processing][Question] Using Data defined proprieties
Nyall Dawson
nyall.dawson at gmail.com
Wed Mar 18 15:58:34 PDT 2020
On Wed, 18 Mar 2020 at 02:21, João Gaspar <joao.f.r.gaspar at gmail.com> wrote:
>
> Hi Devs,
> I have a question about using data defined proprieties in algorithms. For instance,
> if I want to do a Buffer using a field with a distance column I can use the data defined proprieties and choose the field with distance.
>
> But when I want to use more than 1 layer and switch to batch processing where I want to define the field with distance of each layer I can't use this option.
>
> I try to use the name of the field in the option Add Values by Expression and Calculate by Expression but the batch processing always assumes a default value (10).
>
> In the case of SAGA and buffer algorithm, when you switch for batch processing is possible to choose the field of distance per layer.
>
> What am I'm doing wrong? Or This is expected behaviour?
It's actually just an oversight. I just tested and (with a tiny code
change) it works fine. I'll open a PR.
Nyall
More information about the QGIS-Developer
mailing list