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

Home » Public Forums » archive » shifted .kml created with IDL
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: shifted .kml created with IDL [message #81041 is a reply to message #80955] Tue, 31 July 2012 09:36 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
David Fanning writes:

> I'm not sure if these are the *centers* of the corner
> pixels or the outside edge. I would probably get this
> information directly from the GeoTiff file. If you did,
> you would be getting the outside edge boundaries.
>
> In other words, you can get this information from the
> GeoTiff structure using tie points, the scale in the
> X and Y direction, and the size of the image. All info
> that is available for the GeoTiff file:
>
> http://www.idlcoyote.com/map_tips/pixel_to_ll.html

All this boundary information is more easily obtained
with the Coyote Library routine FindMapBoundary, of course:

void = FindMapBoundary(geoTiffFile, b, XRANGE=xr, YRANGE=yr)

The boundary is in the variable b. Or you can use the ranges.
Same numbers, just presented differently, depending on what
you need.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.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
Read Message
Previous Topic: Re: max_value/min_value in the x-axis?
Next Topic: IDL User Group Meeting 2012

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

Current Time: Fri Oct 10 04:47:36 PDT 2025

Total time taken to generate the page: 0.56190 seconds