# ----- 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
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.