org.postgis
public class PGgeometry extends org.postgresql.util.PGobject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SRIDPREFIX
The prefix that indicates SRID presence
|
Constructor and Description |
---|
PGgeometry() |
PGgeometry(Geometry geom) |
PGgeometry(java.lang.String value) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
static Geometry |
geomFromString(java.lang.String value) |
static Geometry |
geomFromString(java.lang.String value,
BinaryParser bp)
Maybe we could add more error checking here?
|
static Geometry |
geomFromString(java.lang.String value,
BinaryParser bp,
boolean haveM) |
static Geometry |
geomFromString(java.lang.String value,
boolean haveM) |
Geometry |
getGeometry() |
int |
getGeoType() |
java.lang.String |
getValue() |
void |
setGeometry(Geometry newgeom) |
void |
setValue(java.lang.String value) |
static java.lang.String[] |
splitSRID(java.lang.String whole)
Splits a String at the first occurrence of border charachter.
|
java.lang.String |
toString() |
public static final java.lang.String SRIDPREFIX
public PGgeometry()
public PGgeometry(Geometry geom)
public PGgeometry(java.lang.String value) throws java.sql.SQLException
java.sql.SQLException
public void setValue(java.lang.String value) throws java.sql.SQLException
setValue
in class org.postgresql.util.PGobject
java.sql.SQLException
public static Geometry geomFromString(java.lang.String value) throws java.sql.SQLException
java.sql.SQLException
public static Geometry geomFromString(java.lang.String value, boolean haveM) throws java.sql.SQLException
java.sql.SQLException
public static Geometry geomFromString(java.lang.String value, BinaryParser bp) throws java.sql.SQLException
java.sql.SQLException
public static Geometry geomFromString(java.lang.String value, BinaryParser bp, boolean haveM) throws java.sql.SQLException
java.sql.SQLException
public Geometry getGeometry()
public void setGeometry(Geometry newgeom)
public int getGeoType()
public java.lang.String toString()
toString
in class org.postgresql.util.PGobject
public java.lang.String getValue()
getValue
in class org.postgresql.util.PGobject
public java.lang.Object clone()
clone
in class org.postgresql.util.PGobject
public static java.lang.String[] splitSRID(java.lang.String whole) throws java.sql.SQLException
java.sql.SQLException
Copyright © 2016. All Rights Reserved.