Hi,
I have over 2700 FileGDBs in which to count feature occurrences based on an attribute value.
The attribute field (FeaType) has over 200 possible values. (Typically: Tree, Road, Building, etc etc.)
I need to count the occurences of each feature type, per FileGDB and put them in a table with 1 row per FileGDB and 1 column per FeaType value.
Putting them into a table is no issue - I am using xlsxwriter.
What would be the most efficient way to count these features?
I have tried iterating through each FileGDB, each FeatureClass, row by row incrementing a table entry based on the FeaType value - very slow 😞
I could try iterating through each FeaType value, then using that value to 'select' and 'getcount'.
But surely there is a more efficient way?
Some pointers would be great.
Thanks in advance,
Zoltan