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.

I have a field of number ranging from -50 to 50. Is there a way using the ArcMap field calculator to populate a field with all of these standardised (positive numbers) so I have a range of 0 to 50 (where something that was previously -1 is now 1).

share|improve this question

1 Answer 1

up vote 7 down vote accepted

When opening Field Calculator, if using the VB Script parser (the default) you can use the Abs() function around your field name. Similarly, if using Python, use abs() around your field name.

share|improve this answer
    
Thank you, exactly what I was after –  Alan Carr Feb 14 at 12:58
    
Glad to help. I edited my response to include both VB Script and Python. –  Chad Hawkins Feb 14 at 12:59

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.