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

Home » Public Forums » archive » MAP_CONTINENTS with MAP_PROJ_INIT created !Map
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
MAP_CONTINENTS with MAP_PROJ_INIT created !Map [message #63819] Wed, 19 November 2008 08:31
mike.otepka is currently offline  mike.otepka
Messages: 2
Registered: November 2008
Junior Member
Hi all,

Here's what I know how to do w.r.t. mapping continents onto an image
(i.e. using MAP_SET):

IDL> window,/f,xs=<xdim>,ys=<ydim>
IDL> map_set,ctrlat,ctrlon,/projection_name,/noborder,/horiz, $
xmargin=[0,0],ymargin=[0,0],limit=
[latmin,lonmin,latmax,lonmax]
IDL> tv, image
IDL> map_continents



Is there a way to do this using MAP_PROJ_INIT to create my !Map
variable rather than MAP_SET?
Here's what I've got so far:

IDL> map = map_proj_init(projection_name, $
limit=[latmin,lonmin,latmax,lonmax], $
center_latitude =ctrlat, $
center_longitude=ctrlon,
$
/GCTP)

(Yeah, I know, not much.)

According to IDL Help, MAP_PROJ_FORWARD or MAP_PROJ_INVERSE need to
come into play but I don't really see how.

Any direction would be much appreciated.

Thanks!

-Mike
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: reading slices of FITS files
Next Topic: Re: IDL Virtual Machine Woes

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

Current Time: Wed Oct 08 19:33:41 PDT 2025

Total time taken to generate the page: 0.00600 seconds