Stack Exchange network consists of 181 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It only takes a minute to sign up.
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.
What version of ArcMap? What error message do you get? I get no error message - it works fine for me - but I am using ArcGIS 10.6. It may be something that has been fixed recently?
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.