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 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: ENVI - Output to external format - seem to be losing georeferencing [message #51443] Mon, 27 November 2006 08:57
Barry Lesht is currently offline  Barry Lesht
Messages: 8
Registered: December 2000
Junior Member
Thanks, Tian. It sounds like you've had the same problem. So far
we've used the work-around you describe - we open the ENVI file in
Imagine and reproject the image. It works, but its not how things
_should_ work (in theory).

Barry

tianyf@gmail.com wrote:
> 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.
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.
  Switch to threaded view of this topic Create a new topic Submit Reply
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: Wed Oct 08 17:06:00 PDT 2025

Total time taken to generate the page: 0.00571 seconds