Ok,
thanks!

Next question:
MgSelection sel = new MgSelection(map, buffer.selection);
                MgReadOnlyLayerCollection selLayers = sel.GetLayers();
                    MgLayer selLayer = (MgLayer)selLayers.GetItem(0);
String featureClassName = selLayer.GetFeatureClassName(); String filter = sel.GenerateFilter(selLayer, featureClassName); MgFeatureQueryOptions query = new MgFeatureQueryOptions();
                    query.SetFilter(filter);
.....

MgFeatureReader features = featSrvc.SelectFeatures(featureSource, featureClassName, query);




Jackie Ng kirjoitti 2013-11-27 12:26:
Either use an IBatchInsertFeatures command or re-use the existing
IInsertFeatures command and update the RecordToInsert with the next
feature's values after every execution.

- Jackie



--
View this message in context:

http://osgeo-org.1560.x6.nabble.com/switching-to-Maestro-5-API-tp5090710p5091434.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
_______________________________________________
mapguide-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapguide-users

Reply via email to