Sunday, 8 November 2015

arcgis desktop - Using degree symbol in Label Expressions of ArcMap?



I am trying to use the labeling process to display latitude and longitudes for a set of data points. To make the labels appear formal, I wish to add the degree symbol (°) to the labels. My python syntax goes as follows:


[lat] + "," +" " + [long] and the result is 30.392634, -91.118229.


However, when I attempt to insert the symbol as follows:


[lat] + "°" + "," +" " + [long] + "°" I keep receiving an error.


I am not a code wizard.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...