Harris Geospatial / Docs Center / ENVI API / Data Control / ENVIGCPSet

ENVI

ENVIGCPSet

ENVIGCPSet

This is a reference to an ENVIGCPSet object, which contains a set of ground control points (GCPs).

Example


; Start the application
e = ENVI()
 
; Open an existing GCP file
GCPFile = Dialog_Pickfile(TITLE='Select an ENVI .pts file')
GCPs = ENVIGCPSet(GCPFile)
Print, GCPs

Syntax


To import an existing set of GCPs:

Result = ENVIGCPSet([Filename])

To start with an empty set of GCPs with a coordinate system:

Result = ENVIGCPSet([Coord_Sys=ENVICoordSys])

Arguments


Filename

Optionally specify a point shapefile of GCPs or an ENVI .pts file. See GCP File Formats for the different types of .pts formats that are supported. If you do not specify the Filename argument, an empty ENVIGCPSet object will be created and you must use the Add method to add GCPs.

Methods


Add

ApplyOffset

Close

Count

Dehydrate

Export

Get

Hydrate

Remove

Properties


COORD_SYS (Get)

This property retrieves the name of an ENVICoordSys object, indicating the coordinate system of the GCP file.

Keywords


COORD_SYS

Set this keyword to the name of an existing ENVICoordSys object if you want to override the coordinate system of the GCP file. If Filename is not specified then this keyword must be specified.

Version History


ENVI 5.1

Introduced

ENVI 5.3, Service Pack 1

Added Dehydrate method

ENVI 5.4

Added Hydrate method

See Also


ENVIGenerateGCPsFromReferenceImageTask, ENVIGenerateGCPsFromTiePointsTask, ENVIRPCOrthorectificationTask, ENVIRPCOrthorectificationUsingReferenceImageTask


This information is not subject to the controls of the International Traffic in Arms Regulations (ITAR) or the Export Administration Regulations (EAR). However, it may be restricted from transfer to various embargoed countries under U.S. laws and regulations.
© 2017 Exelis Visual Information Solutions, Inc., a subsidiary of Harris Corporation