I'm working on ArcMap 10 and need to get the lenghts (in meters) of the segments composing my line feature class. GCS of the line is WGS_1984. Extent of this data should be: Left 11.236520 dd, Right 11.247580 dd, Top 43.777520 dd and Bottom 43.771040 dd (I have no idea what "dd" means). I thought the correct way was to switch the Data Frame to PCS: WGS_1984_World_Mercator in order to get metric lengths with Calculate Geometry in a newly added field. I guess I was wrong since as I use the ruler to check if lengths are correct I see they are not (When I used the ruler with Data Frame set on GCS the lengths were correct). Am I doing it wrong or it is impossible to get the same lengths with GCS and PCS?
You can use Field Calculator to get highly accurate geodesic lengths of features in a feature class, regardless of the coordinate system. This means that Arc will find the shortest route across the surface of the ellipsoid when connecting vertices of your lines. Here's how to do it:
Open the attribute table of your line feature class.
Add a new double-precision floating point field to the attribute table.
In this field, use field calculator with the Python parser and the the expression
!Shape!.getLength("GEODESIC","METERS"). This assumes that your shape field is called
METERS, there are a few other units you can use:
GEODESIC, there are a few other measurement types you can use:
PRESERVE_SHAPE. But generally
GEODESIC is the best in terms of accuracy.