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

Home » Public Forums » archive » Re: GeoTiff- grid
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: GeoTiff- grid [message #58125 is a reply to message #58124] Tue, 22 January 2008 14:03 Go to previous messageGo to previous message
robinson.inj is currently offline  robinson.inj
Messages: 32
Registered: August 2007
Member
On Jan 22, 3:12 pm, David Fanning <n...@dfanning.com> wrote:
> David Fanning writes:
>> Humm, well, OK, here is an article that spells it out:
>
>>   http://www.dfanning.com/map_tips/pixel_to_ll.html
>
>> Be aware, however, that there is an error either in this
>> article, or in the previous one. But the two articles
>> can't *both* be right. ;-)
>
> Well, after thinking about this overnight, I think by
> some miraculous twist of fate, both of these articles
> ARE right. I'm convinced of it. At least for the time
> being. :-)
>
> Cheers,
>
> David
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming (www.dfanning.com)
> Sepore ma de ni thui. ("Perhaps thou speakest truth.")

David, I followed your examples but still have problems. In the uv
space my corners IDL and ENVI aggred
UpperLeftCoordinate:(-167346.0185E, 3677892.5566N)
LowerRightCoordinate:(1222128.8184E,2983386.7945N)
However in the lon/lat space i got:
IDL: UpperLeftCoordinate: (-98.555279E, 45.411655N)
LowerRightCoordinate: ( -81.568627E,51.346972N)
ENVI: UpperLeftCoordinate: (-98.09914722E, 33.30501389N)
LowerRightCoordinate:(-84.82142500E, 27.55810278N)
My image has 3000 col x 1500 lin. The pix resolution is 463.3127
meters.

mercatorMap = MAP_PROJ_INIT('Mercator', $
DATUM=8, $ ; WGS84
CENTER_LATITUDE=20.000, $
CENTER_LONGITUDE=-96.5000)

I tried different things but in all cases idl and envi did not match,
and I do not have any clue where is my error.

Any suggestion is welcome.

Robinson
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: IDL Workbench Starting Directory
Next Topic: interface between IDL and Matlab

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

Current Time: Thu Oct 09 22:11:21 PDT 2025

Total time taken to generate the page: 1.04116 seconds