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

Home » Public Forums » archive » Re: Get Latitude and Longitude from Tiff files
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: Get Latitude and Longitude from Tiff files [message #54781 is a reply to message #54541] Tue, 03 July 2007 01:08 Go to previous message
titan is currently offline  titan
Messages: 59
Registered: March 2006
Member
On Jun 27, 5:33 am, David Fanning <n...@dfanning.com> wrote:
> Lucia writes:
>> I wonder how to get latitude and longitude of each point of the files
>> (such as tiff format) that have already included detailed projection
>> parameters.
>
> I presume you mean a GEOTiff file, not just a TIFF file.
> You can presumably pull the information you need out of
> the GeoTiff file itself. Here is an example written for
> a slightly different reason that will give you some idea
> of how to go about this:
>
> http://www.dfanning.com/map_tips/geotiffreg.html
>
> 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.")


I have the same problem and I tried to follow the example mentioned
before but unfortunately the informations I have are different:
GeoTiff image Structure
** Structure <9d0b28c>, 6 tags, length=140, data length=138, refs=1:
MODELTRANSFORMATIONTAG
DOUBLE Array[4, 4]
GTMODELTYPEGEOKEY
INT 2
GTRASTERTYPEGEOKEY
INT 1
GEOGRAPHICTYPEGEOKEY
INT 4326
GEOGLINEARUNITSGEOKEY
INT 9001
GEOGANGULARUNITSGEOKEY
INT 9102

In this case are there any possibilities to obtain latitude and
longitude of each point of the GEOtiff image??
Thank you
[Message index]
 
Read Message
Read Message
Previous Topic: four corners for lat & long pixels
Next Topic: Re: help with chunk indexing

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

Current Time: Fri Oct 10 17:45:07 PDT 2025

Total time taken to generate the page: 0.56402 seconds