[Mapserver-users] intersects() method

Vinko Vrsalovic vinko at cprsig.cl
Thu Jan 29 21:04:00 EST 2004


On Thu, Jan 29, 2004 at 08:42:06PM -0500, MG wrote:
> Does the method intersects(), just return true or false, or does it actually create an intersect between 2 shapes (much like ArcInfo).
> 
> For example: if $clip is a polygon that exists within the bounds of $poly, will $poly->intersects($clip) just return an integer, or will it also clip $poly with $clip?
> 
> Manny

it returns boolean. 

Latest PostGIS w/GEOS has a function to do the actual intersection.


-- 
Vinko Vrsalovic <el[|- at -|]vinko.cl>
http://www.cprsig.cl



More information about the mapserver-users mailing list