--===============7683565695053851440== Content-Type: multipart/alternative; boundary="0000000000007896d20574d4856b" --0000000000007896d20574d4856b Content-Type: text/plain; charset="UTF-8" On Thu, 30 Aug 2018 at 14:02, Tobias Wendorff < tobias.wendorff@tu-dortmund.de> wrote: > Hi there, > > is there a sane way to copy layers to memory? Right now, I'm using > "Merge vector layers" for this. > > Best regards, > Tobias > 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 https://plugins.lparchaeology.com/qgis/plugins.xml and called ARK Clone. Simply right-click on the layer and the clone option is in the pop-up menu. John. --0000000000007896d20574d4856b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Thu, 30 Aug 2018 at 14:02, Tobias Wend= orff <tobias.wendorff@= tu-dortmund.de> wrote:
Hi there,

is there a sane way to copy layers to memory? Right now, I'm using
"Merge vector layers" for this.

Best regards,
Tobias

I took the only sane route and w= rote a plugin. I'm told by my colleagues it the single most useful piec= e of code I've written :-P It clones a layer to memory or shapefile wit= h the choice of copying all data, selected data, or definition only (i.e. i= ncluding attributes and styles). Been meaning to clean it up submit it the = the repo at some stage, but for now it's at https://plugins.lparchaeology.com/qgis/= plugins.xml and called ARK Clone. Simply right-click on the layer and t= he clone option is in the pop-up menu.

John.
=

--0000000000007896d20574d4856b-- --===============7683565695053851440== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KUWdpcy11c2Vy IG1haWxpbmcgbGlzdApRZ2lzLXVzZXJAbGlzdHMub3NnZW8ub3JnCkxpc3QgaW5mbzogaHR0cHM6 Ly9saXN0cy5vc2dlby5vcmcvbWFpbG1hbi9saXN0aW5mby9xZ2lzLXVzZXIKVW5zdWJzY3JpYmU6 IGh0dHBzOi8vbGlzdHMub3NnZW8ub3JnL21haWxtYW4vbGlzdGluZm8vcWdpcy11c2Vy --===============7683565695053851440==--