Re: mapping/zooming [message #4897 is a reply to message #4804] |
Fri, 11 August 1995 00:00  |
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
|
|
|