jwo.landserf.process.io
Class KMZWriter

java.lang.Object
  extended by jwo.landserf.process.io.KMZWriter

public class KMZWriter
extends Object

Allows an image or collection of images to be written out as a single KMZ file for display in GoogleEarth and similar applications.

Version:
2.3, 23rd March, 2007.
Author:
Jo Wood

Constructor Summary
KMZWriter(String fileName, GraphicsArea graphicsArea, String title)
          Creates a new writer based on the image displayed in the given GraphicsArea.
 
Method Summary
 boolean writeToKMZ()
          Writes the image(s) out as a KMZ file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KMZWriter

public KMZWriter(String fileName,
                 GraphicsArea graphicsArea,
                 String title)
Creates a new writer based on the image displayed in the given GraphicsArea.

Parameters:
fileName - Name of KMZ file to write.
graphicsArea - Graphics area containing image to write.
title - Title to be attached to KMZ nodes.
Method Detail

writeToKMZ

public boolean writeToKMZ()
Writes the image(s) out as a KMZ file.

Returns:
True if KMZ file created successfully.


Copyright Jo Wood, 1996-2009, last modified, 17th April, 2009