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.

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
2  
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
add comment

1 Answer 1

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 at 21:06
add comment

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.