<div dir="ltr">Unfortunately, there is not configuration for the output names, it just uses the input name you enter for the output and add numbers as a suffix.<div><br></div><div>Being able to use an attribute value instead of numbers sounds to me like a nice improvement, so if you can open a feature request, i will work on it when i have some time.</div><div><br></div><div>Let me know if you have more ideas</div><div><br></div><div>Cheers</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-24 21:22 GMT+02:00 Tim Sutton <span dir="ltr"><<a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi<div><br><div><blockquote type="cite"><div>On 24 Jul 2015, at 20:06, Paolo Cavallini <<a href="mailto:cavallini@faunalia.it" target="_blank">cavallini@faunalia.it</a>> wrote:</div><br></blockquote><div><br></div><div>Ah thanks, got it now. Any idea how I can write the output layers out with e.g.</div><div><br></div><div><feature_name>_roads.shp</div><div><feature_name>_buildings.shp</div><div><br></div><div>(I’m basically trying to iteratively loop through wards, clipping out all the roads and buildings for each ward to a file named on the ward name).</div><div><br></div><div>Also being able to put the date into the name would be great. </div><div><br></div><div>Regards</div><div><br></div><div>Tim</div><br><blockquote type="cite"><div><div style="word-wrap:break-word"><div><div class="h5">Just click on the small green arrow besides layer name.<br>
Cheers.<br><br><div class="gmail_quote">Il 24 luglio 2015 18:40:33 CEST, Tim Sutton <<a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a>> ha scritto:<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi<div><br><div><blockquote type="cite"><div>On 23 Jul 2015, at 22:44, Tim Sutton <<a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a>> wrote:</div><br><div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Hi Victor</span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br><div><blockquote type="cite"><div>On 23 Jul 2015, at 22:18, Victor Olaya <<a href="mailto:volayaf@gmail.com" target="_blank">volayaf@gmail.com</a>> wrote:</div><br><div><div dir="ltr">Tim<div><br></div><div>What you are describing is the behaviour of the iterative execution of algorithms (for a layer with n features, it runs the algorihtm n times, each of them using as input a layer with only one of those features). That can be executed without the need to code anything, from the algorithm dialog.</div><div><br></div></div></div></blockquote><div><br></div><div>Yeah that sounds exactly like what I am after. I will go and take a look at that.</div></div></div></div></blockquote><div><br></div><div><br></div><div>Sorry to be a bit slow here - I went back to try this and couldn’t see where / how to do it - can
you give a few more pointers?</div><div><br></div><div>Thanks!</div><div><br></div><div>Regards</div><div><br></div><div>Tim</div><br><blockquote type="cite"><div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><div><div><br></div><div>Thanks!</div><div><br></div><div>Regards</div><div><br></div><div>Tim</div><br><blockquote type="cite"><div><div dir="ltr"><div>If it's not exactly what you are looking for and you want to code something similar, maybe you can at least check the corresponding code to get
some ideas</div><div><br></div><div><a href="https://github.com/qgis/QGIS/blob/master/python/plugins/processing/gui/AlgorithmExecutor.py#L58" target="_blank">https://github.com/qgis/QGIS/blob/master/python/plugins/processing/gui/AlgorithmExecutor.py#L58</a><br></div><div><br></div><div>Let me know if you have more questions</div><div><br></div><div>Cheers</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-07-23 20:15 GMT+02:00 Tim Sutton<span> </span><span dir="ltr"><<a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all<div><br></div><div>Is it possible to write loops in processing. I’d like to do stuff like iterate over each poly in a polygon layer, clip features from a few layers and write them to a subfolder whose name is based on the name of the polygon layer. Think of it like atlas but for data not for print compositions. Has anyone done something similar?</div><div><br></div><div>Regards</div><div><br></div><div>Tim</div><div><br></div><div><br><div><span><PastedGraphic-1.tiff></span><span><font color="#888888"></font><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><font color="#888888"></font><div><font color="#888888"><br><br></font></div><div>Tim Sutton</div><div>QGIS Project Steering Committee Member</div><div><a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a></div><div><br></div></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></span></div><br></div></div><br>_______________________________________________<br>Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>_______________________________________________<br>Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></blockquote></div><br><div><span><PastedGraphic-1.tiff></span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><br><br></div><div>Tim Sutton</div><div>QGIS Project Steering Committee Member</div><div><a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a></div><div><br></div></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div><br></div><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;float:none;display:inline!important">Qgis-developer mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="mailto:Qgis-developer@lists.osgeo.org" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">Qgis-developer@lists.osgeo.org</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></div></blockquote></div><br><div>
<span><img height="60" width="60" src="cid:DDEF9B12-67C3-4498-BD7D-EC3563CC35A4"></span><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><br><br></div><div>Tim Sutton</div><div>QGIS Project Steering Committee Member</div><div><a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a></div><div><br></div></div><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>
</div>
<br></div><div style="margin-top:2.5em;margin-bottom:1em;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(0,0,0)"><br></div><pre><hr><br>Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></pre></blockquote></div><br>
-- <br>
Paolo Cavallini<br>
</div></div><a href="http://www.faunalia.eu/" target="_blank">http://www.faunalia.eu</a></div><span class="">_______________________________________________<br>Qgis-developer mailing list<br><a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></span></div></blockquote></div><span class=""><br><div>
<span><img height="60" width="60" src="cid:DDEF9B12-67C3-4498-BD7D-EC3563CC35A4"></span><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div><br><br></div><div>Tim Sutton</div><div>QGIS Project Steering Committee Member</div><div><a href="mailto:tim@qgis.org" target="_blank">tim@qgis.org</a></div><div><br></div></div><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br>
</div>
<br></span></div></div><br>_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org">Qgis-developer@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br></blockquote></div><br></div>