GetGeoKey method (ILEADRasterIO)

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short GetGeoKey(long uTag);

Overview

Refer to Implementing GeoKeys (GeoTIFF tags)

Remarks

Gets the information that is ready to be saved as GeoKeys in a GeoTIFF file.

You can use this method to obtain GeoKey information that will be saved the next time you save a GeoTIFF (FILE_GEOTIFF) file.

If you want to get the GeoKey information from a particular file, use the ReadFileGeoKey method.

Calling this method will update the following properties:

GeoKeyType property

GeoKeyCount property

GeoKeyData property

To set the GeoKey information, update all of the properties referenced above and call the SetGeoKey method.

See Also

Elements:

SetGeoKey method, GeoKeyType property, GeoKeyCount property, GeoKeyData property, WriteFileGeoKey method, ReadFileGeoKey method, EnumFileGeoKeys method, EnumGeoKeys event

Topics:

Raster Images: Working with Geo Keys

 

Implementing TIFF Tags