OK Here goes the scenario…. i have a map that already has a selction made in it that contains objects on multiple layers… Pipes, CLs, and WaterNodes (points themed BY a field of ObjectType MH, Valve etc.)
I need mapguide to return a list of values from the "NODEIDS" field for only selected items on the “WaterNodes” Layer Where the field "ObjectType" = ‘MH’. Ive gotten this to work by going crazy iterating through the feature reader and a layerFilter….But this is really inefficient and I know it isnt this difficult… I’m plain out missing something when trying to incorporate MgFeatureQueryOptions.SetFilter For filtering and MgFeatureQueryOptions.AddFeatureProperty for Limiting the properties returned? It seems I should be able to use these two functionalities to make this code much more streamlined without having to iterate a feature reader to loop through each object in the layer and then loop through each field on the object….Seems like I should be able to do this with no loops and no feature reader going through every object but I keep getting stonewalled I know Im just having a Mental block…Any takers willing to push me past this Brain Freeze? -- View this message in context: http://www.nabble.com/Brain-freeze-Combining-MgFeatureQueryOptions.SetFilter-For-filtering-and-MgFeatureQueryOptions.-tp21095042p21095042.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
