Hello GIS friends,
I am trying to run field calculation for area with arcade function, (round(Area($feature, 'acres'),1), but it is giving me only '0's all the way. The calculation runs with no error but the result is populated with '0' for all the rows. What am I doing wrong?
Thank you friends and happy Friday!
Happy Friday! The Arcade expression looks good. What is the type of your target field? We might want to use Double here. The area values will be rounded off to the nearest whole number if the field is Integer.
Keep me updated
Thank you for your suggestion. The field is double. I again ran the rule and checked the data and now it seems to run normally.
Thank you so much for your input.
I am just coming back from a meeting and had not had a chance to respond to your message for that I am sorry.
Thank you again.
The script looks correct, however there maybe a bug and the calculator is not realising that the geometry is needed for each feature, and so is not fetching it.
You could try:
This extra big of logic may make the field calculator detect the use of feature geometry.