GeoKeyType property (ILEADRasterIO)

Visual Basic example

Visual C++ 6.0 example

 

Syntax

long GeoKeyType

Overview

Refer to Implementing GeoKeys (GeoTIFF tags)

Remarks

Gets or sets the type of GeoKey.

The value of this property indicates whether the data specified in the GeoKeyData property is SHORT, DOUBLE or ASCII. Possible values are:

Value

Meaning

TAG_ASCII

[2] The data in the GeoKeyData property is an array of ASCII bytes.

TAG_SHORT

[3] The data in the GeoKeyData property is an array of SHORT values (2 bytes each).

TAG_DOUBLE

[12] The data in the GeoKeyData property is an array of floating points in DOUBLE format (8 bytes each).

The following methods update this property:

image\sqrblit.gif ReadFileGeoKey method (used to read GeoKey information from a TIFF file)

Or

image\sqrblit.gif GetGeoKey method (used to obtain GeoKey information that will be saved the next time the user saves a GeoTIFF (FILE_GEOTIFF) file)

To set the type of GeoKey, assign a new value to this property and call the SetGeoKey method.

See Also

Elements:

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

Topics:

Raster Images: Working with Geo Keys

 

Implementing TIFF Tags