# ----- snip ----- projectedRef = gp.CreateObject("SpatialReference") projectedRef.CreateFromFile("MySr.prj") factor = 123223324 # the factor from map units to acres # in metric societies this is simply a power of 10 from metres to hectares cur = gp.UpdateCursor("checkhull","",projectedRef) row = cur.next() while row: row.hullarea = row.shape.area * factor cur.updateRow(row) row = cur.next() del row,cur # must close to flush file buffers
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.