[postgis-users] postgis.jar

Markus Schaber schabi at logix-tt.com
Mon Jan 16 09:10:36 PST 2006


Hi, Gilbert,

Gilbert, Antoine wrote:

> Does there is a way from a PGgeometry or geometry object to extract a
> PGbox2d object?
> I know I could have used the sql function box2d(geometry), but I was
> wondering if I could do it directly from the object.

What do you mean with "extract"? Geometries and boxes are different
datatypes in PostgreSQL terms.

If you think of "calculating the bounding box", there currently is no
code to perform this.

It would be easy to add such code, however, so if you need it, I can
create a patch.

Schabi
-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



More information about the postgis-users mailing list