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
2
votes
1answer
35 views

Only displaying Legend for elements present inside another polygon?

I am building a map of a particular region and imported some data layers with lots of attributes because it's got info on the entire country. Many of these attributes aren't present in the region I ...
4
votes
2answers
57 views

Replicating ArcMap legend in QGIS 3

I am trying to replicate this ArcMap legend in QGIS but i can't seem to get it right. I am stuck in print layout and using QGIS 3. I have the title 'LEGEND' but i do not know how to categorize the ...
0
votes
0answers
10 views

Legend columns in ArcGIS Pro are too far apart despite zero pt column spacing

I split the legend into two columns but the columns have a huge gap which cannot be decreased. Similar thread here but the legend in the pictures show a proper column spacing Making legend items start ...
1
vote
0answers
35 views

Creating circle legend around map using ArcMap

I saw following picture in an article. I want to create a map like this for my datasets with that circle legend around it. How can I create that circle legend around that map visualizing 30 polygons ...
1
vote
1answer
58 views

Adding a custom legend to my layout using PyQGIS

I am creating a layout with two maps, several boxes, picture, ... The problem turn up when I add a legend where I modified the layers. For that I create a list with layers in my map, after that, I ...
1
vote
1answer
30 views

How to make legend have no number overlap in Leaflet

I'd like my legend to go from 0-25 to 26-50 to 51-75 rather than what it is in the screenshot included. How should I go about doing that? function getColor(d) { return d >= 75 ? "#...
1
vote
1answer
28 views

Adding"no data" square to legend in Leaflet

I want to add a square above the red one in my legend that is Grey and says "No Data". How do I do this? var grades = [0, 25, 50, 75]; function getColor(d) { return d >= 75 ? "#...
2
votes
0answers
44 views

Inserting copyright symbol in label item in QGIS Print Composer

I have a label item in a print composer map layout. In there I'd like to insert a copyright symbol (red cross). Is there a shortcut or workaround?
2
votes
0answers
13 views

ArcGIS Pro legend changes after export, What you see is not what you get

I have a map made in ArcGIS Pro v2.7. After export I noticed that the legend has changes its location and the map frame (named layers) appears in the exported PNGs legend. This also happens when ...
2
votes
0answers
71 views

Setting legend subgroup to hidden using PyQGIS

I am trying to set the legend subgroup to hidden with PyQGIS. The context : self._project = QgsProject() layout = QgsPrintLayout(self._project.instance()) map_= QgsLayoutItemMap(layout) legend = ...
4
votes
1answer
55 views

Text from attribute table as symbols (font marker?) not showing correct in legend (QGIS)

I need to place symbols (point layer) with abbreviations from a attribute table. I solved that with "font marker" and data defined override as you can see in the screenshot below. The result ...
1
vote
0answers
34 views

Dynamic breaks of legend text in text in QGIS Atlas 2

I have tried the solution found in Dynamic breaks of legend text in QGIS Atlas I am using QGIS 3.10.6-A Coruña. I have attached a screengrab below. I use the "wordwrap" expression and it ...
2
votes
2answers
196 views

Dynamic breaks of legend text in QGIS Atlas

I want to wrap legend text after a certain amount of characters depending on the width (variable) of the legend item. I already tried the answer given at Wrapping legend text in QGIS MapComposer at ...
1
vote
0answers
32 views

Getting raster legend to change to match raster in map when dynamic range setting is turned on using ArcGIS Pro

When I bring a raster into ArcGIS Pro, I usually turn DRA on so the raster visualization changes depending on my map extent, but the legend never changes in the contents pane, or in the actual legend. ...
0
votes
0answers
23 views

Show symbology varying by size in legend using ArcMap

I am looking for a way to display point features with a symbology varying by size while using an expression to generate the size of the point features. I know I can do that by choosing Single symbol --...
2
votes
1answer
40 views

Making legend with singleband pseudocolor in QGIS

I have a continuous raster with values from around 0 to around 1. I used these parameters on the symbology tab: When I head to the print layout and add a legend to my map, it displays like this (the ...
1
vote
0answers
31 views

Legend with both size AND color for colored proportional circles in ArcMap 10.7?

I want to create a map displaying several parameters, so I decided to use colored proportional circles in ArcMap (see image 1). I did this by converting my features to points and then choosing ...
0
votes
0answers
24 views

Exporting animated map with legends

I know how to export an animated map in QGIS but I'd like to also place a legend, the north symbol and the scale. I know that in order to do this I have to create a composition but I don't know how to ...
0
votes
0answers
19 views

Why does it print only the last layer legend - GeoServer 2.17.1 print plugin?

I am trying to print pdf with map and legend. My problem is that in final printed pdf I always see just the legend for the last layer from spec json. I want to print this: And I get this: It looks ...
0
votes
1answer
13 views

Uncheck all layers in ArcGIS Pro legend?

Using ArcGIS Pro 2.8, I have a "Master" aprx file that has ~100 layers. When I insert a legend, the contents pane shows all 100 layers, most being ones that are not even activated on the map....
0
votes
0answers
41 views

DEM color ramp settings, disabling continuous legend, label precision with PyQGIS script

I have a script to automate my workflow in QGis. substring = "_DEM" strings_with_substring = [name for name in names if substring in name] for i in strings_with_substring : DEM = ...
3
votes
1answer
96 views

Loading predefined symbology in QGIS

I have a couple data sets with these files (image 1). When I load the symbology, I get random colors (image 2). The public domain I downloaded the files from have a predefined symbology (image 3), is ...
1
vote
0answers
82 views

Setting the legend size in ol.legend.Legend()

I'm working in a print map using legend with ol-ext library. It's working fine but when I see the legend in the corner it's not getting in the original size. How can i use the legend in default size? ...
0
votes
0answers
35 views

Graphic grouping in QGIS Map Layout

In QGIS 3.18, I'm trying to draw symbols/graphic for Map Legend manually in the Map Layout. When grouping them, it shows the big box like the screenshot below and seems not convenient to continue ...
1
vote
1answer
63 views

Adding more values to legend on print composer tool of QGIS

I am creating a map with a bathymetry layer (raster) on the print composer tool of QGIS. On the legend it only appears the minimum depth and the maximum depth. Is there a way on QGIS to show more ...
0
votes
0answers
48 views

Unable to Create Horizontal Color Bar Legend in ArcGIS Pro

I was able to do Raster enhancement: The horizontal legend in ArcGIS Desktop but it seems like the whole options are gone in ArcGIS Pro. Is there any way to create a horizontal color bar in legend in ...
3
votes
1answer
118 views

Is it possible to add (part of) the legend of the OSM standard map to the layout in QGIS?

For a location reference map I've created in the layout of QGIS (version 3.16.4-Hannover), I have used OSM Standard as the base map. The base map covers a wide range of objects and land types (see ...
2
votes
1answer
33 views

Organizing legend symbols in more than one column using QGIS

Is there a method to organize the legend symbols in more than on column in QGIS layout manager? For the same label I want to have a symbol that represents the actual situation and one that represents ...
0
votes
1answer
34 views

Removing all legend entries except one in LayoutItemLegend using PyQGIS

For my QGIS Plugin want to remove all legend entries in my layoutItemLegend exept one entries (chiro_layer). I would like to browse all of my legend entries and delete this one if it does not match ...
0
votes
1answer
61 views

Aligning text in legend using ArcMap

I am working in ArcMap 10.4.1. Trying to align the text in a legend. I want my title to be centred and the text next to the patches to be aligned left. The normal buttons to select alignment are ...
5
votes
1answer
149 views

Display polygon as a line in legend

I am trying to edit the admin boundary legend in the attached picture from a polygon to a line. However, when I do this by editing the symbol width and height, it changes for both the admin and R2 ...
4
votes
1answer
109 views

QGIS: multi column legend wrapping: how to keep layer symbols aligned horizontally?

In my legend I have one layer with a group heading and due to layout reasons I need it to be split in 2 columns: The only work around I can think of is to set heading to '' either in the layer panel ...
2
votes
1answer
74 views

Legend Items: No Symbols

I am working on exporting my maps through the layout editor, but in the generated legend the symbols are not appearing as they should. As you can see from the screenshot, the "Legend Items" ...
5
votes
1answer
105 views

Editing legend text very demanding

I am using QGIS 3.18 on Windows. Whenever I edit a legend text in Layout view my computer gets very worked up. My CPU temp rises dramatically and the process of typing is really slow. Every single ...
8
votes
1answer
183 views

Vertically and Horizontally align the labels in multi-column QGIS legends

In QGIS 3.18 (and older versions) I noticed that the first item in a multi-column legend isn't aligned with the items in other columns. I have played with the settings in the Spacing column but can't ...
3
votes
1answer
109 views

Splitting legend in QGIS in to 2 columns

I am new to QGIS and I am making a map of India showing some quantity. I added the legend to my map layout, I have 10 symbols in my legend and it is very long , so I wish to split it into 2 columns. I ...
0
votes
0answers
9 views

Showing text from attribute on legend patch and text from another in legend label using ArcGIS Pro?

I would like my legend to look like this with text from one attribute on the patch and text from a description attribute to be the patch label beside. I cannot work out how to do this in ArcGIS Pro. ...
0
votes
0answers
43 views

No change in graduated symbol size in map, the change occur only in layer panel

I want to make a map of India with the population in some cities, with symbol size ranging from smallest to largest according to the population value. I used graduated symbol. I have 13 categories of ...
1
vote
1answer
38 views

Symbol missing in legend when adding to layout map

I am new to QGIS and I am trying to make a map of India displaying some values. I want to have a legend, and I customised the legend in layers panel, the Layers panel clearly displays my legend. But ...
4
votes
1answer
203 views

Set the spacing above group in a Legend - PyQGIS

I am in the process of creating a script which needs to add a caption to an already existing layout. So I created a PyQGIS code in order to do it : legend = QgsLayoutItemLegend(layout) layout....
2
votes
0answers
115 views

QGIS 3.18.2 Print Composer/Layout map legend vanishes/goes blank when layer/theme is changed

Using the print composer/layout in QGIS 3.18.2 I have the following problem ... Starting point: I had a print layout set up with a map and legend. The map layers were set by 4 themes. The layout used ...
1
vote
0answers
21 views

Text cutting off when exporting map using ArcMap

For some reason my labels keep cutting off; the same happens with my legend when converting to pdf or jpeg. I am using ArcMap 10.8 and have never experienced this issued until my ArcMap was ...
0
votes
2answers
62 views

Remove a legend entry if the layer is not in the composer map

I am working on a QGIS plugin in python. In this plugin I load two layers. These layers are polygons which represent administrative boundaries. My plugin load also several print layout in a Qgis ...
4
votes
1answer
82 views

Adding legend for specific ranges not for discrete values in QGIS

I want to add legend for a QGIS proportional symbol map rangewise. That is my data ranges from 57000-630000. So I want the legend as: 57000-60000, 60500-70000, 74000-79000, 81000-87000, 90000-94000, ...
2
votes
1answer
64 views

Adapt attribute table QGIS legend from bottom

I have an attribute table controlled by Atlas on map composer from QGIS. I need to adapt the table for each map and its features but from bottom. In other words, I need to make grow the table from ...
1
vote
1answer
58 views

Filter QGIS layout legend item style by expression for min, max, median values

Summary: In the [print] Layout Composer in QGIS 3.18.1 I am trying to filter the legend styles displayed for an item that is a polygon layer styled by the "categorised renderer" by the min, ...
2
votes
2answers
121 views

Remove LayoutItemLegend entry PyQGIS

I work on QGIS Plugin in python. This plugin load several Print layout in a QGIS project. These print layout contain a legend. I would like to be able to remove a layer from the composer legend ...
1
vote
2answers
499 views

"Data-defined size is not enabled!" - error when trying to create legend

I would like to make a legend to a map in qGIS 3.18 using proportional symbology based on an integer field. When I go to Layer Properties -> Symbology -> Advanced -> Data-defined Size Legend, ...
3
votes
2answers
198 views

Hiding invisible map layer in legend using QGIS

I am working with QGIS 3.14 and 3.16 on Mac and Windows and I am really struggling in finding a way to remove disabled map layers in the legend view of the Layout Composer. In prior versions there was ...
1
vote
3answers
63 views

Align descriptions after labels in ArcGIS legend

I have produced a legend which includes both a label and description for each symbology. I would like the descriptions to align despite the label lengths differing between layers. In this example, &...

1
2 3 4 5
16