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

Home » Public Forums » archive » Map_image questions
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: map_image [message #1912 is a reply to message #1344] Fri, 08 April 1994 00:47 Go to previous message
stl is currently offline  stl
Messages: 70
Registered: February 1994
Member
In article <2o1kru$okb@paperboy.gsfc.nasa.gov> fisher@echo.gsfc.nasa.gov (Brad L. Fisher) writes:
> ............................................ My question then is how do
> I get map_image to return the image with the map overlayed. Any help would
> be greatly appreciated.

hello,

well, as you realized, map_image just returns the image that can now
be displayed over your map (created with map_set).
First, create your map via map_set, creating continents, etc to your
liking. Then call map_image like the following:
wrapped_image = map_image(image,startx,starty,latmin = latmin,
latmax=latmax,lonmin=longmin, lonmax=longmax)
then to display this on top of your map, do the following:
tv,wrapped_image,startx,starty
then you may need (want) to redraw the grids or continents with map_grid
and map_continents.

Oh, just noticed almost this exact example is in the reference guide
under map_image.

If your question is how do you get the entire new image and the map into
one image, read it back from the screen with tvrd once you put it all
together. Or if you don't ever want it to appear on the screen, use a
pixmap instead of a visible window.

hope this helps, good luck,

-stephen

--
Stephen C Strebel / SKI TO DIE
stl@maz.sma.ch / and
Swiss Meteorological Institute, Zuerich / LIVE TO TELL ABOUT IT
01 256 93 85 / (and pray for snow)
[Message index]
 
Read Message
Read Message
Previous Topic: map_image
Next Topic: IDL (CL?) menu font question

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

Current Time: Fri Oct 10 13:40:34 PDT 2025

Total time taken to generate the page: 0.60720 seconds