No update of CRS cache when modifying a custom CRS #16899
Labels
Bug
Either a bug report, or a bug fix. Let's hope for the latter!
Projections/Transformations
Related to coordinate reference systems or coordinate transformation
Milestone
Author Name: Leyan Ouyang (Leyan Ouyang)
Original Redmine Issue: 8058
Affected QGIS version: master
Redmine category:projection_support
Assignee: Marco Hugentobler
In 1.8, if I update a custom CRS, I can directly use the new value for this CRS, while in master, I have to restart QGIS to be able to use the updated parameters. They are displayed when I choose the CRS, but not used during the actual transformation, which is a severe regression in my opinion as it makes the whole custom CRS management very confusing.
This is due to the recent use of a cache to store CRS parameters (since commit 8dc0135). There is currently no way to update the cache, short of restarting QGIS.
I tried to write a simple updateCRSCache function, but it isn't giving the expected result. The CRS seems updated in the debug output, but nothing is redrawn. Here is what I wrote so far: https://github.com/leyan/Quantum-GIS/commits/custom_CRS
The text was updated successfully, but these errors were encountered: