Tell me more ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I've got a polygon featurelayer in arcmap.

The coordinate system of the featurelayer's featureclass is web mercator.

The dataframe of the map uses an equal-area projected coordinate system.

I've got a field on the featureclass called Acreage.

I'd like to calculate Acreage based on the polygon's re-projected area (into that of the dataframe's projection). I don't want to create a new featureclass to do this.

Is there a python script that would let me do this in the ArcMap 10 Field Calculator?

Update: Is there an easy way to do this in ArcMap 10?

share|improve this question

3 Answers

up vote 5 down vote accepted

Kirk If you are doing this within Arcmap and you have an open table, have you ruled out using the Calculate Geometry option after right-clicking on the field. If your dataframe is already set in the projection that you want you should be able to use its coordinate system without the prior projection issue.

enter image description here

share|improve this answer
Ahh, perfect! Glad to see Calculate Geometry actually calculates a number. Thanks! – Kirk Kuykendall Apr 15 '11 at 17:49

There is a way to simple calculate the geometry using Python.

import arcpy arcpy.CalculateField_management('INPUT_SHAPEFILE.shp','ACRES_FIELD','!shape.area@acres!', 'PYTHON')

This will calculate based on the projection information of the dataset.

share|improve this answer

XTools Pro, an extension for ArcGIS has a function which will calculate geometry based on any projection you choose regardless of the projection of your data frame.

It's free to download, and there are some features which expire after the trial. But this feature (as well as many others) remain free after the trial period.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.