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

Home » Public Forums » archive » Re: Finding distance with longitude and latitude
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: Finding distance with longitude and latitude [message #83960] Tue, 16 April 2013 09:23 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
gpeterso@ucsc.edu writes:

> Thanks david, would you have any idea how to use the newfound distance to then graph the contour profile with?

Well, to be honest, I don't think I care about the distance at all if
"graphing" the contour profile is what I am after. Maybe I would use it
to label the graph.

I would probably display the great circle distance on the map by just
putting the profile on the map with cgPlotS, using the latitude and
longitude values you calculated, perhaps color coded with elevation
values. If I wanted to show more detail, I might add a plot of the
contour values at your profile locations just above the map.

I would also never write this program so that it has to use the Cursor
command. I'd write it as a widget program. This would make things *so
much* easier when you wanted to display the map and the contour profile
together in the same window. You could toggle between the map and the
map with contour profile, allow the user to draw multiple contour
profiles, and just generally have a LOT more control over what is
happening in your program. :-)

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
Previous Topic: How can I export a few million geocoded points from IDL to ArcMap?
Next Topic: Cubic root finding on a grid

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

Current Time: Wed Oct 08 17:17:23 PDT 2025

Total time taken to generate the page: 0.00543 seconds