[mapguide-users] Re: Spatial Query

GordonL gordon.luckett at arrowgeomatics.com
Fri May 25 09:24:45 EDT 2012


There isn't an "out of the box" button you can click, but with code (i.e.
PHP, .NET) you can do this.

You will have to loop over the polygons and for each polygon set your
MgQueryOptions for within (number 7)

http://mapguide.osgeo.org/files/mapguide/docs/2.0/d7/d86/class_mg_feature_spatial_operations.htm


This will result in a true or false selection if the point falls within the
polygon, from there you can do what you want with the selection results.

gordon


--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Spatial-Query-tp4976825p4976940.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list