<div dir="ltr"><div dir="ltr">On Thu, 30 Aug 2018 at 14:02, Tobias Wendorff <<a href="mailto:tobias.wendorff@tu-dortmund.de">tobias.wendorff@tu-dortmund.de</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi there,<br>
<br>
is there a sane way to copy layers to memory? Right now, I'm using<br>
"Merge vector layers" for this.<br>
<br>
Best regards,<br>
Tobias<br></blockquote><div><br></div><div>I took the only sane route and wrote a plugin. I'm told by my colleagues it the single most useful piece of code I've written :-P It clones a layer to memory or shapefile with the choice of copying all data, selected data, or definition only (i.e. including attributes and styles). Been meaning to clean it up submit it the the repo at some stage, but for now it's at <a href="https://plugins.lparchaeology.com/qgis/plugins.xml">https://plugins.lparchaeology.com/qgis/plugins.xml</a> and called ARK Clone. Simply right-click on the layer and the clone option is in the pop-up menu.</div><div><br></div><div>John.</div><div><br></div></div></div></div>