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


  >  Docs Center  >  IDL Reference  >  I/O - EOS  >  EOS_PT_READATTR

EOS_PT_READATTR

EOS_PT_READATTR

This function reads attributes.

Examples


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

status = EOS_PT_READATTR(pointID, "ScalarFloat", f32)

Syntax


Result = EOS_PT_READATTR(pointID, attrname, datbuf)

Return Value


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

Arguments


pointID

Point id (long) returned by EOS_PT_CREATE or EOS_PT_ATTACH.

attrname

Attribute name (string).

datbuf

A named variable that will contain the buffer allocated to hold attribute values.

Keywords


None

Version History


5.2

Introduced



© 2018 Harris Geospatial Solutions, Inc. |  Privacy Policy
My Account    |    Store    |    Contact Us