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

Home » Public Forums » archive » Error with MapProjection::Forward
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: Error with MapProjection::Forward [message #86678 is a reply to message #86670] Wed, 27 November 2013 12:50 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 I understand this question, but it is probably related to
> too much hard-coding of numbers in the code I wrote. I could make it
> more general by using the Keep_Aspect keyword on the cgImage command and
> by using the "output" position of the image in the window as the
> position for the map projection (with the OPOS keyword to cgImage). You
> can use the Aspect keyword to cgDisplay to match the aspect ratio of the
> image, if that is what you want.

I have updated this code to make the program a little more general in
nature.

http://www.idlcoyote.com/gallery/google_map_plot.zip

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Rounding errors and the New Graphics image routine
Next Topic: ENVI_OPEN_FILE not found

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

Current Time: Wed Oct 08 15:45:50 PDT 2025

Total time taken to generate the page: 0.00380 seconds