Can you find intersecting polygons?

Abe Gillespie agillesp at VT.EDU
Wed Feb 2 14:24:11 EST 2005


You should be able to use shapeObj::intersects() to test for
intersecting polygons.  This, of course, assumes you know in advance
the polygons you want to test.

You can also do mapObj,layerObj::queryByShape()

One of these should solve your problem.

-Abe

On Feb 2, 2005, at 1:55 PM, Steve Lehr wrote:

> Is it possible to find intersecting polygons with PHP Mapscript? (or
> other
> if not)
>
> I'm thinking I'd like to use the JAVA front so that a user can select a
> random polygon on the screen, then submit the random polygon.  Behind
> the
> scenes convert those points to extent type coordinates, generate a
> polygon,
> then find the interersecting polygons underneath.
>
> Steven Lehr
> Assistant Professor
> Freshmen Program
> College of Engineering
> Embry-Riddle Aeronautical University (LB159)
> 600 S. Clyde Morris Blvd.
> Daytona Beach, FL 32114-3900
> 386-226-7740
>



More information about the mapserver-users mailing list