Vivian Meazza writes:
> It would be easy to convert to X,Y,Z coordinates, if I knew the equations 

see SimGear / simgear / math / sg_geodesy

 * Convert a geodetic lat/lon/altitude to a cartesian point.
 * @param lat (in) Latitude, in radians
 * @param lon (in) Longitude, in radians
 * @param alt (in) Altitude, in meters above the WGS84 ellipsoid
 * @param xyz (out) Pointer to cartesian point.
void sgGeodToCart(double lat, double lon, double alt, double* xyz);

> or, better, I could start in X,Y,Z.  


Flightgear-devel mailing list

Reply via email to