The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_geobasics
Class: none
Declaration: procedure UPSToLatLong (Easting: double; Northing: double; SouthHemi: boolean; Ellipsoid: TGeoEllipsoid; var lat, long: double);

The procedure UPSToLatLong converts the UPS coordinates Easting and Northing into longitude and latitude values (variable parameters lat and long). The parameter SouthHemi has to be set TRUE for coordinates on the southern hemispere.

The easting and northing has to specified in meters, the latitude and longitude are returned in degrees. Please note that the results of the conversion depend on the Ellipsoid used for the Earth model.

Last Update: 2012-Okt-20