New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add edit geometries with query filter #27356
Comments
Author Name: Giovanni Manghi (@gioman) No it can't be changed, because ogr (used to read shapefiles) does not allow it.
|
Author Name: Jérôme Seigneuret (Jérôme Seigneuret) Ok, I send a question to GDAL-Dev mailling list |
Author Name: Even Rouault (@rouault) @giovanni This is not actually true. This is more a limitation on QGIS side Demo that the shapefile driver can support this: even@even-i700:~/gdal/git/gdal/gdal$ ogrinfo poly.shp -al -where "EAS_ID = 165" Layer name: poly even@even-i700:~/gdal/git/gdal/gdal$ python
even@even-i700:~/gdal/git/gdal/gdal$ ogrinfo poly.shp -al -where "EAS_ID = 165" Layer name: poly
|
Author Name: Even Rouault (@rouault) Hum actually the OGR provider doesn't use SetAttributeFilter() but ExecuteSQL(), and the later can make it difficult to find the original FID, so this might be non trivial to implement. |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Giovanni Manghi (@gioman) Even Rouault wrote:
Sorry, I always assumed it was an ogr/shapefile limitation, see this very old answer from Jurgen: https://issues.qgis.org/issues/2951#note-3 |
Duplicates #21350 |
Author Name: Jérôme Seigneuret (Jérôme Seigneuret)
Original Redmine Issue: 19529
Redmine category:data_provider/ogr
Hi,
I use global data shapefile. I use filter on my layer data source and I can't edit geometries because there is a query filter...
Can you modifiy this behaviour.
Related issue(s): #13011 (duplicates)
Redmine related issue(s): 2951
The text was updated successfully, but these errors were encountered: