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....



GeoToUTMZone


Unit: SDL_geobasics
Class: none
Declaration: [1] procedure GeoToUTMZone (Lat,Long: double; var Zone: integer; var Band: char);
[2] function GeoToUTMZone (Lat,Long: double): string;

The method GeoToUTMZone calculates the UTM grid zone for a given longitude and latitude (parameters Lat and Long in degrees). The zone number (valid range: 1..60) is returned in the variable parameter Zone, the band designator (valid range: 'C'..'X') is returned in the variable parameter Band. The overloaded version [2] returns the zone and band code as a string (e.g. '40F' for zone 40 and band F).



Last Update: 2012-Oct-20