A high-level overview: In a PHP script, create a MgSelection from your MgMap.
Call GetLayers on the MgSelection For each MgLayer in this result, if the layer's name matches the one you're interested in (Agencies), call GetSelectedFeatures on MgSelection using this layer Loop through the MgFeatureReader returned by this method, get the value of the population property and accumulate it to a running total. - Jackie -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/sum-of-a-field-on-selected-items-tp6214193p6214581.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
