Questions tagged [legend]

The description of the types of features included in a map, usually displayed in the map layout.

Filter by
Sorted by
Tagged with
30
votes
7answers
25k views

Using continuous color band for raster legend in QGIS composer legend?

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
29
votes
1answer
31k views

Raster legend in R: how to colour specific values?

I have an elevation model plotted in R r <- raster("example.dem") plot(r, col = topo.colors(20)) Some of the values are below sea level (0), and I'd like to have those display in red. How can I ...
23
votes
1answer
11k views

Getting legend label on multiple lines in QGIS?

This question was posted in 2011, and someone has said that QGIS now allows multiple lines for legend entries, but no one mentioned how to do this. I am running wein 2.8.1 and I cannot figure out how ...
18
votes
1answer
34k views

How to Add/Remove Legend with Leaflet Layers Control?

I have two overlays http://02d0c8c.netsolhost.com/dev/lcb_census_layers3.html that can be turned on and off with a Layer Control. I’d like the legend for each layer to turn on/off along with the ...
14
votes
1answer
20k views

Allowing for multiple lines in legend of ArcGIS Desktop?

How can I force the description text in my legend to occupy more than one line? This is basically the same question as Forcing long layer names to multiple lines based on specified legend width in ...
14
votes
4answers
24k views

Showing only legend items that are actually displayed on map in ArcGIS Desktop?

Using ArcGIS Desktop, is there a way for the legend, to only show the subitems that are displayed on the map?
14
votes
1answer
711 views

How to control the arrow length of vector field markers in the layer list legend?

In QGIS 2.14.5 LTR (and recently in QGIS 3.0) I've set up a beautiful map design with a graduated renderer and vector field markers for each value range (arrow length is directly proportional to ...
12
votes
9answers
21k views

Manually classifying graduated data outside of range in ArcGIS for Desktop?

I have two shapefiles representing grids with values that are symbolized with graduated colors, shown below: You can see that the two shapefiles encompass similar ranges of data, but assign slightly ...
12
votes
2answers
2k views

Should Legend entries be singular or plural?

In a map legend should the entries be singular or plural? What is correct? Road or Roads? A Google image search for "map legend" lead me to conclude there is no consistent way of having a legend ...
12
votes
1answer
3k views

How to automatically format the legend labels? in QGIS

I have to do 10 maps (for a start) with "style" -> "graduate" with quantile mode. I need to format the label of the different ranges so that the legend looks comprehensible: Instead of having 1.0000 ...
11
votes
7answers
2k views

Platforms for repetitive automated mapping?

I could give a lot of examples, but imagine you have to do, for example, a study in 10 different locations and have to generate a lot of maps with the same layout, legend. Maps can contain vector ...
11
votes
2answers
683 views

Displaying attributes upon their polygons within ArcMap legend?

Within my ArcMap project (10.2.2) I've got a polygon feature class showing soil types. They are styled using a representation and additionally show the number of the soil type from my attribute table. ...
11
votes
1answer
1k views

Is there cartographic convention to ordering legend items (high-low or low-high)?

When you symbolise a layer in ArcMap, the symbols are ordered from low value to high value by default. Is that necessarily "correct"? I've never officially studied cartography - is there a convention ...
10
votes
7answers
779 views

What is the point of standard symbology?

There are several questions on the site asking for standard symbology to represent markers of specific types of objects (i.e. Power Distribution, Crime Mapping, Emergency Symbols, Lakes). What is the ...
10
votes
2answers
5k views

How to create a vertical scale bar in ArcMap?

Wondering if anyone out there knows how to create a vertical scale bar in ArcMap? With text I can adjust the angle. Is this possible with a scale bar as well?
10
votes
1answer
5k views

Forcing long layer names to multiple lines based on specified legend width in ArcGIS Desktop?

Do to various limitations I almost always create static (graphic) legends but I do have the occasional map where impeccable cartography is secondary to functionality hence a dynamic legend is ...
10
votes
1answer
5k views

Is there a way to show a layers feature count in the TOC?

I'm using ArcGIS 10. In ArcMap's table of contents (TOC), is there a way to have the "Layer Name" automatically show a count of the total number of features in each layer? I was thinking the TOC ...
10
votes
1answer
2k views

Adding labels with symbols to legend in ArcMap?

I'm creating a map with ArcGIS Desktop v10.2.2, showing museums as points. The museums layer has no symbol and the labels are made of a circle filled with color with the ID inside, taken from the [ID] ...
9
votes
12answers
18k views

ArcGIS 10.1 Legend - Increase Icon on legend without increase on map

I was wondering if anyone knows how to increase an icon size on the legend without it increasing in size on the map. I have to print at A0, and when I look at the legend the icons for each type are ...
9
votes
5answers
844 views

What would be a good symbol for the map legend itself?

I am reformatting a mobile web map. Many of our users are equipped with mobile phones rather than large tablets, so screen real estate is at a premium. I've decided to remove the legend from default ...
9
votes
5answers
8k views

Displaying dynamic table in Data Driven Pages environment?

I am creating a map series that has many polygons per sheet. There is annotation for the polygons however some polygons are very small with no annotation for them (annotation would completely hide a ...
9
votes
3answers
1k views

Setting symbol descriptions of ArcMap layout legends from table?

ArcMap has the ability to show an extended description for each item in the symbol list. How can I populate that property from a table? The goal is to avoid having to edit each symbol one by one in ...
9
votes
1answer
5k views

Decreasing distance between legend's items in R?

I'm trying to create correct choropleth() map in R using GISTools package. I use choro.legend() to display my legend. However I can't create either correct legend placement, AND/OR I don't understand ...
9
votes
2answers
8k views

Placing label designs in legend of ArcGIS Desktop?

I'm working in ArcGIS 9.3.1 and apart from "regular" slayers with symbology, I have a few layers which I do not show their symbol on the map, but only their label (for example: cities layer in which I'...
8
votes
6answers
2k views

Creating legend with new data defined symbols functionality in QGIS?

I have a large geology data set that I need to display using an industry standard set of symbols and colours. The symbols and colours are attributes of the data. I have been using the data defined ...
8
votes
3answers
3k views

Label legend interval with number of elements in ArcMap?

I have made a series of choropleth maps in ArcMap 10. When I classify the interval the bottom of the dialogue tells how many elements are in the class. Is it possible to have this number ...
8
votes
3answers
47k views

Renaming legend items in ArcGIS for Desktop?

Can someone please tell if it is possible to rename legend items in the map layout in ArcGIS for Desktop? If yes, how can I do it?
8
votes
2answers
3k views

Is it possible to change legend symbols in the QGIS print composer legend?

I have some layers with very complex data-defined symbols. If I use a legend in the print composer these symbols are not drawn correctly. Is there a way to change the legend-symbols with pyqgis, so I ...
8
votes
3answers
344 views

Move legend if it overlaps features within dataframe using ArcPy

Trying to find a way programmatically (arcpy) move the legend if it intercepts features within a data frame, in the scenario below, if the legend obscures the view of the AOI, then I want it to move ...
8
votes
1answer
4k views

What's the QGIS Legend Format Syntax to label percentage values?

I asked a question about formatting legend text a while back and I'm happy to see the issue has been solved in QGIS 2.6: How to remove trailing zeros from QGIS Graduated Style Class labels? But I'm ...
8
votes
1answer
5k views

How to assign colors to specific raster values using R

I am using the levelplot function of the awesome rasterVis package to create a map whose values diverge around zero. I am plotting a raster file using a red to blue palette, but I am trying to assign ...
8
votes
0answers
220 views

Hide layer name in map legend using python in QGIS 2.16 [duplicate]

I am trying to render the layer in QGIS as a map using python console. I am using QgsComposerLegend() for drawing the legend in the map. Is it possible to make the layer name hidden in the map ...
7
votes
2answers
1k views

Displaying legend item as polyline instead of polygon in ArcMap?

I am using ArcMap 10.1 and am trying to create a legend that will display a polygon layer as a single line.
7
votes
3answers
3k views

Subscript labels in QGIS legends

Is it possible to include subscript and superscript text in the title of a legend item in QGIS ? I have tried using <sub>some text</sub> but this just appears in the title with no change ...
7
votes
3answers
7k views

Resizing symbols in QGIS Print Composer legend?

I am trying to map a count data type via graduated symbol against a chloropleth and the legend is too big. The circles of the graduated symbols are the actual size of their corresponding values in ...
7
votes
2answers
2k views

QGIS: Legend with more columns in one row

I have two layers (water_supply_design, water_supply_condition). I'd like to create new map with Map Composer in QGIS. In this map, I'd like to have a legend with one row and two columns (Water supply,...
7
votes
3answers
5k views

Including labels in map legend and point symbology of ArcGIS for Desktop?

I've been using gis.stackexchange for some time already and time has come for me to ask my first question here. I have point feature class with habitat types. There are two important attribute fields....
7
votes
2answers
2k views

Feature Count in Legend (QGIS 2.18.2)

Below is a screen shot of my Layers Panel showing two Graduated Category layers. One set of category features (Change in Small Firms (2015-2010)) are accompanied by counts, while the other (Change in ...
7
votes
1answer
9k views

How to create a continuous scale with distinct/custom color and value breaks with ggplot2 map

As stated in the title, I'm trying to create a continuous scale with distinct color and value breaks within the ggplot2 package in R. I'm using some dummy code to illustrate my problem: library(...
7
votes
3answers
4k views

How to group elements in QGIS legend side by side?

I would like to edit the legend in my map so that the entries of two polygons will appear together, i.e. the two entries in the legend should be displayed appear as "Study area and possible study area"...
7
votes
2answers
820 views

QGIS Print composer Label Icon in Legend

In a legend of a map I want to label the icon with a number, just as it appears in the map. As example, I have different parcels and every parcel has a number. In the map, the parcels are labelled. In ...
7
votes
1answer
304 views

How to show draw effects in legend in QGIS

I have edited the features on my map using the draw effects tool (colourize, glow etc). However, in Print Composer, the legend shows these feature symbols in their original form. How can I get them to ...
7
votes
2answers
622 views

Make part of legend label italics either for layer header or items in QGIS Print Composer

I am using QGIS 2.18. I want to make PART of a legend label/heading italic within print composer when creating a map layout (for example make part of my label italic if its a botanical name and keep ...
7
votes
1answer
1k views

QGIS - Changing Legend Size with Python

In QGIS, I use the python console to generate image files through the composer. In particular, I am creating a map with a legend. The legend is too big. It occupies about 1/8 of the image. I would ...
7
votes
1answer
2k views

Legend of a raster map with categorical data

I would like to plot a raster containing 4 different values (1) with a categorical text legend describing the categories such as 2 but with colour boxes. I've tried using legend such as : legend( 1,-...
7
votes
1answer
445 views

Displaying percentages next to legend items in ArcMap?

I'm using ArcMap 10.4.1 and I have a map showing points on a map. Each point represents a measurement of a specific radio frequency and has an attribute of signal strength. The legend displays ...
7
votes
1answer
454 views

Duplicate items in the legend

I have recently created a web map that uses the legend snippet from the ESRI JavaScript API website. https://developers.arcgis.com/en/jav...et_legend.html It works great for the most part, but has ...
6
votes
4answers
1k views

Can someone help me identify this part of the map?

I'm sure 1 is a road, but what are those bumps on the side? I'm guessing 2 is a footpath. I have no idea what 3 is, if you don't know what it is, fine, let's leave it at that. I searched for what ...
6
votes
2answers
3k views

Making legend items start in new column in ArcGIS Pro?

In ArcGIS Pro 1.3.1, I have just looked for the ability to start legend items in a new column. This functionality is present in ArcMap's Legend Properties on the Items tab which appears below: Has ...
6
votes
2answers
2k views

Removing white gap in ArcMap Legend?

I have a legend created in ArcMap 10.1 which appears to be generating an abnormal white gap to the right of the legend content. How can I remove this?