This task opens one or more vectors given an input URI.
Example
e = ENVI()
File = Filepath('countries.shp', $
Subdir=['data','natural_earth_vectors'], $
Root_Dir=e.Root_Dir)
Task = ENVITask('ExtractVectorFromFile')
Task.INPUT_URI = File
Task.Execute
view = e.GetView()
layer = view.CreateLayer(Task.OUTPUT_VECTOR)
Syntax
Result = ENVITask('ExtractVectorFromFile')
Input parameters (Set, Get): INPUT_URI
Output parameters (Get only): OUTPUT_VECTOR
Parameters marked as "Set" are those that you can set to specific values. You can also retrieve their current values any time. Parameters marked as "Get" are those whose values you can retrieve but not set.
Input Parameters
INPUT_URI (required)
Specify the input URI.
Output Parameters
OUTPUT_VECTOR
This is the vector or array of vectors extracted from the URI.
Methods
Execute
Parameter
ParameterNames
Properties
DESCRIPTION
DISPLAY_NAME
NAME
REVISION
TAGS
Version History
See Also
ENVITask, ENVI::OpenVector