I am reading a line feature class in sde and the output is a buffer polygon. I am going to sum an attribute in dissolve but want to make sure the attribute is updated.
the original data is in a projection with meter as the unit.
I want to update 2 fields with the length in feet and the length in miles.
Is there a way to do that in the same workspace?
In arcmap I would have to start an edit session, select the coordinate system, calculate geometry, then choose the unit to output.
Best answer by johnniegis
The short answer would be yes.
Input your feature into a LengthCalculate. Use an attribute copier to copy the length value into two new fields (feet and miles in this case). there is a transformer on the store called LengthUnitConverter which might do the trick to convert from Meters to Feet (otherwise just use an expressionbuilder to convert). then make sure these columns exist in your output and you should get all three values.
Hope that helps.
J
This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.
Input your feature into a LengthCalculate. Use an attribute copier to copy the length value into two new fields (feet and miles in this case). there is a transformer on the store called LengthUnitConverter which might do the trick to convert from Meters to Feet (otherwise just use an expressionbuilder to convert). then make sure these columns exist in your output and you should get all three values.