[postgis-users] find single bbox of multiple objects
Obe, Regina
robe.dnd at cityofboston.gov
Sun Apr 1 00:25:56 PDT 2007
What about extent
SELECT extent(the_geom) from yourtable where id IN(1,2,3)
________________________________
From: postgis-users-bounces at postgis.refractions.net on behalf of Richard Greenwood
Sent: Sat 3/31/2007 2:05 PM
To: PostGIS Users Discussion
Subject: [postgis-users] find single bbox of multiple objects
I need to find the bounding box (minimum bounding rectangle) of a
group of objects. I am trying things like:
select box(the_geom) where id in (1, 2, 3);
Which gives me 3 boxes. But I want a single box representing the
bounds of all three objects.
Thanks,
Rich
--
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com
_______________________________________________
postgis-users mailing list
postgis-users at postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-----------------------------------------
The substance of this message, including any attachments, may be
confidential, legally privileged and/or exempt from disclosure
pursuant to Massachusetts law. It is intended
solely for the addressee. If you received this in error, please
contact the sender and delete the material from any computer.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070401/e45468bf/attachment.html>
More information about the postgis-users
mailing list