I would like to see one more option on that list:<div><ul><li>Save to current selected layer</li></ul><div>This would write straight back to the current selected layer.  I don&#39;t always want a new layer when doing things like buffers etc.</div>

<div><br></div><div>- Nathan   </div><br><div class="gmail_quote">On Tue, Mar 8, 2011 at 8:29 AM, Borys Jurgiel <span dir="ltr">&lt;<a href="mailto:lists@borysjurgiel.pl">lists@borysjurgiel.pl</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<div class="im">&gt; &gt; Hmmmm implementing other file formats to the QgsVectorFileWriter is quite<br>
&gt; &gt; easy, while AFAIK writing to the memory layer requires another approach.<br>
&gt; &gt; Maybe we should encapsulate the QgsVectorFileWriter to provide an<br>
&gt; &gt; universal class for the 1.7 API? Just a thought - it&#39;s late and my brain<br>
&gt; &gt; is busy with a few other threads ;)<br>
&gt;<br>
&gt; My preference would be to add the capability to write to other<br>
&gt; formats. Writing to a memory layer can become unwieldy when working<br>
&gt; with large layers (which is common with geoprocessing operations).<br>
<br>
</div>Actually I think there&#39;s no simple answer what is better. I prefer to use<br>
memory layers as long as it&#39;s possible. So I&#39;d prefer to see three options:<br>
<br>
- save to memory layer [...name...] and add to the canvas<br>
- save to file [...path...] and add to the canvas<br>
- save to file [...path...] and don&#39;t add to the canvas<br>
<br>
Btw. When saving to files, kinda garbage collector would be extremely usable:)<br>
<div><div></div><div class="h5">_______________________________________________<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" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
</div></div></blockquote></div><br></div>