[mapguide-users] filter for features

EvaD evadraganov at yahoo.com
Tue Oct 21 08:19:17 EDT 2008


Thanks for the help. I already find out my mistake and that was in the way I
used the MgFeatureReader with this filter. The filter is working correct
now. 
One good thing to use, if you doubt the constructed filter is the
"SelectFeatures" page that Kenneth proposed earlier here. 


Akram wrote:
> 
> 
> Hi EvaD 
> 
> This code is right 
> MgFeatureQueryOptions queryOptions = new MgFeatureQueryOptions();
> queryOptions.SetFilter("FeatId = 112");
> 
> but I think it should be like this
> MgFeatureQueryOptions queryOptions = new MgFeatureQueryOptions();
> queryOptions.SetFilter("FeatId =" + 112);
> 
> 
> -- 
> View this message in context:
> http://n2.nabble.com/filter-for-features-tp1131530p1359207.html
> Sent from the MapGuide Users mailing list archive at Nabble.com.
> 
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
> 
> 
> -----
> GeoService akram at gsg-eg.com GeoService 
> 

-- 
View this message in context: http://www.nabble.com/filter-for-features-tp19761808p20088994.html
Sent from the MapGuide Users mailing list archive at Nabble.com.



More information about the mapguide-users mailing list