Content deleted Content added
refactor EN to LL conversion |
fix missing params |
||
Line 587:
local T = pow( tan(lat_rad), 2)
local C = e_prime_sq * pow( cos(lat_rad), 2)
local A = deg2rad( longitude2 -
local M = find_M( lat_rad )
local M0 = 0.0
if latitude_origin ~= 0 then
M0 = find_M(deg2rad(
end
local northing =
( (M - M0) + v*tan(lat_rad) *
( A*A/2
Line 601:
+ 600*C - 330*e_prime_sq) * pow(A,6)/720 ))
local easting =
( A
+ (1-T+C)*pow(A,3)/6
|