[Qgis-user] Multiplicity in Model Input (Layers)

Andrew Hughes ahhughes at gmail.com
Thu Jul 15 01:15:15 PDT 2021


Thank you - worked perfectly!

I would still like to know how I can programmatically create "something"
that feeds the N (merged) layers into the model without having to create
them in the project.

Thanks again.

On Thu, 15 Jul 2021 at 17:47, Alexandre Neto <senhor.neto at gmail.com> wrote:

> Hi Andrew,
>
> You need to use the "multiple input" input type.
>
> Best regards
>
> Alexandre Neto
> User support
> www.qcooperative.net
>
>
> A quinta, 15/07/2021, 08:33, Andrew Hughes <ahhughes at gmail.com> escreveu:
>
>> Hi All,
>>
>> Could any provide some advice as I am new to this and need some guidance
>> please.
>>
>> My model needs to consume data from MULTIPLE Esri rest layers. I can do
>> this for on a 1:1 basis where I manually add 1 input vector layer per esri
>> rest layer. But that's not great. This model is not easily reusable, as the
>> number of layers always varies.
>>
>> Q1: The merge processor takes in a multi-layers on a single input - but I
>> can't see how this is done in a model. Can anyone please explain?
>>
>> Q2: Is is possible for me to write a python processor that doesn't
>> require any project layers as input, it can create the layers itself (in
>> code/config) and feed them into the merge processor and output the single
>> merged layer?
>>
>> Thanks in advance
>> Andrew
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20210715/739a3192/attachment.html>


More information about the Qgis-user mailing list