EnumFileGeoKeys method (ILEADRasterIO)

Visual Basic example

Visual C++ 6.0 example

 

Syntax

short EnumFileGeoKeys(BSTR bstrFile, long uFlags, long lPage);

Overview

Refer to Implementing GeoKeys (GeoTIFF tags)

Remarks

Enumerates all the GeoKeys in a GeoTIFF file.

For multipage GeoTIFF files, you can enumerate the tags from a particular page. Specify the page number on which to enumerate the keys using the lPage parameter.

The EnumGeoKeys event is called for each GeoKey value stored in the three standard GeoTIFF tags (34735, 34736 and 34737). For enumerating the other standard GeoTIFF information stored as separate tags, you can use the EnumFileTags method. Or you can call the ReadTag method for each of these tags (since there are not that many of them to warrant the use of EnumFileTags method).

See Also

Elements:

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

Topics:

Raster Images: Working with Geo Keys

 

Implementing TIFF Tags