[postgis-users] ST_Within and GEOMETRYCOLLECTION

Paul Ramsey pramsey at opengeo.org
Mon May 7 12:33:25 PDT 2012


On Mon, May 7, 2012 at 4:41 PM, Martin Davis <mtnclimb at telus.net> wrote:
> 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.

Why so? If you're in one component, does that end the test? The answer
is 'true'.
P.

>
>
> 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 at 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 at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users



More information about the postgis-users mailing list