Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Is it posssible to perform any math on ESRI ArcMap dynamic text? For example I have the area of a SDE park layer's SHAPE.AREA, but it is in m2 because the layer is in NAD_1983_UTM_Zone_17N. I want to show the area in hectares (m2 / 10000). How do I do this? Is it possible to add two fields together and display it in dynamic text?

share|improve this question
1  
You can just create a field in the attribute table and use the field calculator. ESRI Help Files –  Roy Oct 11 '12 at 14:44
    
No, I want it done in the dynamic text. Adding fields in a SDE layer everytime I want to do some math is not a practicable option. The labeling allows math to be done, but I want it in dynamic text where it doesn't cover the features in the map. –  David Oct 11 '12 at 15:00

2 Answers 2

This from Jeffrey Barrette, an ESRI employee:

"No. Dynamic Text provides many different formatting options for dates, times, coord systems, etc but it does not provide the logic to perform mathematical operations. You would need to incorporate Python and then use arcpy.mapping to update text elements in a layout."

share|improve this answer

Open layer Properties and go to the Labels tab. Click the Expression Button. Type your calculation (Area/10000 in this case) inside the expression area.

enter image description here

Make sure that Labeling is enabled for this layer.

If you want to use advanced scripts(VB,JS) for your expressions, you may check the Advanced option

Read more about expressions from ESRI Documentation

share|improve this answer
    
I DON'T want to do this as labelling. I used the labelling as an example of something close to what is needed. I want it done in dynamic text. –  David Oct 11 '12 at 16:28
    
This from Jeffrey Barrette, an ESRI employee: "No. Dynamic Text provides many different formatting options for dates, times, coord systems, etc but it does not provide the logic to perform mathematical operations. You would need to incorporate Python and then use arcpy.mapping to update text elements in a layout." –  David Oct 12 '12 at 14:39

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.