Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How do I reorder the Value field in a raster? There is no up or down button in it.

Image of ArcGIS legend

share|improve this question
I bet this is a categorical raster with just seven categories, right? (Note that the legend is ordered alphabetically, not numerically.) :-) – whuber Oct 12 '11 at 21:19
Yes, correct. So with the numbers it will go from 1, 2, 3, 4 .... so this is how ArcMap read this way. Is there a script that will allow me to do fix the problem ? – PROBERT Oct 13 '11 at 15:00
This legend already is sorted, given that the slope codes are of alphanumeric type. You could use numeric codes for your categories or you could manually change the order in the legend. – whuber Feb 24 '13 at 20:13
up vote 1 down vote accepted

One easy option would be to add a new field to the Attribute Table of the raster with a Short/Long Integer type, rank each category based on its correct order, then edit the labels for this new field to reflect the appropriate ranges, like below:

Order with integers, manually define ranges

A second, slightly more complicated option would be to place each range in a new heading (right-click the value, select Move to Heading, then New Heading...) and name these new headings according to the correct order for the ranges, like this:

Order with headings

In order to properly symbolize the raster in a legend, however, the option to show the heading in Legend Properties would need to be deactivated.

share|improve this answer
thank you for the new information ! – PROBERT Jun 25 '14 at 21:06

Your Answer


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.