I need to perform .CalculateStatistics on a user selection from a FeatureLayer. If i can get the selection to a proper Table Class, I can make that happen. Need non-Geoprocessing method to cast the FeatureLayer.GetSelection() to a proper Table.
He's asking about the Table.CalculateStatistics() method in the C# API, not about a geoprocessing tool.
What are the parameters of the tool? I see there is only one GP tool named Calculate Statistics in the Data Management - are you talking about that tool (I guess not as this tool only takes a raster as input)? Or a custom tool?
Thanks for the response, Rich.
Hi Mike,
There is no direct way to do this. The best solution at this point is to create a temporary table from your selection using geoprocessing tools and use that to run Table.CalculateStatistics().
--Rich
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.