[postgis-users] Problem with slow GeomUnion (geom, geom)
Matt Doughty
matt.doughty at geograma.com
Fri Jun 1 01:06:38 PDT 2007
Hi,
I'm having some problems with the GeomUnion (geometry, geometry)
function- basically that it takes forever and eventually crashes out for
lack of memory.
I'm trying to perform a union on two polygon tables (of 9,000 and 200
rows respectively), which are indexed on the geometry column, and
vacuumed too. The command I'm trying to run is:
SELECT
table1.name AS t1_name,
table2.name AS t2_name,
GeomUnion(table1.the_geom, table2.the_geom)
INTO
table_union
FROM
table1, table2;
>From what I can gather, it shouldn't be that demanding. In Kosmo the
same operation takes less than 30 seconds (although it only lets you
maintain the attributes from one of the tables). Is it just that the
function takes a very long time or should I perform other functions
before carry out the GeomUnion??
All help greatly appreciated!!
Matt
Matt Doughty
GEOGRAMA S.L.
Tel.: +34 945 13 13 72 652 77 14 15
Fax: +34 945 23 03 40
www.geograma.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070601/f7859f07/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 3743 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20070601/f7859f07/attachment.jpg>
More information about the postgis-users
mailing list