Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I have been using ArcMap for the last three years. But I am now considering switching to Quantum-GIS. Is it possible to create layers from selection in QGIS?

I am using QGIS 1.7.4-Wroclaw.

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

SELECT

enter image description here

SAVE

enter image description here

ADD enter image description here

share|improve this question
    
It works a similar way to ArcGIS see johns answer. See more and more user/clients want to switch to QGIS- it is comparable to ArcView license and direct connect to PostGIS makes it better than ArcGIS in my book. –  Mapperz May 25 '12 at 14:29
    
If QGIS works similar to ArcGIS, I guess I will not have tough time switching –  Stat-R May 25 '12 at 14:35
    
@Mapperz Can you please suggest me place where I can find standard tutorials? Googling does not seem to give me any comprehensive resource. –  Stat-R May 25 '12 at 14:40
    
QGIS Documentation site has the QGIS User Guide, or the QGIS 2.0 Training Manual is in the works by Linfiniti. –  RyanDalton Jan 24 at 15:47
1  
Is it possible in QGIS 2.0? I can't find the way. –  Júlio César Feb 26 at 16:24

3 Answers 3

up vote 6 down vote accepted

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

share|improve this answer
2  
Note that you can make a selection using the 'select' tool, but also can run queries directly on a layer with a right-click and selecting "Query..." and then construct a search (which will then hide items that don't match). "Save as" will then save just the displayed features. –  Simbamangu May 25 '12 at 15:09
    
Using can be much quicker if you have lots of features that are spread out over the map. Saves selecting them one at a time, or using the inbuilt search. –  Nathan W May 26 '12 at 2:35
    
@johns that isn't the same as making a layer on a selection ... what you've described is saving a new shapefile entirely... –  mapBaker Jan 24 at 16:24

Or right-click on the layer, choose "Query", and write a SQL construct. This is analagous to creating a "Definition Query" in ArcGIS if you do not want to write a new shapefile to disk.

share|improve this answer
1  
that still isn't the same as the arcgis 'save selection as layer' concept... If you do an ArcMap query or set of queries and end up with a selected set, how would you replicate that in a new layer based on a "query" in QGIS? I just don't think the same ability is in QGIS as in ArcMap - not saying it should be...just saying its not there. –  mapBaker Jan 24 at 16:27

A new feature just came up in QGIS 2.2 called "Paste as new vector layer":

It is a common activity in a GIS to create a sub-selection and then to create a new layer from the selection. In QGIS you can already do save selection as to save a layer from your selection, and now offers functionality that allows you to create a new file or memory layer from whatever is in your clipboard. Simply select some features, copy them to your clipboard and then do Edit -> Paste features as and choose either New vector layer or New memory layer from the submenu. The best part of this new feature is that if you have some Well Known Text (WKT) features in your clipboard from another app, you can simply paste them into QGIS as a new layer now.

share|improve this answer
1  
New memory layer is the trick –  geotheory Jun 17 at 16:40

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.