You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 14, 2022. It is now read-only.
If you happen to need to project back the 3D x,y,z coordinates to geographic (lat,lon) coordinates, be aware that Google seems to model the earth as a perfect sphere (rather than an ellipsoid).
Hence, you can get lat, lon from basic trigonometry (here in Python) :
lon = atan2(y, x) * 180 / pi
lat = atan2(z, sqrt(x*x + y*y)) * 180 / pi
height = sqrt(x * x + y * y + z * z)
Those coordinates are then compliant with WGS84 / EPSG:4326
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, thanks for this work.
This is very useful.
If you happen to need to project back the 3D x,y,z coordinates to geographic (lat,lon) coordinates, be aware that Google seems to model the earth as a perfect sphere (rather than an ellipsoid).
Hence, you can get lat, lon from basic trigonometry (here in Python) :
Those coordinates are then compliant with WGS84 / EPSG:4326
The text was updated successfully, but these errors were encountered: