Label Arcgis pro and arcgis online

726
2
07-04-2020 06:57 PM
RosialineMarques_Roedel
New Contributor

Label on Arcgis pro and arcgis on line. I'm having difficulties in labeling my points / features with numbers just considering the significant digits.

0 Kudos
2 Replies
MervynLotter
Occasional Contributor III

A little bit of code from Arcade will do the trick.

From the Labelling tab and Label Class group in ArcGIS Pro, click on the Expressions function. 

This will open the Labelling pane with the Label expression subtab. 

Just modify the code in the Expression box by adding Round at the start and put the $feature in brackets and then stipulate how many significant digits, like this  Round($feature.Size_ha,2)

TimOrmsby
Esri Regular Contributor

For reference, this is documented in the help topic Specify text for labels, in the section Expression examples, second bullet point.

0 Kudos