[postgis-users] [PostGIS 1.0.1] unite_garray:: operation not implemented - compile PostGIS with JTS or GEOS support

Jérôme Tricand de la Goutte jdelagou at logatique.fr
Sun Jun 19 07:09:42 PDT 2005


Hi all,

I'm new on this list and quite new on using Postgis.

I've just installed on my debian sarge box:
- Postgres 7.4.7 (debian package)

- GEOS 2.1.2 (debian package)
#geos-config --libs gives
-L/usr/local/lib -lgeos

- PROJ 4.4.9
#proj     give
Rel. 4.4.9, 29 Oct 2004
usage: proj [ -beEfiIlormsStTvVwW [args] ] [ +opts[=arg] ] [ files ]

- Postgis 1.0.1
configured by LDFLAGS=-lstdc++ ./configure  --enable-multibyte --with-CXX
-prefix=/usr --sysconfdir=/etc --docdir=/usr/share/doc/postgresql
--without-readline --without-zlib

I create a database using:
createdb testsvg
createlang plpgsql testsvg
psql -d testsvg -f postgis.sql
psql -d testsvg spatial_ref_sys.sql

Then, I created and fill a test table:
CREATE TABLE test (id INTEGER PRIMARY KEY, genre text, geom geometry);
INSERT INTO test VALUES ( 3, 'poly1', GeometryFromText( 'POLYGON((10 10,40
20,35 8,12 4,10 10))', -1 ) );
INSERT INTO test VALUES ( 4, 'poly2', GeometryFromText( 'POLYGON((10 40,20
30,30 40,40 35,50 60,35 80,20 60,10 40))', -1 ) );

But, when I tried this query:
select GeomUnion(geom) from test;

Posgres answer "unite_garray:: operation not implemented - compile PostGIS
with JTS or GEOS support"

What's wrong?

Thanks


-- 
Jérôme Tricand de la Goutte
Logatique / Groupe Projipe         www.logatique.fr
50, Rue Marcel Dassault            jerome.delagoutte at logatique.fr
92100 Boulogne Billancourt         tel 01 46 21 59 59
France                             fax 01 46 21 84 94






More information about the postgis-users mailing list