Bug report #18519
Identify Features Info tool only able to select part of a dataset after a refresh
|Category:||Data Provider/Delimited Text|
|Affected QGIS version:||3.0.0||Regression?:||No|
|Operating System:||Ubuntu 16.04||Easy fix?:||Yes|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||26407|
I loaded a point dataset into QGis 3 from an ACSII text file. I then regenerated the point file as I'd put it in the wrong place. I clicked the refresh button on the toolbar and my points moved to the new location as expected. However on selecting the Identify Features tool I was only able to select points that would have lain within the original limits of the data prior to the refresh. I saved the project, exited and opened it up again and could select all points.
Without looking at the code my interpretation would be that on importing the data a metaarray was created with the X and Y limits of that dataset. On refreshing using the same date file name and structure but with different data points the metaarray is not being updated?? I suspect this is also the cause of an older issue with QGis 2 in that refreshing a file with the same file name and structure but more points only plots the number of points in the initial input file. We have worked around that by removing that object from the Layers and then re-loading it from scratch. The downside is that if you have created a thematic map using that data you have to go through the process of reclassifing it in its Properties.
#1 Updated by Kim Frankcombe over 3 years ago
Steps to reproduce.
Create an ASCII point file
Load to QGis
Outside of QGis edit the file and move the southern most point 1km to the south.
Hit the refresh button in QGis and you should see the feral point in the south
Select the info tool and try and click on it.