Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

Re: [idvusers] overlays - isl


How do i add an overlay to a image in isl. I have read though the
manuel, but can't get it to work.
Below is the script i would like to add it to <?xml version="1.0" encoding="ISO-8859-1"?>
<isl debug="true" loop="1" offscreen="true" sleep="60.0minutes">
<bundle clear="true" file="${islpath}/MSLP_06_GFS.xidv" wait="true"
width="500" height="420"/> <image file="C:\MODELGFS05_GRIB2\DATA\UK\IMAGES\MSLP_06_GFS.png"/>
</isl>

Hi Ian,
The user guide has a section on this:
http://www.unidata.ucar.edu/software/idv/release/nightly/docs/userguide/isl/ImagesAndMovies.html
And there are examples in the workshop materials:
http://www.unidata.ucar.edu/software/idv/docs/workshop/isl/ManipulatingImages.html

Basically change your image tag to be:
<image file="C:\MODELGFS05_GRIB2\DATA\UK\IMAGES\MSLP_06_GFS.png">
<overlay image="http://www.unidata.ucar.edu/software/idv/logo.gif"; place="LL,10,-10" anchor="LL"/>
</image>


This will place the image in the lower left of the base image.

-Jeff





  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the idvusers archives: