Unidata IDV Workshop for version 6.2u2 > Accessing and Displaying Data > Saving State, Views and Data
3.6.5 Image Capture
In this section, we will cover how to capture images within the IDV.
- If you have nothing displayed, then load in the bundle that we previously created.
- Select the menu item. In the
File Dialog
choose workshop.xidv
from your home directory.
- Select the menu item from
the map view's menu bar. The
File Dialog
will popup.
- The IDV requires that the window you are capturing an image in is not
obscured. Move any other windows out of the way.
- You can save an image as a jpg, gif or png. Make sure you are in the directory
/home/idv
.
Enter the name workshop.jpg
. Click Save
.
- Let's capture the full window. From the File Dialog enter
fullwindow.png
and select the Full Window
button on the left.
- The IDV treats image files as yet another data source. Load
in the newly created images by:
- Open the
Data Choosers
.
- Go to the
Files
tab.
- Make sure you are in your home directory.
- Select
workshop.jpg
and wholewindow.png
with a control-click
- Since images are not geo-located we can only display
the image in the
Omni Control
. Create this display.
- Now, let's save this image as a Google Earth kmz file.
- When we capture an image for Google Earth we have to make sure we are using a Lat/Lon projection
in an overhead view.
- The easiest way to do that is to select the menu.
- Select the menu item and enter
workshop.kmz
.
- A reminder is shown about the Lat/Lon projection.
- From a terminal window bring up Google Earth and Open this kmz file.
- The IDV can also read in Google Earth kml/kmz files.
- From the IDV Data Source Chooser select the
workshop.kmz
file.
- From the field selector create an Image display.
Unidata IDV Workshop for version 6.2u2 > Accessing and Displaying Data > Saving State, Views and Data