<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Andrew,</p>
<p>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.</p>
<p><img src="cid:4c3a7f5d9b24a9f876747a3059cc740f@carto.net" /></p>
<p>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.</p>
<p>Greetings and hope this helps,</p>
<p>Andreas</p>
<p id="reply-intro">On 2021-07-15 09:46, Alexandre Neto wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0">
<div id="replybody1">
<div>
<div dir="auto">Hi Andrew,
<div dir="auto"> </div>
<div dir="auto">You need to use the "multiple input" input type.</div>
<div dir="auto"> </div>
<div dir="auto">Best regards</div>
<div dir="auto"> </div>
<div dir="auto">Alexandre Neto</div>
<div dir="auto">User support</div>
<div dir="auto"><a href="http://www.qcooperative.net" target="_blank" rel="noopener noreferrer">www.qcooperative.net</a></div>
<div dir="auto"> </div>
</div>
<br />
<div class="v1gmail_quote">
<div class="v1gmail_attr" dir="ltr">A quinta, 15/07/2021, 08:33, Andrew Hughes <<a href="mailto:ahhughes@gmail.com" rel="noreferrer">ahhughes@gmail.com</a>> escreveu:</div>
<blockquote class="v1gmail_quote" style="margin: 0 0 0 .8ex; border-left: 1px #ccc solid; padding-left: 1ex;">
<div dir="ltr">Hi All,
<div> </div>
<div>Could any provide some advice as I am new to this and need some guidance please.</div>
<div> </div>
<div>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.</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>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?</div>
<div> </div>
<div>Thanks in advance</div>
<div>Andrew</div>
<div> </div>
</div>
_______________________________________________<br />Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer">Qgis-user@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></blockquote>
</div>
</div>
</div>
<br />
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">_______________________________________________<br />Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>