|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.io.datastore.sql.postgis.PGgeometryAdapter
public class PGgeometryAdapter
Adapter between deegree Geometry
objects and PostGIS Geometry
objects.
Method Summary | |
---|---|
static org.postgis.PGboxbase |
export(Envelope envelope)
Converts a deegree Envelope instance to a corresponding PostGIS PGboxbase object. |
static org.postgis.PGgeometry |
export(Geometry geometry,
int srid)
Converts a deegree Geometry instance to a corresponding PostGIS PGgeometry object. |
static Geometry |
wrap(org.postgis.Geometry geometry,
CoordinateSystem crs)
Converts a PostGIS Geometry instance to a corresponding deegree Geometry object. |
static Geometry |
wrap(org.postgis.PGgeometry pgGeometry,
CoordinateSystem crs)
Converts a PostGIS PGGeometry instance to a corresponding deegree Geometry object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static org.postgis.PGgeometry export(Geometry geometry, int srid) throws GeometryException
Geometry
instance to a corresponding PostGIS PGgeometry
object.
geometry
- deegree Geometry
to be convertedsrid
- PostGIS SRS id that is used to store the geometry
Geometry
GeometryException
public static org.postgis.PGboxbase export(Envelope envelope) throws GeometryException
Envelope
instance to a corresponding PostGIS PGboxbase
object.
envelope
- deegree Envelope
to be converted
PGboxbase
GeometryException
public static Geometry wrap(org.postgis.PGgeometry pgGeometry, CoordinateSystem crs) throws GeometryException
PGGeometry
instance to a corresponding deegree Geometry
object.
pgGeometry
- PostGIS PGgeometry
to be convertedcrs
- coordinate system of the created deegree Geometry
object
Geometry
GeometryException
public static Geometry wrap(org.postgis.Geometry geometry, CoordinateSystem crs) throws GeometryException
Geometry
instance to a corresponding deegree Geometry
object.
geometry
- PostGIS PGgeometry
to be convertedcrs
- coordinate system of the created deegree Geometry
object
Geometry
GeometryException
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org