[postgis-users] error in using Contains command

david techer davidtecher at yahoo.fr
Sun Aug 21 11:09:09 PDT 2005


Hi

fisrt all do

select postgis_full_version()

to see if postgis was compiled using proj and geos

I think U installed proj and geos using classical commands:

./configure && make && make install

so try for postgis

Use ./configure --with-proj=/usr/local 
--with-geos=/usr/local/bin/geos-config

> 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 ?
>
> regards
>
> Ahmet Temiz
>
> ______________________________________
> XamimeLT - installed on mailserver for domain @deprem.gov.tr
> Queries to: postmaster at deprem.gov.tr
> ______________________________________
> The views and opinions expressed in this e-mail message are the 
> sender's own
> and do not necessarily represent the views and the opinions of 
> Earthquake Research Dept.
> of General Directorate of Disaster Affairs.
>
> Bu e-postadaki fikir ve gorusler gonderenin sahsina ait olup, yasal 
> olarak T.C.
> B.I.B. Afet Isleri Gn.Mud. Deprem Arastirma Dairesi'ni baglayici 
> nitelikte degildir.
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>


	

	
		
___________________________________________________________________________ 
Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger 
Téléchargez cette version sur http://fr.messenger.yahoo.com



More information about the postgis-users mailing list