Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.


share|improve this question

marked as duplicate by PolyGeo Nov 20 '14 at 9:12

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.

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 – 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
up vote 3 down vote accepted

It is not possible to edit a shapefile with a query. Following this ticket:, 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.