ENVI - Output to external format - seem to be losing georeferencing [message #51447] |
Sun, 26 November 2006 14:08 |
Barry Lesht
Messages: 8 Registered: December 2000
|
Junior Member |
|
|
I have an ENVI image file that is correctly georeferenced in a specific
projection. I want to send the file to someone who uses ERDAS Imagine
for analysis. Working in batch mode (there a many such files), I use
the simple statement to produce the Imagine file.
ENVI_OUTPUT_TO_EXTERNAL_FORMAT, FID=sub_FID, DIMS=subDIMS,
OUT_NAME=imagineName, POS=LIndGen(nbMap), /IMAGINE
The problem I have is that the georeferencing in the new file
(imagineName) appears to be incorrect. When I open the file in ENVI
using Open External File I find that the right bands are present and
correctly named, the image is the right size, the projection type and
datum are correct, the UL map locations (in meters because my ouput
projection is Lambert Conformal Conic) are the same, but the geographic
locations (expressed as lat/lon) in the Imagine file are wildly
incorrect.
I don't understand why this happens. I'd appreciate an explanation and
some ideas for correcting the problem.
Thanks.
|
|
|