I use QueryFeatureSource instead of the SelectFeatures where filter is a
string.
IFeatureService featSvc =
(IFeatureService)con.GetService((int)ServiceType.Feature);
IReaderfsr = featSvc.QueryFeatureSource(resourceid, classname, filter,
columns);
while (fsr.ReadNext())
{
string value = (string)fsr[valuecolumn];
ICoordinate coord = (IGeometry)fsr[geometrycolumn].Coordinates;
.. do something
}
Best regards
Hans Milling...
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/switching-to-Maestro-5-API-tp5090710p5091451.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