[Qgis-developer] CRS caching and custom CRS update

Leyan ouyang.leyan.ml at hotmail.com
Thu Jun 13 09:52:07 PDT 2013


Done and done, I will try to have a look this week-end if you cannot do it.

Regards,

Leyan

On 06/12/2013 10:07 PM, Marco Hugentobler wrote:
> 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
>>
>>
>
>



More information about the Qgis-developer mailing list