[Qgis-developer] CRS caching and custom CRS update

Marco Hugentobler marco.hugentobler at sourcepole.ch
Wed Jun 12 07:07:01 PDT 2013


Hi Leyan

I also think a function for upating the cache would be best. Could you 
make a ticket, assign it to me and attach what you did so far?

Regards,
Marco

Am 12.06.2013 15:13, schrieb Leyan:
> Hi all,
>
> 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.
>
> Ihad a look at the code and it is linked to the CRS caching mechanism 
> mhugent added 6 months ago 
> (https://github.com/qgis/Quantum-GIS/commit/8dc0135b2c30697512a90a575b041562245c9447 
> ).
>
> How can this be best solved? Simply reverting the patch is a 
> possibility, but not the most satisfying. I tried to implement asimple 
> "updateCache" function that we could call after modyfing a custom CRS, 
> but it seems I missed something as I did not getthe wanted result. 
> Could someone more familiar with the code have a look ?
>
> Regards,
>
> Leyan
>
>


-- 
Dr. Marco Hugentobler
Sourcepole -  Linux & Open Source Solutions
Weberstrasse 5, CH-8004 Zürich, Switzerland
marco.hugentobler at sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee



More information about the Qgis-developer mailing list