[postgis-users] create multipolygon

Maxime van Noppen maxime at altribe.org
Thu Sep 24 06:00:37 PDT 2009


eehab hamzeh wrote:
> SELECT ST_Multi(ST_Union(the_geom)) FROM faces_obj;
> 
> "MULTIPOLYGON(((-14161.75 1941.76 2750,-14161.75 2241.76 2750,-9336.75 2241.76 2600,-9336.75 1941.76 2750,-14161.75 1941.76 2600)))"
> 
> these polygons are representing 3D box
> 
> i need them to be as one record (mutlipolygon insted of having them in as faces in several rows.

What is the problem with the result ?

-- 
Maxime



More information about the postgis-users mailing list