Outline color in symbology/legend in raster thematic map

8762
8
Jump to solution
03-15-2012 10:43 AM
PiiaKortsalo
New Contributor
Hey guys,
I'm creating a thematic map of a raster data.
I was wondering, if you know if I can remove the outline color from the symbology settings and patches in legend. The symbology settings don't work in raster data as they work in vector data so I can't directly just set the outline color to "no color" or outline width to 0.
My goal is to create a legend in which you can't see the default grey outline color around the patch.
Any help would be appreciated, thank you very much!
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
JimW1
by
Occasional Contributor II
This one bothers me too.

My two work-arounds:
1. Add another version of the same raster and set it as a 'stretched raster' but leave it turned off in your layout. The stretched legend item looks much better.
2. Reclass your raster based on your legend, convert your reclassed raster to a polygon, classify the polygon with the same colours/classes, and then add the polygon to the legend - again don't turn it on in your layout

I get away with #1 most of the time but #2 looks better yet is much more work for a simple cartographic tweak.

Alternate #2: Instead of making a reclass and a new huge polygon from the raster you can make a dummy polygon and classify that (see attached)

View solution in original post

0 Kudos
8 Replies
AlexeyTereshenkov
Regular Contributor III
Hi,

I am not sure what exactly you are trying to do. Could you please publish a picture how your legend looks now and what exactly do you want to change?

Meanwhile, were you looking for changing the properties of the legend items? If so, then you can go the following:


  1. Right-click the legend in layout view you want to edit and click Properties.

  2. Click the Items tab.

  3. Click the name of the item in the legend Items list for which you want to change the patch shape.

  4. Click Style.

  5. This will open the Legend Item Selector dialog box.

  6. Click Properties.

  7. Click the General tab.

  8. Check Override default patch.

  9. Click the Line and Area drop-down arrows to choose a different patch for your legend item.

  10. Optionally, check Override default patch size and type a new Width and Height for the legend patch.

0 Kudos
MarcinGasior
Regular Contributor
I suppose that removing an outline in this case may not be possible.
I also didn't find required option in Layer Properties Symbology.
Moreover, even after converting a legend to graphics, after several Ungroup commands, setting outline color to 'no color' and width to 0 doesn't effect.
To get the graphic without outline, you have to click Change Symbol, select one of predefined styles and then adjust outline. Unfortunately during this operation the oryginal color is lost (may be defined by hand when you check RGB values earlier).
0 Kudos
JimW1
by
Occasional Contributor II
This one bothers me too.

My two work-arounds:
1. Add another version of the same raster and set it as a 'stretched raster' but leave it turned off in your layout. The stretched legend item looks much better.
2. Reclass your raster based on your legend, convert your reclassed raster to a polygon, classify the polygon with the same colours/classes, and then add the polygon to the legend - again don't turn it on in your layout

I get away with #1 most of the time but #2 looks better yet is much more work for a simple cartographic tweak.

Alternate #2: Instead of making a reclass and a new huge polygon from the raster you can make a dummy polygon and classify that (see attached)
0 Kudos
PiiaKortsalo
New Contributor
Thank you all for your help! This just confirmed that there wasn't any simple way to do this. I am not sure if I can use any of the tips you gave but I will make it work. :)
Thank you!
0 Kudos
EricPanzer
New Contributor
As suggested by other users, one option is to simply create replacement patches by drawing a new shape, making copies of that new shape, and assigning them the appropriate colors. When in doubt, you can use the eye-dropper tool to determine what the colors were for the original patches. This, however, is quite tedious and means you will need to change the colors of the manual patches in the event you make further changes to the symbology for your raster.

Another approach, which is a little more hack-y, but will allow you avoid having to re-color the patches every time, is to draw in outlines on top of your patches in a color that matches the background of your legend. Now, if you change your symbol colors, your legend will reflect the changes, but the unsightly outlines will remain covered. You will, however, have to be careful that you don't add new symbol classes, add new legend items, alter the arrangement of items in your legend, change your patch size or shape, etc.

In any event, this is something ESRI should fix, however, with all of these options, at least we have a few workarounds that can accommodate a variety of situations.

Hope this helps!
0 Kudos
LisaBingham
New Contributor II
I just want to add on this thread, in the event someone from ESRI is monitoring, that this is ridiculous that users have to come up with these hacks, which are very time-consuming and in some cases inaccurate, to remove the grey border on a classified raster in the legend. It's really an eyesore. I'm writing a paper and have about 40-50 maps with classified rasters. I don't have the time to go through any of these hacks for all of these maps and it's essential that the rasters are classified and not stretched.
0 Kudos
KevinBefus
New Contributor

For removing the gray border of shapefiles with many categories:

1) Open the Layer Properties>Symbology

2) Right click on one of the colors/symbols in the table with the headers: Symbol, Range, Label (for graduated colors)

3) Select "Properties for All Symbols"

4) Change outline color to none, can also change outline width

5) Ok and Apply

0 Kudos
Nicole_Ueberschär
Esri Regular Contributor

After almost 4 years I still have the same issue. Funnily, I was able to apply styles like for polygons (not raster) to my landuse after I extracted them by attribute into seperate raster files. I used the unique values symbology. Within the property window I could not change the outline but in the TOC when clicking directly on the symbol I got the nice style editor (as for polygons). (This works most of the times for me.)

Edit: It has the possitive side effect that I can sort the classes for the legend manually instead of having them sorted by value. 

0 Kudos