Extract coordinates from local coordinate system

Hi Ondrej,

I want to achieve correct scale, could you go into more details?