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

Home » Public Forums » archive » Re: map_proj_inverse question
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_proj_inverse question [message #74385 is a reply to message #74384] Wed, 12 January 2011 10:53 Go to previous messageGo to previous message
natha is currently offline  natha
Messages: 482
Registered: October 2007
Senior Member
Thank you David, I can get the lat/lon values of the mouse position
doing:

result=CONVERT_COORD(event.X,event.Y,/DEVICE,/TO_DATA)

The problem I have is that my map coordinate system is not set up. So
when I call CONVERT_COORD I obtain the following message :
% CONVERT_COORD: Window is closed and unavailable.

I'm creating my images in a Z-buffer and when I restore the X device I
lose the map coordinate system. However, I have a copy of the !map
structure.

Is there a way to retrieve the lat/lon without using CONVERT_COORD ?

Thank you,
nata
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Extracting cluster indices from a dendrogram
Next Topic: Re: FFT of gaussian

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

Current Time: Sat Oct 11 18:38:12 PDT 2025

Total time taken to generate the page: 0.00200 seconds