Tuesday, 11 December 2018

arcgis 10.0 - How to sort entries in raster legend?


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


Image of ArcGIS legend



Answer



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.


No comments:

Post a Comment