This project lives on at https://github.com/geoffviola/local_cartesian_python. I'm still interested in getting these files into a release of geographic lib.
This project lives on at https://github.com/geoffviola/local_cartesian_python. I'm still interested in getting these files into a release of geographic lib.
Hi, I implemented LocalCartesian forward calculation in Python. What is the process of putting it into the next release? import numpy as np def geocentric_forward(lat, lon, h): sphi = sin(radians(lat)) cphi = cos(radians(lat)) slam = sin(radians(lon)) clam = cos(radians(lon)) a = 6378137 f = 1 / ( np.uint64(298257223563) / 1000000000) e2 = f * (2 - f) e2m = (1 - f)**2 n = a/sqrt(1 - e2 * sphi**2) Z = (e2m * n + h) * sphi X = (n + h) * cphi Y = X * slam X *= clam return (X, Y, Z) def local_cartesian_forward(origin_lla,...