Calculation of projection parameters of local coordinate system