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

Home » Public Forums » archive » Making big triangle (FOV)
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: Making big triangle (FOV) [message #82318 is a reply to message #82247] Thu, 06 December 2012 05:53 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
zolilemtumela@gmail.com writes:

> I have been trying to link this arc function and the program to a map program. I want to plot the FOV in a map with the mentioned coordinates, but the program is not doing that. I suspect that I am not calling the first program in a right way. I real need help, and suggestions please.

I think that the program is working OK, except
that you are drawing the FOV in device coordinates,
and you want to draw it (or, at least position
it) in map data coordinates. Then you have to decide
what units your radius is in. If you change to data
coordinates 220 is presumably in degrees, which makes
a pretty big arc on a map!

I set the radius to 5 degrees, and removed the DEVICE
keywords in TEST_FOV, and I seem to get a reasonable
arc centered at Goose Bay.

If you wanted to draw the arc in device coordinates,
then you could use Coord_Convert to convert your
map data locations to device coordinates before you
do the drawing. You will also need to do the same thing
for the radius value.

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: good mapping tutorial?
Next Topic: Displaying Cartesian coordinate data on a sphere

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

Current Time: Sat Oct 11 06:29:55 PDT 2025

Total time taken to generate the page: 1.52099 seconds