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 #58271 is a reply to message #58125] Tue, 22 January 2008 14:47 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
robinson.inj@gmail.com writes:

> 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)
> My image has 3000 col x 1500 lin. The pix resolution is 463.3127
> meters.

I get an image resolution of 2999 x 1499 when I take
the corner coordinates, subtract them, and divide
by the pixel resolution. The fact that ENVI and IDL
agree is a good thing, but in all of the GeoTIFF
files I've been working, with doing this arithmetic
gives me the image size exactly. So, that concerns
me.

> 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)

Unless you are using the *completely* wrong map projection
(how did you determine what this is?), then it looks to me
like you didn't convert the corners you thought you were
converting.

But I would like to see the listgeo output to know
what I am dealing with here.

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.")
[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: Sun Oct 12 02:22:21 PDT 2025

Total time taken to generate the page: 0.39938 seconds