oracle.spatial.util
Class KML2
java.lang.Object
oracle.spatial.util.KML2
public class KML2
- extends java.lang.Object
|
Field Summary |
protected static java.sql.Connection |
_conn
|
protected static java.lang.String |
_srsAlias
|
protected static java.lang.String |
_srsNameSpace
|
|
Constructor Summary |
KML2()
|
|
Method Summary |
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(oracle.spatial.geometry.JGeometry theGeom,
int numDim)
|
protected boolean |
geometryHasEtypeZero(oracle.spatial.geometry.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(oracle.spatial.geometry.JGeometry theGeom)
|
static java.lang.String |
to_KMLGeometry(oracle.sql.STRUCT geom)
|
static java.lang.String |
to_KMLGeometry(oracle.sql.STRUCT geom,
java.lang.String srsNameSpace,
java.lang.String srsAlias)
|
static oracle.sql.CLOB |
to_KMLGeometryCLOB(oracle.sql.STRUCT geom)
|
static oracle.sql.CLOB |
to_KMLGeometryCLOB(oracle.sql.STRUCT geom,
java.lang.String srsNameSpace,
java.lang.String srsAlias)
|
protected void |
toKML(int level,
oracle.spatial.geometry.JGeometry theGeom,
java.lang.StringBuffer kmlout)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_conn
protected static java.sql.Connection _conn
_srsNameSpace
protected static java.lang.String _srsNameSpace
_srsAlias
protected static java.lang.String _srsAlias
KML2
public KML2()
setConnection
public static void setConnection(java.sql.Connection conn)
setsrsNameSpace
public static void setsrsNameSpace(java.lang.String srsNameSpace)
setsrsAlias
public static void setsrsAlias(java.lang.String srsAlias)
CCWOutputRectangle
protected void CCWOutputRectangle(int numDim,
double[] theOrdinates,
int startOrdOffset,
java.lang.StringBuffer kmlStream)
throws java.io.IOException
- Throws:
java.io.IOException
CWOutputRectangle
protected void CWOutputRectangle(int numDim,
double[] theOrdinates,
int startOrdOffset,
java.lang.StringBuffer kmlStream)
throws java.io.IOException
- Throws:
java.io.IOException
outputCoordinates
protected void outputCoordinates(int numDim,
int numPoints,
double[] theOrdinates,
int startOrdOffset,
java.lang.StringBuffer kmlStream)
throws java.io.IOException
- Throws:
java.io.IOException
geometryHasArcs
protected boolean geometryHasArcs(oracle.spatial.geometry.JGeometry theGeom,
int numDim)
geometryHasEtypeZero
protected boolean geometryHasEtypeZero(oracle.spatial.geometry.JGeometry theGeom)
toKML
protected void toKML(int level,
oracle.spatial.geometry.JGeometry theGeom,
java.lang.StringBuffer kmlout)
throws java.sql.SQLException,
java.io.IOException,
oracle.spatial.geometry.DataException,
java.lang.Exception
- Throws:
java.sql.SQLException
java.io.IOException
oracle.spatial.geometry.DataException
java.lang.Exception
to_KMLGeometryCLOB
public 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
- Throws:
java.sql.SQLException
java.io.IOException
java.lang.Exception
to_KMLGeometry
public 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
- Throws:
java.sql.SQLException
java.io.IOException
java.lang.Exception
to_KMLGeometry
public static java.lang.String to_KMLGeometry(oracle.sql.STRUCT geom)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException
to_KMLGeometryCLOB
public static oracle.sql.CLOB to_KMLGeometryCLOB(oracle.sql.STRUCT geom)
throws java.sql.SQLException,
java.io.IOException,
java.lang.Exception
- Throws:
java.sql.SQLException
java.io.IOException
java.lang.Exception
to_KMLGeometry
public static java.lang.String to_KMLGeometry(oracle.spatial.geometry.JGeometry theGeom)
throws java.sql.SQLException,
java.io.IOException
- Throws:
java.sql.SQLException
java.io.IOException