org.pentaho.di.core.geospatial
Class KMLWriter

java.lang.Object
  extended by org.pentaho.di.core.geospatial.KMLWriter

public class KMLWriter
extends Object

Writes data to a KML (Keyhole Markup File) file.

Since:
21-oct-2009
Author:
tpelletierdoisy, eleprince, tbadard

Field Summary
 File file
           
 de.micromata.opengis.kml.v_2_2_0.Kml kml
           
 
Constructor Summary
KMLWriter(URL fileURL)
           
 
Method Summary
 boolean checkKmlPossibility(RowMetaInterface fields)
           
 boolean close()
           
 void createNewPlacemark(Object[] r)
           
 String getVersionInfo()
           
 boolean hasError()
           
 void open()
           
 void visionTable(RowMetaInterface fields)
           
 void write()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

file

public File file

kml

public de.micromata.opengis.kml.v_2_2_0.Kml kml
Constructor Detail

KMLWriter

public KMLWriter(URL fileURL)
Method Detail

open

public void open()
          throws KettleException
Throws:
KettleException

createNewPlacemark

public void createNewPlacemark(Object[] r)
                        throws FileNotFoundException
Throws:
FileNotFoundException

checkKmlPossibility

public boolean checkKmlPossibility(RowMetaInterface fields)

visionTable

public void visionTable(RowMetaInterface fields)
                 throws KettleException
Throws:
KettleException

write

public void write()
           throws KettleException
Throws:
KettleException

close

public boolean close()

hasError

public boolean hasError()

getVersionInfo

public String getVersionInfo()