QUOTE |
I've downloaded SQLiteStudio (which is okay) and sqlite-gui (which is quicker) so that I could examine the gsak database structure. |
We generally recommend SQLiteSpy, which is freeware and for which there is a GSAK extension (more information) that allows you to use unique GSAK functions within SQLiteSpy.
QUOTE |
D. Comparing 'corrected' before.lat/lon with 'caches' lat/lon seems to hold the best promise as these values should 'not' be the same. This is very similar to B above. But for 'this' to hold value, we assume the proviso that the caches have been refreshed and contain current information. Note. This may be the source of most errors such that imported lists were refreshed prior to setting the HasCorrected flag. |
I'm not sure I completely understand, but if I do, this too will fail for the same reason that B will fail. If you import coordinates from a text file, then run the SetCorrectedFlag macro, there is only one set of coordinates in multiple places in the database. Refreshing the cache will not change anything because the caches are locked against updates due to the corrected coordinates flag being set.
When things get this messy there often is no reliable way to sort it out.