Bug report #2951
Layers become non-editable
Status: | Closed | ||
---|---|---|---|
Priority: | Low | ||
Assignee: | - | ||
Category: | Vectors | ||
Affected QGIS version: | 2.0.1 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | invalid |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 13011 |
Description
Whilst working on a map containing a mixture Ordnance Survey ITN data and other data, two of layers I was wondering on suddenly could not be edited. These were railway and road ITN layers. The only way I could get them to become editable was to add in another copy of the ITN roads layer. This then allowed the other two layers to be edited. However once I removed the additional ITN roads layer, the previously non-editable layers only remained editable until editing was toggled off. Once off the editing couldn't be toggled on without the ITN roads layer being reinserted once again. Even shut down and restarting Quantum did not help.
I cannot supply the data layers as this would breech the terms of the OS license.
Related issues
History
#1 Updated by Jürgen Fischer over 14 years ago
- Resolution set to invalid
- Status changed from Open to Closed
Feel free to reopen, when this isn't limited to filtered layers.
#2 Updated by infobleep - over 14 years ago
- Status changed from Closed to Feedback
- Resolution deleted (
invalid)
Replying to [comment:4 jef]:
Feel free to reopen, when this isn't limited to filtered layers.
If that is the case, why can I edit when the same layer has been added in a second time? If the restriction applies it should apply no matter how many copies of the same lyaer I've added to the Quantum document. Therefore I believe there must be a bug. If what I report isn't a bug, then the fact it's possible to edit when it shouldn't be allowed is the bug, if that makes sense.
#3 Updated by Jürgen Fischer over 14 years ago
Replying to [comment:5 infobleep]:
Replying to [comment:4 jef]:
If that is the case, why can I edit when the same layer has been added in a second time?
Without a query you can edit the shape, but with a query you can't.
What could be considered a bug is that you can apply a query on any shape layer, that already is in editing mode.
OTOH that change of editing capability is purely up to the OGR shape driver and might change in the future. Other OGR datasources might behave different and other qgis data providers like the postgres provider actually do.
#4 Updated by infobleep - over 14 years ago
Replying to [comment:6 jef]:
Replying to [comment:5 infobleep]:
Replying to [comment:4 jef]:
If that is the case, why can I edit when the same layer has been added in a second time?
Without a query you can edit the shape, but with a query you can't.
What could be considered a bug is that you can apply a query on any shape layer, that already is in editing mode.
OTOH that change of editing capability is purely up to the OGR shape driver and might change in the future. Other OGR datasources might behave different and other qgis data providers like the postgres provider actually do.
Sorry Jef, I misunderstood your original reply. A query is set up to allow different layers to be generated from one data source. A data source containing roads might have 5 different road types. So I used queries to create 5 layers, one for each road type. This then would allow label the text for each road type with a different style. Whilst doing this though, I may still wish to edit the roads in the original datasource.
I could add in another copy of the datasource layer without a query placed on it but that would be more confusing for users with less understanding of GIS.
#5 Updated by Alister Hood about 13 years ago
- Pull Request or Patch supplied set to No
- Assignee deleted (
nobody -)
Should we close this as invalid again?
I don't see anything that is awaiting feedback.
#6 Updated by Giovanni Manghi about 13 years ago
- Target version deleted (
Version 2.0.0) - Resolution set to invalid
- OS version deleted (
XP) - Operating System deleted (
Windows) - Must fix deleted (
Yes) - Status changed from Feedback to Closed
Alister Hood wrote:
Should we close this as invalid again?
I don't see anything that is awaiting feedback.
I guess so, this depends entirely on OGR not QGIS, as Jurgen said.
#7 Updated by Jürgen Fischer about 11 years ago
- Affected QGIS version set to 2.0.1
- Crashes QGIS or corrupts data set to No
#8 Updated by Jürgen Fischer about 7 years ago
- Duplicated by Bug report #17236: Unable to edit layer while filter is in effect added
#9 Updated by Jürgen Fischer over 6 years ago
- Duplicated by Feature request #3052: Editing subsets doesn't work for shapefiles added
#10 Updated by Jürgen Fischer over 6 years ago
- Duplicated by Feature request #19529: Add edit geometries with query filter added
#11 Updated by Jürgen Fischer over 6 years ago
- Related to Bug report #2420: Layer editing is unavailable added