public class KML2
extends java.lang.Object| Modifier and Type | Field and Description |
|---|---|
protected static java.sql.Connection |
_conn |
protected static java.lang.String |
_srsAlias |
protected static java.lang.String |
_srsNameSpace |
| Constructor and Description |
|---|
KML2() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
CCWOutputRectangle(int numDim, double[] theOrdinates, int startOrdOffset, java.lang.StringBuffer kmlStream) |
protected void |
CWOutputRectangle(int numDim, double[] theOrdinates, int startOrdOffset, java.lang.StringBuffer kmlStream) |
protected boolean |
geometryHasArcs(JGeometry theGeom, int numDim) |
protected boolean |
geometryHasEtypeZero(JGeometry theGeom) |
protected void |
outputCoordinates(int numDim, int numPoints, double[] theOrdinates, int startOrdOffset, java.lang.StringBuffer kmlStream) |
static void |
setConnection(java.sql.Connection conn) |
static void |
setsrsAlias(java.lang.String srsAlias) |
static void |
setsrsNameSpace(java.lang.String srsNameSpace) |
static java.lang.String |
to_KMLGeometry(JGeometry theGeom)
Returns KML String object for the JGeometry Object.
|
static java.lang.String |
to_KMLGeometry(java.sql.Struct geom)
Returns KML String object for the java.sql.Struct Geometry Object.
|
static java.lang.String |
to_KMLGeometry(oracle.sql.STRUCT geom)
Deprecated.
|
static java.lang.String |
to_KMLGeometry(java.sql.Struct geom, java.lang.String srsNameSpace, java.lang.String srsAlias)
Returns KML String object for the java.sql.Struct Geometry Object with srsNameSpace and srsAlias.
|
static java.lang.String |
to_KMLGeometry(oracle.sql.STRUCT geom, java.lang.String srsNameSpace, java.lang.String srsAlias)
Deprecated.
|
static oracle.sql.CLOB |
to_KMLGeometryCLOB(java.sql.Struct geom)
Deprecated.
Use
to_KMLGeometryCLOBJS(java.sql.Struct) instead. |
static oracle.sql.CLOB |
to_KMLGeometryCLOB(oracle.sql.STRUCT geom)
Deprecated.
Use
to_KMLGeometryCLOBJS(java.sql.Struct) instead. |
static oracle.sql.CLOB |
to_KMLGeometryCLOB(java.sql.Struct geom, java.lang.String srsNameSpace, java.lang.String srsAlias)
Deprecated.
|
static oracle.sql.CLOB |
to_KMLGeometryCLOB(oracle.sql.STRUCT geom, java.lang.String srsNameSpace, java.lang.String srsAlias)
Deprecated.
|
static oracle.jdbc.OracleClob |
to_KMLGeometryCLOBJS(java.sql.Struct geom)
Returns KML OracleClob object for the java.sql.Struct Geometry Object.
|
static oracle.jdbc.OracleClob |
to_KMLGeometryCLOBJS(java.sql.Struct geom, java.lang.String srsNameSpace, java.lang.String srsAlias)
Returns KML OracleClob object for the java.sql.Struct Object with srsNameSpace and srsAlias.
|
protected void |
toKML(int level, JGeometry theGeom, java.lang.StringBuffer kmlout) |
protected static java.sql.Connection _conn
protected static java.lang.String _srsNameSpace
protected static java.lang.String _srsAlias
public static void setConnection(java.sql.Connection conn)
public static void setsrsNameSpace(java.lang.String srsNameSpace)
public static void setsrsAlias(java.lang.String srsAlias)
protected void CCWOutputRectangle(int numDim,
double[] theOrdinates,
int startOrdOffset,
java.lang.StringBuffer kmlStream)
throws java.io.IOException
java.io.IOExceptionprotected void CWOutputRectangle(int numDim,
double[] theOrdinates,
int startOrdOffset,
java.lang.StringBuffer kmlStream)
throws java.io.IOException
java.io.IOExceptionprotected void outputCoordinates(int numDim,
int numPoints,
double[] theOrdinates,
int startOrdOffset,
java.lang.StringBuffer kmlStream)
throws java.io.IOException
java.io.IOExceptionprotected boolean geometryHasArcs(JGeometry theGeom, int numDim)
protected boolean geometryHasEtypeZero(JGeometry theGeom)
protected void toKML(int level,
JGeometry theGeom,
java.lang.StringBuffer kmlout)
throws java.sql.SQLException,
java.io.IOException,
DataException,
java.lang.Exception
java.sql.SQLExceptionjava.io.IOExceptionDataExceptionjava.lang.Exceptionpublic static oracle.sql.CLOB to_KMLGeometryCLOB(oracle.sql.STRUCT geom,
java.lang.String srsNameSpace,
java.lang.String srsAlias)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
to_KMLGeometryCLOBJS(java.sql.Struct, String, String) instead.geom -srsNameSpace -srsAlias -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exceptionpublic static oracle.sql.CLOB to_KMLGeometryCLOB(java.sql.Struct geom,
java.lang.String srsNameSpace,
java.lang.String srsAlias)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
to_KMLGeometryCLOBJS(java.sql.Struct, String, String) instead.geom -srsNameSpace -srsAlias -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exceptionpublic static java.lang.String to_KMLGeometry(oracle.sql.STRUCT geom,
java.lang.String srsNameSpace,
java.lang.String srsAlias)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
geom -srsNameSpace -srsAlias -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exceptionpublic static java.lang.String to_KMLGeometry(java.sql.Struct geom,
java.lang.String srsNameSpace,
java.lang.String srsAlias)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
geom -srsNameSpace -srsAlias -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exceptionpublic static java.lang.String to_KMLGeometry(oracle.sql.STRUCT geom)
throws java.sql.SQLException,
java.io.IOException
geom -java.sql.SQLExceptionjava.io.IOExceptionpublic static java.lang.String to_KMLGeometry(java.sql.Struct geom)
throws java.sql.SQLException,
java.io.IOException
geom -java.sql.SQLExceptionjava.io.IOExceptionpublic static oracle.sql.CLOB to_KMLGeometryCLOB(oracle.sql.STRUCT geom)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
to_KMLGeometryCLOBJS(java.sql.Struct) instead.geom -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exceptionpublic static oracle.sql.CLOB to_KMLGeometryCLOB(java.sql.Struct geom)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
to_KMLGeometryCLOBJS(java.sql.Struct) instead.geom -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exceptionpublic static java.lang.String to_KMLGeometry(JGeometry theGeom) throws java.sql.SQLException, java.io.IOException
theGeom -java.sql.SQLExceptionjava.io.IOExceptionpublic static oracle.jdbc.OracleClob to_KMLGeometryCLOBJS(java.sql.Struct geom)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
geom -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exceptionpublic static oracle.jdbc.OracleClob to_KMLGeometryCLOBJS(java.sql.Struct geom,
java.lang.String srsNameSpace,
java.lang.String srsAlias)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
geom -srsNameSpace -srsAlias -java.sql.SQLExceptionjava.io.IOExceptionjava.lang.Exception