( !Shape_Area!/ !ORIG_AREA!) * 100
calc_veg_type(!VEG_RATIO!)
def calc_veg_type(field): if field >= 10.0: return 'Vegetated' return 'Not vegetated'
Hello,I have a land use shapefile that I am trying to modify in python. I have created a buffer around surface water polygons and I want to convert a percentage of the land use types that fall within the buffer to a specific land use. For example, within a 100m buffer of my stream I want to ensure that at least 10% of the region is 'naturally vegetated'. If it is not, then I want to convert 10% of changeable land (i.e. row crops) to 'vegetated'. If anyone could assist me with this one, it would be greatly appreciated.Thanks in advance,Bethany
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.