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

Home » Public Forums » archive » Re: Returning Land Type
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: Returning Land Type [message #51826 is a reply to message #51800] Thu, 07 December 2006 06:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Lloyd writes:

> I'm struggling with a mapping problem. I've got the mapping routines
> running, but what I'd like to be able to do is to give IDL some
> coordinates (lat/long) and have it return the ground type (e.g.
> vegetation, ocean, snow, etc - maybe not that detailled).
>
> Has anyone come across this, or done something similar?

I'd be careful about confusing the data with the *display*
of the data. But, presuming you can distinguish these
properties on the basis of some property, say color,
you could take a snapshot of your entire window.
Then you could use CONVERT_COORD to convert your lat/lon
coordinates to device coordinates, and use those to
look up the color in your snapshot. That should tell
you how how that pixel is colored.

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
Previous Topic: 2006 IDL Christmas Card
Next Topic: Re: Average over odd/even lines

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

Current Time: Wed Oct 15 23:57:53 PDT 2025

Total time taken to generate the page: 0.47854 seconds