[postgis-users] find single bbox of multiple objects

Richard Greenwood richard.greenwood at gmail.com
Sat Mar 31 11:05:22 PDT 2007


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



More information about the postgis-users mailing list