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

Home » Public Forums » archive » mapping/zooming
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: mapping/zooming [message #4897 is a reply to message #4804] Fri, 11 August 1995 00:00 Go to previous message
svenw is currently offline  svenw
Messages: 2
Registered: August 1995
Junior Member
delp@vexcel.com (Steve Delp) writes:


> I'm trying to display a map of the north polar region.
> First, I'd like to have the window initialized with the continents between 55-90
> degrees lat displayed. I've tried
> map_set, 90, /grid, /continent, /azimuthal, limit=[55,-180,90,180]
> but I get floating point errors. Any ideas?

I'm no expert on projections, but you can't have the north pole as a center.
Try using 89 instead of 90, but the map will probably look somewhat distorted.

> Second, I'd like to draw a bounding box and have it's contents zoomed to fill the display.
> I've written the code to draw the bounding box, I'm assuming that all I need to do is
> recreate my map projection with the new center and dimension parameters. Is this correct?

I think so..

> Third, does IDL provide routines to convert screen coordinates to lat/lon in a given
> projection (and vice-versa)?

Yes, convert_coord does that. Just make sure where your point of origin is.
xv has its origin in the upper-left corner.
--
Sven Wallman http://www.update.uu.se/~svempa/
"Of what importance is mere money -
when there are worlds to be conquered -
people to be enslaved?" -- Doctor Doom
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: 3D segmentation of MRIs
Next Topic: mapping/zooming

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

Current Time: Fri Oct 10 10:30:48 PDT 2025

Total time taken to generate the page: 0.47892 seconds