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


EOS_PT_OPEN

EOS_PT_OPEN

This function creates a new file or opens an existing one.

Examples


In this example, we create a new point file named, PointFile.hdf. It returns the file handle, fid.

fid = EOS_PT_OPEN("PointFile.hdf", /CREATE)

Syntax


Result = EOS_PT_OPEN( fieldname [, /CREATE] [, /RDWR | , /READ] )

Return Value


Returns the point file id handle (fid) if successful and FAIL (–1) otherwise.

Arguments


fieldname

Complete path and filename (string) for the file to be opened.

Keywords


CREATE

If file exists, delete it, then open a new file for read/write.

RDWR

Open for read/write. If file does not exist, create it.

READ

Open for read only. If file does not exist then error.

Version History


5.2

Introduced

See Also


EOS_PT_CLOSE



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