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


  >  Docs Center  >  ENVI API  >  Data Control  >  ENVIVector

ENVIVector

ENVIVector

This is a reference to a vector object. For details on creating an ENVIVector, see ENVI::OpenVector.

Example


The following code sample opens a shapefile and prints the properties of the created ENVIVector.

; Launch the application
e = ENVI()
 
; Create an ENVIVector from the shapefile data
file = FILEPATH('states.shp', $
  SUBDIRECTORY=['examples', 'data'])
vector = e.OpenVector(file)
 
; Print the ENVIVector property values
PRINT, vector

Methods


Close

Dehydrate

Hydrate

Properties


Properties marked as (Get) can be retrieved, but not set.

AUXILIARY_URI (Get)

This property retrieves a string array containing the URIs for the ENVIVector's associated files. If there are no associated files, !NULL is returned.

COORD_SYS (Get)

This property retrieves a reference to the ENVICoordSys associated with the vector.

DATA_RANGE (Get)

This property retrieves a four-element array containing the boundary of the entire data space, in the form [xmin, ymin, xmax, ymax]. The data space may contain a combination of rasters and vectors.

The DATA_RANGE values are taken directly from the data, and therefore use the coordinate system of the dataset.

RECORD_TYPE (Get)

A string specifying the type of the vector record. The values are:

RECORD_TYPE Strings
'MultiPoint'
'MultiPointM'
'MultiPointZ'
'Point'
'PointM'
'PointZ'
'Polygon'
'PolygonM'
'PolygonZ'
'Polyline'
'PolylineM'
'PolylineZ'

URI (Get)

A string that is a fully-qualified vector filepath.

Version History


ENVI 5

Introduced

ENVI 5.3, Service Pack 1

Added Dehydrate method
ENVI 5.4 Added Hydrate method

API Version


3.2

See Also


ENVI, ENVI::OpenVector, ENVICoordSys



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