org.h2gis.drivers.kml
Class KMLWrite

java.lang.Object
  extended by org.h2gis.h2spatialapi.AbstractFunction
      extended by org.h2gis.drivers.kml.KMLWrite
All Implemented Interfaces:
Function, ScalarFunction

public class KMLWrite
extends AbstractFunction
implements ScalarFunction

SQL Function to export a spatial table to a KML file.

Author:
Erwan Bocher

Field Summary
 
Fields inherited from interface org.h2gis.h2spatialapi.ScalarFunction
PROP_DETERMINISTIC, PROP_NOBUFFER
 
Fields inherited from interface org.h2gis.h2spatialapi.Function
PROP_NAME, PROP_REMARKS
 
Constructor Summary
KMLWrite()
           
 
Method Summary
 String getJavaStaticMethod()
           
static void writeKML(Connection connection, String fileName, String tableReference)
          This method is used to write a spatial table into a KML file
 
Methods inherited from class org.h2gis.h2spatialapi.AbstractFunction
addProperty, getProperty, removeProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.h2gis.h2spatialapi.Function
getProperty
 

Constructor Detail

KMLWrite

public KMLWrite()
Method Detail

getJavaStaticMethod

public String getJavaStaticMethod()
Specified by:
getJavaStaticMethod in interface ScalarFunction

writeKML

public static void writeKML(Connection connection,
                            String fileName,
                            String tableReference)
                     throws SQLException,
                            IOException
This method is used to write a spatial table into a KML file

Parameters:
connection -
fileName -
tableReference -
Throws:
SQLException
IOException


Copyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.