[Qgis-user] Filtering layer or selected features by attributes does not work for new added features in QGIS 3.22.8

Andrea Giudiceandrea andreaerdna at libero.it
Mon Jul 25 02:12:23 PDT 2022


> *Tudorache, Marian*
> /Sun Jul 24 11:14:30 PDT 2022/
> ------------------------------------------------------------------------
> How these .idm and and .ind files were created?
> These files are created by reading ESRI coverage data used in an application under ArcInfo:

Hi Marian,
could you share a link to a sample of such ESRI coverage data file for 
which the conversion to a Shapefile layer creates the .idm and and .ind 
attributes indexes sidecar files?


> Cab these file be recreated without knowing?

Looking at the QGIS code, it seems such attributes indexes sidecar files 
could be unknowingly created if the user uses the Shapefile layer in a 
join (via layer Property->Joins) enabling the "Create attribute index on 
join field" option.
An user can also directly create attributes indexes using the "Create 
attribute index" processing algorithm, or e.g. using the GDAL/OGR 
"ogrinfo" command [1] [2], or using a Python script, or ... .

Best regards.

Andrea


[1] 
https://gdal.org/drivers/vector/shapefile.html#spatial-and-attribute-indexing
[2] https://gdal.org/user/ogr_sql_dialect.html#create-index
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20220725/b542c415/attachment.htm>


More information about the Qgis-user mailing list