[mapguide-users] Search accross multiple layers

Jamo181 adam.jamison at portbris.com.au
Mon Nov 3 20:57:57 EST 2008


Hi I'm trying to use the searchprompt.aspx and search.aspx to create a new
search that will be able to allow the user to search across more than 1
field and more than 1 layer...

I have been able to search more than 1 field so far, however I'm unsure on
how to search more than 1 layer.
These layers will have common properties, ( all cadastre, all have lot on
plan etc)

I'm stuck at this point.

            String featureClassName = layer.GetFeatureClassName();
            MgResourceIdentifier srcId = new
MgResourceIdentifier(layer.GetFeatureSourceId());
            MgFeatureReader features = featureSrvc.SelectFeatures(srcId,
featureClassName, opts);

My first attempt would be to try and add more features to the feature reader
...? is this possible?

Or can someone point me in the right direction to learn how to create a
filter across multiple layers...?

Cheers

Adam
-- 
View this message in context: http://www.nabble.com/Search-accross-multiple-layers-tp20314877p20314877.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list