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
0
votes
1answer
17 views

QGIS change icon in legend

could I change the icon of my legend in the mapcomposer? I want other icons for my layers in the legend then in the project. I use the Version 3.4.8 LTR.
2
votes
2answers
61 views

Formatting decimal numbers in legend

I am using a graduated legend, using the default format "%1 - %2". The numbers are formatted using decimal points, like "1.1 - 1.2". How could I change this to using decimal commas,...
0
votes
0answers
20 views

How to create a Legend with Points. Same size in Legend and Map. Leaflet

I am trying to create a Legend in Leaflet that contains the circles in the map. But, the size in the legend should the same size that it is in the map. My code is next. function getRadius(pop) { var ...
1
vote
0answers
22 views

Use HTML legend in QGIS

I am trying to set up HTML text in a legend of this kind: <div style = 'padding: 0; margin-left: -10px; color: # 7f7f7f '> O-1 <span style =' color: black '> - Kind of zone </span> &...
1
vote
0answers
10 views

Showing size of pie chart in legend of ArcMap 10.7.1

I'm using a pie chart map in which the size of the pie chart convey an attribute value (scaled size). Is it possible to show this classification in the legend of ArcMap 10.7.1 ? There is a similar ...
2
votes
0answers
29 views

Changing color symbol legend by field

I changed the color of the polygon symbology with a specified field. Now, I need to categorize the symbology for better data management and to be displayed on a map. But, this not change the legend ...
1
vote
3answers
690 views

Changing aspect ratio of legend in ArcMap?

I'm making some good ol' maps at work (Using 10.x) and I'm having difficulty getting my legend to fit with the amount of descriptive text I have and the amount of space available to me (as well as to ...
0
votes
0answers
22 views

How to add a Legend to Time Lapse in GEE?

I have not found any item related to my question. I am trying to add a Legend to a time lapse video. In my final print I have an image collection and the video specifications are already defined. ...
0
votes
1answer
48 views

How to defined the displayed layers in the legend with PyQGIS

I am creating a processing tool where I temporarily load layers in TOC and a layout template and then export the map into an image. Even though I want to have 2 layers on the map, I only want to have ...
0
votes
1answer
28 views

QGIS 3 Print Layout legend feature count

I've got a quick question (i think), in the legend below I've included the feature counts on a polyline layer with a basic categorised style. However, I'd like to get rid of the total count in the ...
0
votes
0answers
13 views

Automatic map export but QgsLayoutItemLegend not display in output

I want to export my map from Qgis3 in .png but the legend is not display on my output. Title of the legend is display so the layout work and is at the right place but layers with symbols are not ...
36
votes
8answers
33k 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 ...
0
votes
1answer
57 views

How to count legend items in QGIS print composer

Is there a way to count legend items displayed in the print composer ? I would like to adjust by expression the number of columns of my legend based on the number of legend items. Example : if there ...
0
votes
1answer
52 views

Size Legend for Carto VL

I am trying to construct a legend based on size using Carto VL, and am struggling to implement the solution posed in this Github thread. https://github.com/CartoDB/carto-vl/issues/1260 I built a ...
2
votes
1answer
25 views

QGIS 3.1 Producing a proportional circles legend - No option for “Data defined size legend”

I am making a global map in qGIS 3.1 using proportional symbology with the following: Data = Number of hospitalizations - classified as 'Real' type Symbology = Single Symbol: Fill -> Centroid fill ...
1
vote
0answers
33 views

Legend labeling with QGIS

I am trying to build an atlas with the QGIS-atlas-function and I want to know if it is possible to label the legend entries (165) with my own entries from the attribut-tabel. Important is that the ...
1
vote
1answer
33 views

Automatically add value from another attribute column to “legend” in QGIS?

I am creating a QGIS map of events for which I have the date (year) and also rather long event names. I would like to show only the dates in the actual map and display the names in a legend. I am also ...
0
votes
0answers
10 views

Showing postive and negative range values separately in legend of ArcMap

The legend here shows it's positive and negative ranges separately with a decreasing and increasing order with circles. I know it is related to the graduated symbology and multiple attributes but ...
9
votes
3answers
5k 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 ...
0
votes
1answer
59 views

Print Service legend display null for polygon features

the print service of application works well, but after converting the map area to pdf , the legend shows null filled values for polygon features(as in figure for Build up area,Forest dense area). I ...
1
vote
1answer
106 views

QGIS Legend Item - Expression Labels

I am trying to use the expression editor on the legend item in the layout manager. My layer has the attributes of RU_NAME which is the geological unit and LITH_SUMM which is the description. ...
4
votes
1answer
606 views

Rounding numbers in Raster Legend in QGIS?

Is it possible to have the numbers in the raster legend automatically rounded off? In the example below I'd like the labels to be 8, 29, 51 and so on. I know I can manually edit the labels, but is ...
1
vote
0answers
45 views

Specifying legend location in folium

I have a few choropleth maps in one Leaflet map using folium. However, in my output, my legends all congregate underneath one another and on one side where it blocks the 'control zoom' icon. Is there ...
3
votes
1answer
8k views

Showing just color ramp in legend without values

I'm using ArcMap 10.3.1. Is there a way to show, on the legend, just the color ramp as a single patch instead of with each group of values? I don't really need to show those values on the legend. ...
1
vote
1answer
39 views

Adding continuous color ramp as legend using ArcMap [duplicate]

I am interested in adding a continuous color ramp legend with numerical labels like the following example to place on the layout view of arcmap: I am quite new to arcMap so I'm not sure how I can do ...
5
votes
2answers
759 views

Setting layer name in composer legend as “Hidden” using PyQGIS?

Is there a way to hide a layer name in the composer legend using pyqgis as we do from the legend properties (see picture)? The only way I've found so far is by changing the layer name in the composer ...
0
votes
1answer
13 views

plot_usmap Incorrect Legend Values

I am trying to use plot_usmap to map a data frame with two columns - fips and change2 - where the values for change2 range from -34.7 to 91.5. When I run this code: plot_usmap(regions = "counties", ...
2
votes
2answers
2k views

What's the QGIS Legend Format Syntax to have thousands separated by commas?

I have numbers in the millions and would like to know what string to enter in the Legend Format box to have thousands separated by commas ex: 2,000,000
1
vote
1answer
48 views

How to overlap two layers of points with different size

I am new in QGIS. Here is my problem : I have two layers of points. In these two layers, my points have different degrees or size : For the layer 1, the point "a" has a size of 3, and the point "b"...
0
votes
0answers
20 views

How do I add the entry “no data” into my legend with ArcMAP

In ArcMAP, on my raster image I am using a slight grey color to visualize no data values within the image. They are areas which did not surpass a critical threshold value. I would like to include this ...
6
votes
1answer
11k views

How to remove layer names from the print composer legend?

I'm creating a map in QGIS Composer that is the result of two merged layers. The legend (screenshot below) is adding two rows with the titles of the layers. The edit property sheet does not give me an ...
4
votes
2answers
2k views

Creating a gradient-based legend

I have a map with graduated symbology, with 328 unique values. I would like to add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values. ...
1
vote
2answers
653 views

Stop layer from showing up in legend on composer

When I add a legend in a map composer in QGIS, all layers that are defined in the project will be shown in the legend, no matter if they are set to be displayed or not, I also have some background ...
3
votes
0answers
23 views

Color scale legend in QGIS [duplicate]

I have been trying for hours to add a color scale to my vector layer in order to avoid showing all those boxes in my legend. But I don't find any solution. I tried the Geoproc plugin without success,...
1
vote
2answers
1k views

Wrapping layer names or headings in ArcMap legend?

I've been struggling with this for a bit now but I cannot seem to find a way to wrap either layer names or headings in a legend. I can see how to wrap descriptions, labels, and make multiline legend ...
2
votes
2answers
66 views

Legend of World Reference Base (2006) Soil Group

How Can I get the legend for the downloaded WRB soil groups whether from the https://soilgrids.org/ website or directly downloaded from WCS server https://maps.isric.org/mapserv?map=/map/wrb.map into ...
1
vote
1answer
26 views

QGIS Legend only with Raster Minimum and Maximum values

I want to have a mimim and maximum raster values in the legend but it appears to me a long list of all values how can I resume the legend minimum and maximum values:
1
vote
0answers
23 views

How does QGIS legend divides its classes?

When making the legend in QGIS, does anybody know how QGIS divides its classes? For example, see the legend below. What do these numbers represent? Upper/lower borders, class centers? Can anyone help ...
5
votes
2answers
871 views

How to add text on top of symbols for vector layers in QGIS

I read the QGIS 3.2 Changelog and saw a new feature to add text on top of symbols for vector layers. Does anyone knows how to do this?
3
votes
2answers
63 views

Create 3x3 “square legend” using QGIS

Is it possible to create this type of "square legend" in QGIS? It is the first time that I see this type of legend and I really liked it. Source: https://twitter.com/Caroline_OF_B/status/...
3
votes
1answer
1k views

Leaflet make legend with different circle sizes

I would like to make the legend with different circle sizes in Leaflet. I found one examples: https://stackoverflow.com/questions/37446283/creating-legend-with-circles-leaflet-r https://...
2
votes
2answers
329 views

Display in legend only features present on a map extent

I have lots of layers with lots of rule-based styling in my QGIS project, although I would like to display in legend for my print composer only those features that are actually present on a current ...
0
votes
1answer
33 views

Legend Item Spacing in QGIS 3.10

When I use smaller fonts in the legend (anything less than 20pts) there's an awkward gap between the items. I have set all the relevant spacing options in the Legend Properties (i.e. space between ...
1
vote
1answer
855 views

Rmoving single class from ArcGIS legend for graduated polygons

I have the following legend item: I would like to remove the class in the red circle from the legend. In QGIS you can simply delete or remove it. How can one do this in ArcGIS without affecting the ...
0
votes
0answers
18 views

Rotate Legend / Legend Style in ArcGis Pro

I made this map using ArcMap, and I want to reproduce such horizontal Legend with ArcGis Pro. I tried importing it to ArcGis Pro and the legend shift vertical. So is there anyway to access Legend ...
2
votes
1answer
45 views

Categorized symbology with transparency including raster basemap?

I'd like to include the background map in legend symbols, rendered under transparent fill. For matters of better representation and easier orientation, it would be helpful if the symbols in the ...
3
votes
1answer
1k views

Altering legend labels in Matplotlib

I have a choropleth map which displays crime percentage change. It is plotted from a geodataframe and the choropleth intervals are determined in the background by Python. Unfortunately, the first ...
1
vote
1answer
93 views

Horizontal Raster Stretch Legend

Using a blog page on Raster enhancement: The horizontal legend I have displayed my legend of a raster legend horizontally. However I have not been able to format the labels to align directly beneath ...
1
vote
1answer
128 views

Use expression to only keep 1 layer in the legend

When I print my project, that includes different layers, I always end up with all the layers in the legend. What I want when printing is to only show 1 layer, that always has the same name "Werken". ...
1
vote
3answers
346 views

Keeping symbol in Map but not showing it in Legend using ArcMap

I am trying to find a solution to not display the name and the symbol on the Legend on my ArcMap Layout but I do want to keep the symbol in the Layout . Here is the screenshot I have ArcGIS Desktop ...

1
2 3 4 5
14