[mapserver-users] shape->intesects

Daniel Morissette morissette at dmsolutions.ca
Fri Aug 10 07:26:46 PDT 2001


Jean-François MONY wrote:
> 
> I've some questions on the intersects fonction of a shape object.
> I've tried it on multi-part polygon and the result was not really fine.
> After some search, I find that the total inclusion of a polygon in another was
> not take in count by this function.
> 
> After a look on the mapscript.i, I thought that the problem came from :
> 
<snipped>
> 
> But I've tried to recompil mapserver with the following modification, and
> nothing change.
> 
>          return msIntersectPolygons(self, shape);  <<=======
> 
> Is there somebody with a comment or an idea ?
> 

PHP MapScript uses a modified copy of mapscript.i that is
C-compilable... it's in mapscript/php3/mapscript_i.c ... if you make
your change there then you should see the change.

-- 
------------------------------------------------------------
 Daniel Morissette               morissette at dmsolutions.ca
 DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------
  Don't put for tomorrow what you can do today, because if 
      you enjoy it today you can do it again tomorrow.



More information about the MapServer-users mailing list