comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: ENVI - Output to external format - seem to be losing georeferencing
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
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 Go to previous message
enod is currently offline  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.
[Message index]
 
Read Message
Read Message
Previous Topic: Re: IDL in Espana
Next Topic: Re: moving average of a large array

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 17:06:51 PDT 2025

Total time taken to generate the page: 1.12310 seconds