Hello,I am trying to create a python script to loop through each feature in a feature class and use each feature as the mask for an extract by mask. Basically I have 12 polygons and want to calculate the mean value of a raster for each polygon - I could split the feature class into 12 feature classes each with one feature and loop through a list of the feature classes but that doesn't seem like the most elegant solution.Any suggestions?I tried a using a search cursor to loop through each row and use each row as the mask input value but get an "Error in executing tool" error. How do I covert the row object into an input for the tool?Thanks,Richard NaumanSpatial Analysis Program ManagerNational Center for Conservation Science and Policy
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.