[postgis-users] error in using Contains command

strk at refractions.net strk at refractions.net
Fri Aug 19 12:35:46 PDT 2005


On Fri, Aug 19, 2005 at 05:15:28PM +0300, orkun wrote:
> hello
> 
> I compiled postgis  using "./configure --with-proj-libs=/usr/local/lib/ 
> --with-geos-libs=/usr/local/lib/",make ,make install" and
> I got no error.
> 
> But when I used sql commands as:
> 
> template1=# SELECT id, geom FROM gtest
> template1-# where geom && 'POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))'
> template1-# AND Contains(geom,'POLYGON((0 0, 0 10, 10 10, 10 0, 0 0))');
> ERROR:  contains:: operation not implemented - compile PostGIS with JTS 
> or GEOS support
> 
> 
> what might be the problem ?

I recognize none of the ./configure switches you used.
Did you run ./configure --help ?
Did you read the README file ?
What release are you referring about ?

--strk;



More information about the postgis-users mailing list