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.
Did this help you find an answer to your question?
This post is closed to further activity.
It may be a question with a best answer, an implemented idea, or just a post needing no comment.
If you have a follow-up or related question, 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.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.