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 #73790 is a reply to message #73789] Sat, 27 November 2010 12:06 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Nov 27, 4:53 pm, mankoff <mank...@gmail.com> wrote:
> 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?

It seems that map_proj_forward() can do what you want, you are just
not giving it the right projection parameters. What is in the geotiff
structure?
[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: Sat Oct 11 07:54:14 PDT 2025

Total time taken to generate the page: 2.95792 seconds