I am looking for an easy method, similar to how you do it in ArcMap, to calculate geometry for two fields. I want to add the lat and long to a point feature class that I have. The coordinate system of the point feature class is not in geographic coordinates. Any ideas.

Casey

Casey

You should be able to use this in a model. However, before you do this you would need to re-project the data into a geographic coordinate system like WGS1984 or NAD1983 to get the values in decimal degrees. You would run the tool on this new feature class and that is where the information would be put. You can then do a join on data that is in the projected coordinate system to get its long/lats in decimal degrees.

Also in the model, you can also use Add Field then the Calculate Field tools. In the Calculate Field tool, use the following python expression.

(sub point.Y to get the Y coordinates)

This will however use the coordinate system of the data so again you may need to re-project the data before you use the Calculate Field tool. Again, you can join the data back to your projected coordinate dataset.