if row.Bkf_W <= 0: row.Width_Cat = 0 rows.updateRow(row) elif row.NEAR_DIST > 100: row.Snap_Code = 0 rows.updateRow(row)
rows = arcpy.UpdateCursor(STHDLINES) for row in rows: if row.Bkf_W <= 0: row.Width_Cat = 0 elif 0 < Bkf_W <= 3: row.Width_Cat = 1 elif 3 < Bkf_W <= 50: row.Width_Cat = 2 elif row.Bkf_W > 50: row.Width_Cat = 3 rows.updateRow(row)
rows = arcpy.UpdateCursor(STHDLINES) for row in rows: if row.Bkf_W <= O: row.Width_Cat = 0 rows.updateRow(row) elif row.Bkf_W 0 < Bkf_W <= 3: row.Width_Cat = 1 rows.updateRow(row) elif row.Bkf_W 3 < Bkf_W <= 50: row.Width_Cat = 2 rows.updateRow(row) elif row.Bkf_W > 50: row.Width_Cat = 3 rows.updateRow(row)
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.