Hi Andrew,
Yes, the "Multiple Input" input type should do the trick. After that
input parameter you'd normally have to merge all input files/layers into
one. The "Merge vector layers" transformer seems to be one of the very
few (or the only) algorithm that seems to accept multi-layer input.
Of course the "Merge vector layers" algorithm expects the layer to have
the same structure, otherwise you'll have some really funny and
unpredictable results.
Greetings and hope this helps,
Andreas
On 2021-07-15 09:46, Alexandre Neto wrote:
Hi Andrew,
You need to use the "multiple input" input type.
Best regards
Alexandre Neto
User support
www.qcooperative.net [1]
A quinta, 15/07/2021, 08:33, Andrew Hughes <ahhug...@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@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
Links:
------
[1] http://www.qcooperative.net
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user