Re: ENVI - Output to external format - seem to be losing georeferencing [message #51444 is a reply to message #51443] |
Mon, 27 November 2006 06:26  |
enod
Messages: 41 Registered: November 2004
|
Member |
|
|
ERDAS Imagine can open ENVI files (ENVI *.HDR). Or you can use Import
module to convert it into ERDAS .img format. However, the projection
information is not correct, and I must edit them manually each time.
Tian
Barry Lesht wrote:
> 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.
|
|
|