|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.data.h2.JTS
public class JTS
Static collection of JTS operations.
Constructor Summary | |
---|---|
JTS()
|
Method Summary | |
---|---|
static java.lang.String |
AsWKT(byte[] wkb)
Returns the Well Known Text of the geometry. |
static com.vividsolutions.jts.geom.Envelope |
Envelope(byte[] wkb)
Returns the envelope for a geometry. |
static java.lang.String |
EnvelopeAsText(byte[] wkb)
Returns the text representation of the envelope of the geometry. |
static java.lang.String |
GeometryType(byte[] wkb)
Returns the type of the geometry as a string. |
static byte[] |
GeomFromText(java.lang.String wkt,
int srid)
Reads a geometry from its well known text representation, specifying an srid. |
static byte[] |
GeomFromWKB(byte[] wkb)
|
static java.lang.String |
GeoToolsVersion()
Returns the current GeoTools version. |
static int |
GetSRID(byte[] wkb)
Returns the spatial reference identifier for the geometry. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JTS()
Method Detail |
---|
public static java.lang.String GeoToolsVersion()
public static java.lang.String AsWKT(byte[] wkb)
public static java.lang.String EnvelopeAsText(byte[] wkb)
public static byte[] GeomFromText(java.lang.String wkt, int srid)
wkt
- The well known text of the geometry.srid
- The srid of the geometry
public static byte[] GeomFromWKB(byte[] wkb)
public static int GetSRID(byte[] wkb)
This method will return -1 if wkb is null
.
wkb
- The geometry.
public static com.vividsolutions.jts.geom.Envelope Envelope(byte[] wkb)
This method will return an "null" envelope (Envelope.setToNull()
)
if wkb is null
.
wkb
- The geometry.
public static java.lang.String GeometryType(byte[] wkb)
This method returns null
when wkb is null
.
wkb
- The geometry.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |