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

Home » Public Forums » archive » Re: Retrieve pixel values from GeoTIFF
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: Retrieve pixel values from GeoTIFF [message #73789 is a reply to message #73787] Sat, 27 November 2010 12:13 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
mankoff writes:

> I'm trying to get the pixel values (color) from a GeoTIFF file when I
> have lat,lon arrays. I have the projection set up using MAP_PROJ_INIT,
> and using MAP_PROJ_FORWARD I can convert from my latitude and
> longitude to map coordinates, but the map coordinates appear to be in
> units meter from some reference location. What is the best routine to
> convert from lat,lon (or u,v) to x,y indices?

I use GeoCoord from the Catalyst Library. It reads the
GeoTIFF file, and sets everything up for you automatically. :-)

Cheers,

David



--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://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
Previous Topic: Retrieve pixel values from GeoTIFF
Next Topic: IDL syntax coloring in BBEdit

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

Current Time: Wed Oct 29 01:12:53 PDT 2025

Total time taken to generate the page: 1.60247 seconds