Hi!
.. can someone help me change coordinates eg switch from UTM WGS84 to UTM ED50?
I am using the module Geodesic to go from lat, lon to UTM (WGS84) without any problems, but if he tried to convert from WGS to ED50 coordinates returned are not right.
Yet the distance from the equator and Flattering are correct ...
here is a fragment of code where I insert Flattering and distance...
.. can someone help me change coordinates eg switch from UTM WGS84 to UTM ED50?
I am using the module Geodesic to go from lat, lon to UTM (WGS84) without any problems, but if he tried to convert from WGS to ED50 coordinates returned are not right.
Yet the distance from the equator and Flattering are correct ...
here is a fragment of code where I insert Flattering and distance...
B4X:
Convert LatLon to UTM using WGS84 datum
Public Sub WGS84LatLonToUTM(LL As LatLon) As UTM
Select Case Global.Glob_GPS_DATUM
Case "WGS84"
Return LatLonToUTM(6378137, 0.003352810665, LL)
Case "ED50"
Return LatLonToUTM(6378388, 0.003367003367, LL)
End select
..... ecc ecc ecc
end sub