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.1

Added Dehydrate method

ENVI 5.4

Added Hydrate method

API Version


4.2

See Also


GenerateGCPsFromReferenceImage Task, GenerateGCPsFromTiePoints Task, RPCOrthorectification Task, RPCOrthorectificationUsingReferenceImage Task