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