[mapguide-users] MgLayer.SelectFeatures ..... am I missing something here?

Jamo adam.jamison at portbris.com.au
Wed Dec 16 01:02:38 EST 2009


I'm sure I've been here before but here goes it again.

I'm attempting to select a subset of data from a layer .

MgFeatureReader myFeats = srchLayer.SelectFeatures(Opts);

I've connected the map using 

MgMap map = new MgMap(siteConnection);
map.Open(mapName);


Now the problem is , I thought the layers filter would have been used prior
to filling the feature reader ? It seem to select all features from the
feature source.

I have a single feature source that is split out to many layers, by putting
layer filters on.

Can someone tell me what I'm doing wrong here, or am I mad to think that the
.SelectFeatures on the layer should actually select features on the layer
only ?

-- 
View this message in context: http://n2.nabble.com/MgLayer-SelectFeatures-am-I-missing-something-here-tp4174001p4174001.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list