It's because the underlying JTS/GEOS operation doesn't support
GeometryCollections. And this in turn is because of the details of the
implementation - in particular, handling the situation where two
polygons overlap. It would require computing the overlay of the
polygons in order to detect the within condition at the point of overlap.
On 5/7/2012 7:52 AM, Hemin Tofiq wrote:
Hi,
The documentation about ST_Within says:
"Do not call with a GEOMETRYCOLLECTION as an argument", without saying why.
I can not finde more Info about taht, du anyone has an explanation?
http://postgis.refractions.net/docs/ST_Within.html
Thanks in advance,
Hemin
--
View this message in context:
http://postgis.17.n6.nabble.com/ST-Within-and-GEOMETRYCOLLECTION-tp4957949.html
Sent from the PostGIS - User mailing list archive at Nabble.com.
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
-----
No virus found in this message.
Checked by AVG - www.avg.com
Version: 2012.0.1913 / Virus Database: 2425/4983 - Release Date: 05/07/12
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users