public class JtsGeometry
extends org.postgresql.util.PGobject
| Constructor and Description |
|---|
JtsGeometry()
Constructor called by JDBC drivers
|
JtsGeometry(org.locationtech.jts.geom.Geometry geom) |
JtsGeometry(String value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
static org.locationtech.jts.geom.Geometry |
geomFromString(String value) |
org.locationtech.jts.geom.Geometry |
getGeometry() |
String |
getValue() |
static void |
setSridRecurse(org.locationtech.jts.geom.Geometry geom,
int srid)
Recursively set a srid for the geometry and all subgeometries
|
void |
setValue(String value) |
String |
toString() |
public JtsGeometry()
public JtsGeometry(org.locationtech.jts.geom.Geometry geom)
public JtsGeometry(String value) throws SQLException
SQLExceptionpublic void setValue(String value) throws SQLException
setValue in class org.postgresql.util.PGobjectSQLExceptionpublic static org.locationtech.jts.geom.Geometry geomFromString(String value) throws SQLException
SQLExceptionpublic static void setSridRecurse(org.locationtech.jts.geom.Geometry geom,
int srid)
geom - Geometry to work onsrid - SRID to be set topublic org.locationtech.jts.geom.Geometry getGeometry()
public String toString()
toString in class org.postgresql.util.PGobjectpublic String getValue()
getValue in class org.postgresql.util.PGobjectpublic Object clone()
clone in class org.postgresql.util.PGobjectpublic boolean equals(Object obj)
equals in class org.postgresql.util.PGobjectCopyright © 2018. All rights reserved.