Gamma DIFF Reference Manual: mk_kml


mk_kml

Perl Script: mk_kml

NAME
mk_kml -  Generate a Google Earth kml file for an JPEG, PNG, or BMP format image in geographic (lat/lon) EQA projection

SYNOPSIS
mk_kml <DEM_par> <image> <kml>

<DEM_par>  (input) DEM parameter file with image dimensions
<image> (input) image in geometry described by DEM_par (JPEG, PNG, BMP format)
<kml> (output) kml format output file

EXAMPLE

mk_kml hector_eqa_seg.dem_par 19990915_19991020_eqa.adf.diff.jpg hector.kml

Generates a kml file compatible with Google earth to display the image 19990915_19991020_eqa.adf.diff.jpg.
The image geometry is given by the hector_eqa_seg.dem_par file.

DESCRIPTION

This script extracts the DEM parameters from the DEM parameter file and writes them into an kml file using xml syntax. If other functions are required the script can be modified to support.  When specifying the kml file to google earth the complete path must be specified to be correctly read:

googleearth /media/d1/ERS/Hector_Mine_20110523/geo/hector.kml

The kml file, image and the DEM parameter file should be colocated in the same directory.


Copyright for Documentation, Users Guide and Reference Manual by Gamma Remote Sensing, 2011. CW,
last change 7-Jun-2011