ENVI_EVF_INFO

Syntax | Arguments | Keywords | Example

Use this procedure to get general information about an EVF. After you open the EVF with ENVI_EVF_OPEN (or ENVI_EVF_DEFINE_CLOSE returns the EVF ID), use the appropriate keyword to retrieve the number of records, layer name, data type, or projection.

Syntax

ENVI_EVF_INFO, EVF_ID [, DATA_TYPE=variable] [, LAYER_NAME=string] [, NUM_RECS=variable] [, PROJECTION=structure]

Arguments

EVF_ID

This is the EVF ID returned from ENVI_EVF_OPEN or ENVI_EVF_DEFINE_CLOSE.

Keywords

DATA_TYPE (optional)

Use this keyword to specify a named variable that contains the ENVI Classic data type of the vector file. DATA_TYPE uses the following IDL convention.

LAYER_NAME (optional)

Use this keyword to specify a named variable that contains the string name for the EVF layer. Each EVF consists of only a single layer.

NUM_RECS (optional)

Use this keyword to specify a named variable that contains the number of vector records in the EVF.

PROJECTION (optional)

Use this keyword to specify a map projection. PROJECTION is a projection structure returned from ENVI_GET_PROJECTION or ENVI_PROJ_CREATE. The default projection is Arbitrary.

Example

See the code example under ENVI_EVF_CLOSE.

API Version

4.2