[mapguide-users] Filtering a selection

Scott Hameister ScottH at mPower-tech.com
Fri Jan 26 20:43:45 EST 2007


I want to be able to filter a current mapguide Selection just down to items
on one or two specific layers of the original selection set

 

Example:  selection.FromXml(Session.Selection)  >>>>> Gives Me Objects on
the Parcel Layer, Water Pipes, And Sanitary Pipes Layer

 

I would like a simple way to change my Selection using the Server API to
only Objects from this Selection on the Water and Sanitary pipes Layer.

 

I tried doing   selection.GenerateFilter(layer, layerClassName)>

But that doesn't weed out my selection but instead makes it bigger to
include All the Pipes as well as the original Parcels..What am I missing

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapguide-users/attachments/20070126/57595260/attachment.html


More information about the mapguide-users mailing list