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

Home » Public Forums » archive » Re: Map to data coordinate conversion
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: Map to data coordinate conversion [message #84034 is a reply to message #83925] Mon, 22 April 2013 05:20 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Fabien writes:

>
> On 04/18/2013 05:12 PM, Chris Torrence wrote:
>> i = image(FILEPATH('boulder.tif',SUBDIR=['examples','data']))
>> print, i.mapforward(-105,40)
>
> Wait. Does that mean that IDL now supports geotiff projections?
>
> How do I get the Geotiff projection parameters without image() ?
> Can I get a map structure?
>
> Something like:
> g = geotiff(FILEPATH('boulder.tif',SUBDIR=['examples','data']))
>
> map = g->getMap()
> truelat = g->getTrueLat()
>
> etc.
>
> ???

Something like this has been available with cgImage for quite some time,
too.

IDL> file = 'AF03sep15b.n16-VIg.tif'
IDL> cgImage, Filename=file, MapCoord=map
IDL> Help, map
MAP OBJREF = <ObjHeapVar11(CGMAP)>

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I need to bulid a digital phantom urgently, Thanks for help!
Next Topic: How to use IDL routines to estimate entropy

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

Current Time: Fri Oct 10 22:53:19 PDT 2025

Total time taken to generate the page: 0.55904 seconds