|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.model.geometry.PostGISAdapter
| Constructor Summary | |
PostGISAdapter()
|
|
| Method Summary | |
private static GM_Curve |
createCurve(LineString lineString,
CS_CoordinateSystem crs)
creates a deegree curve from a PostGIS linestring |
private static GM_MultiCurve |
createMultiCurve(MultiLineString mlinestring,
CS_CoordinateSystem crs)
creates a deegree multi curve from a PostGIS multi lineString |
private static GM_MultiPoint |
createMultiPoint(MultiPoint mpoint,
CS_CoordinateSystem crs)
creates a deegree multi point from a PostGIS multi point |
private static GM_MultiSurface |
createMultiSurface(MultiPolygon mpolygon,
CS_CoordinateSystem crs)
creates a deegree multi surface from a PostGIS multi polygon |
private static GM_Point |
createPoint(Point ppoint,
CS_CoordinateSystem crs)
creates a deegree point from a PostGIS point |
private static GM_Surface |
createSurface(Polygon polygon,
CS_CoordinateSystem crs)
creates a deegree surface from a PostGIS polygon |
private static LineString |
export(GM_Curve curve)
transforms the passed deegree GM_Curve to a postgis LineString |
private static MultiLineString |
export(GM_MultiCurve mcurve)
transforms the passed deegree GM_MultiCurve to a postgis MultiLineString |
private static MultiPoint |
export(GM_MultiPoint mpoint)
transforms the passed deegree GM_MultiPoint to a postgis multipoint |
private static MultiPolygon |
export(GM_MultiSurface msurface)
transforms the passed deegree GM_MultiSurface to a postgis MultiPolygon |
static Geometry |
export(GM_Object geom)
exports the passed deegree geometry as the corresponding postgis geometry |
private static Point |
export(GM_Point point)
transforms the passed deegree GM_Point to a postgis point |
private static Polygon |
export(GM_Surface surface)
transforms the passed deegree GM_Surface to a postgis Polygon |
static GM_Object |
wrap(PGgeometry geom,
CS_CoordinateSystem crs)
creates a deegree geometry from the passed postgis geometry and CRS |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PostGISAdapter()
| Method Detail |
public static GM_Object wrap(PGgeometry geom,
CS_CoordinateSystem crs)
throws GM_Exception
geom - postgis geometrycrs - coordinate reference system
GM_Exception
public static Geometry export(GM_Object geom)
throws GM_Exception
geom - deegree geometry
GM_Exception
private static GM_Point createPoint(Point ppoint,
CS_CoordinateSystem crs)
throws GM_Exception
ppoint - postgis point
GM_Exception
private static GM_Curve createCurve(LineString lineString,
CS_CoordinateSystem crs)
throws GM_Exception
lineString - postgis linestring
GM_Exception
private static GM_Surface createSurface(Polygon polygon,
CS_CoordinateSystem crs)
throws GM_Exception
polygon - postgis polygon
GM_Exception
private static GM_MultiPoint createMultiPoint(MultiPoint mpoint,
CS_CoordinateSystem crs)
throws GM_Exception
mpoint - postgis multi point
GM_Exception
private static GM_MultiCurve createMultiCurve(MultiLineString mlinestring,
CS_CoordinateSystem crs)
throws GM_Exception
mlinestring - postgis multi lineString
GM_Exception
private static GM_MultiSurface createMultiSurface(MultiPolygon mpolygon,
CS_CoordinateSystem crs)
throws GM_Exception
mpolygon - postgis multi polygon
GM_Exception
private static Point export(GM_Point point)
throws GM_Exception
point - deegree GM_Point
GM_Exception
private static LineString export(GM_Curve curve)
throws GM_Exception
curve - deegree GM_Curve
GM_Exception
private static Polygon export(GM_Surface surface)
throws GM_Exception
surface - deegree GM_Surface
GM_Exception
private static MultiPoint export(GM_MultiPoint mpoint)
throws GM_Exception
mpoint - deegree GM_MultiPoint
GM_Exception
private static MultiLineString export(GM_MultiCurve mcurve)
throws GM_Exception
mcurve - deegree GM_MultiCurve
GM_Exception
private static MultiPolygon export(GM_MultiSurface msurface)
throws GM_Exception
msurface - deegree GM_MultiSurface
GM_Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||