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.

This question already has an answer here:

Is it possible to edit shapes while using a "definition query" or "query builder" in QGIS? I'm trying to do this in the same way I used to in ArcGIS.

Thanks!

share|improve this question

marked as duplicate by PolyGeo yesterday

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

1  
I think its not possible . I am also getting an error that "Provider can not be opened for editing" (If I do query using query builder). Please check out this imgur.com/KjW731p –  Sunil Apr 17 '13 at 17:46
    
Sad, I think this feature is a big gap between ArcGIS and Open Source GIS –  user17256 Apr 17 '13 at 18:49
    
Did you enabled the layer for editing? because error seems like you aren't –  rashad May 3 '13 at 3:18

1 Answer 1

up vote 3 down vote accepted

It is not possible to edit a shapefile with a query. Following this ticket: http://hub.qgis.org/issues/2951, it is a matter of the underlaying OGR shapefile driver.

To solve the problem, store your data in a spatialite database, which can be queried and edited with no problems. That's what databases are designed for; a shapefile only comes with limited database-like functions.

share|improve this answer

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