public class JTS extends Object
Constructor and Description |
---|
JTS() |
Modifier and Type | Method and Description |
---|---|
static String |
AsWKT(byte[] wkb)
Returns the Well Known Text of the geometry.
|
static Envelope |
Envelope(byte[] wkb)
Returns the envelope for a geometry.
|
static String |
EnvelopeAsText(byte[] wkb)
Returns the text representation of the envelope of the geometry.
|
static String |
GeometryType(byte[] wkb)
Returns the type of the geometry as a string.
|
static byte[] |
GeomFromText(String wkt,
int srid)
Reads a geometry from its well known text representation, specifying an srid.
|
static byte[] |
GeomFromWKB(byte[] wkb) |
static String |
GeoToolsVersion()
Returns the current GeoTools version.
|
static int |
GetSRID(byte[] wkb)
Returns the spatial reference identifier for the geometry.
|
public static String GeoToolsVersion()
public static String AsWKT(byte[] wkb)
public static String EnvelopeAsText(byte[] wkb)
public static byte[] GeomFromText(String wkt, int srid)
wkt
- The well known text of the geometry.srid
- The srid of the geometrypublic 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 Envelope Envelope(byte[] wkb)
This method will return an "null" envelope (Envelope.setToNull()
) if wkb
is null
.
wkb
- The geometry.public static String GeometryType(byte[] wkb)
This method returns null
when wkb is null
.
wkb
- The geometry.Copyright © 1996–2019 Geotools. All rights reserved.