You can use ENVI_GLT_DOIT to build the GLT from the lat/lon bands and then ENVI_GEOREFERENCE_FROM_GLT_DOIT. If using ENVI 5.1, you can use the new routine ENVIGLTRasterSpatialRef.
ENVI_OUTPUT_TO_EXTERNAL_FORMAT can be used to save to TIFF, or if using the new routines, use the Export method to ENVIRaster.
|