org.pentaho.di.core.geospatial
Class KMLReader
java.lang.Object
org.pentaho.di.core.geospatial.KMLReader
public class KMLReader
- extends Object
Reads data from a KML (Keyhole Markup File) file.
- Since:
- 14-sep-2009
- Author:
- tpelletierdoisy, eleprince, tbadard
KMLReader
public KMLReader(URL fileURL)
open
public void open()
throws KettleException
- Throws:
KettleException
recolterGeometryJTS
public com.vividsolutions.jts.geom.Geometry[] recolterGeometryJTS(de.micromata.opengis.kml.v_2_2_0.Kml kml)
throws KettleException
- Throws:
KettleException
parcourirContainer
public void parcourirContainer(de.micromata.opengis.kml.v_2_2_0.Container cont)
parcourirDocument
public void parcourirDocument(de.micromata.opengis.kml.v_2_2_0.Document doc)
parcourirFolder
public void parcourirFolder(de.micromata.opengis.kml.v_2_2_0.Folder fold)
gestionGeometryJAK
public com.vividsolutions.jts.geom.Geometry gestionGeometryJAK(de.micromata.opengis.kml.v_2_2_0.Geometry g)
changementCoord
public com.vividsolutions.jts.geom.Coordinate[] changementCoord(List<de.micromata.opengis.kml.v_2_2_0.Coordinate> listJAK)
changeLinearRingJAKenJTS
public com.vividsolutions.jts.geom.LinearRing changeLinearRingJAKenJTS(de.micromata.opengis.kml.v_2_2_0.LinearRing l)
getFields
public RowMetaInterface getFields()
throws KettleException
- Throws:
KettleException
getRow
public Object[] getRow(RowMetaInterface fields)
throws KettleException
- Throws:
KettleException
getRow
public Object[] getRow(Object[] r)
throws KettleException
- Throws:
KettleException
close
public boolean close()
hasError
public boolean hasError()
toString
public String toString()
- Overrides:
toString
in class Object
getVersionInfo
public String getVersionInfo()
getKmlURL
public URL getKmlURL()
- Returns:
- the gisURL
setKmlURL
public void setKmlURL(URL kmlURL)
- Parameters:
gisURL
- the gisURL to set