Welcome to the Harris Geospatial product documentation center. Here you will find reference guides, help documents, and product libraries.


Harris Geospatial / Docs Center / IDL Reference / I/O - EOS / EOS_GD_READATTR

EOS_GD_READATTR

EOS_GD_READATTR

This function reads attributes from the grid.

Examples


In this example, we read a single precision (32 bit) floating point attribute with the name “ScalarFloat”:

status = EOS_GD_READATTR(gridID, "ScalarFloat", f32)

Syntax


Result = EOS_GD_READATTR(gridID, attrname, datbuf)

Return Value


Returns SUCCEED(0) if successful and FAIL(–1) otherwise.

Arguments


gridID

Grid id (long) returned by EOS_GD_CREATE or EOS_GD_ATTACH.

attrname

Attribute name (string).

datbuf

A named variable that will contain the attribute values.

Keywords


None

Version History


5.2

Introduced



© 2017 Exelis Visual Information Solutions, Inc. |  Legal
My Account    |    Buy    |    Contact Us