GeoKeyData property (ILEADRasterIO)

Visual Basic example

Visual C++ 6.0 example

 

Syntax

ILEADRasterVariant * GeoKeyData

Overview

Refer to Implementing GeoKeys (GeoTIFF tags)

Remarks

Gets or sets GeoKey data. The data is saved into ILEADRasterVariant object.

To set the GeoKey data do the following:

1.

Fill the Type property of the ILEADRasterVariant object.

2.

Fill the ItemCount property if you need to set more than 1 item.

3.

Fill the data.

 

For example if the data type is SHORT and count is 1, use the ShortValue property. If count > 1 use the ShortItemValue property, and so on.

The following methods and events updates the value of this property:

image\sqrblit.gif ReadFileGeoKey method

image\sqrblit.gif GetGeoKey method

image\sqrblit.gif EnumGeoKeys event

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

When setting the GeoKey information prior to calling the SetGeoKey method, set the GeoKeyCount property, to determine the number of items in the GeoKeyData property, then set the new information in the GeoKeyData property, and then call the SetGeoKey method.

See Also

Elements:

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

Topics:

Raster Images: Working with Geo Keys

 

Implementing TIFF Tags