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


Declaration:procedure CalcExtentsAndResolution;

This method calculates the extents of a map (in real coordinates) and its resolution (in m/pixel) and enters the results into the calibration data (CalibData.Corners and CalibData.Resolution). The resolution is calculated along the middle line of the map image. This method is called automatically when saving the graticule data (SaveCalDataAsXML, WriteCalDataToOpenXMLFile).

Please note that the method CalcExtentsAndResolution creates valid results only if the calibration of the map is sufficient (i.e. at least two parallels and two meridians have to be specified).

Last Update: 2012-Okt-20