Saturday, 14 October 2017

Creating new layer from selection in QGIS?


Is it possible to create layers from selection in QGIS?


I am using QGIS 1.7.4-Wroclaw.


To make it easier for others to see this, here are some pics. I used QGIS 2.0.1-Dufour.


SELECT



enter image description here


SAVE


enter image description here


ADD enter image description here



Answer



After making a selection in a layer, right click on it and choose save selection as.




Update for QGIS 3.2 Bonn as of 2018


As this is the accepted answer and the way of doing this has evolved somewhat, beginners might find this answer incomplete, so:


After making a selection in a layer, right click on it and choose "Export" > "Save Selected Feature As..."



menu selection


which is actually just a nice redundancy, because it takes you to the same mask as clicking "Save Feature As...", but it already checks the box "Save only selected features"


Save Vector Layer As Mask


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...