[Mapserver-users] Point in polygon ?

woodbri at swoodbridge.com woodbri at swoodbridge.com
Tue Oct 28 08:18:08 PST 2003


Yes, this is already fully supported by mapserver. Just make your 
polygons a layer, if you don't want to display them then make the 
layer TYPE QUERY otherwise TYPE POLYGON and make sure you have a 
TEMPLATE "mytemplate.html" defined and then do a point query for each 
point and it will return the polygons that the point is in. You can 
do this very easily with mapscript.

-Steve W.

On 28 Oct 2003 at 8:37, Stephen Clark wrote:

> Hello all,
> 
> Does anyone use a Point in polygon approach in conjuction with mapserver?
> 
> I have a set of points and I would like to know if it is inside a polygon
> which is composed of a number of points.
> 
> 
> Any suggestions?
> 
> thanks,
> Stephen
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
> 





More information about the MapServer-users mailing list