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
25 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
33 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
67 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
63 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
49 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" ...
3
votes
1answer
53 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
79 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
36 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
8 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
36 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
31 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
190 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
54 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
12 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
54 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
62 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
48 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
46 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
58 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
89 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, ...
2
votes
1answer
65 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
29 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
vote
0answers
13 views

Combining continuous and categorical symbology of a raster in ArcMap

I am trying to replicate a symbology that I created in R using ArcMap 10.5. I have a raster showing flood depth, with float values ranging from 0.001 to some meters (e.g. 3.8). Anything that is below ...
3
votes
0answers
38 views

Arranging rulebased symbology alphabeticaly

QGIS version 3.16.4 I'm working with a layer that has a lot of different items in rulebased symbology. But they seem to be ordered randomly. Is it possible to arrange them alphabeticaly? I'm hoping ...
0
votes
0answers
17 views

How do you create a dynamic legend in ArcGIS 10x that summiaries the areas of a polygon based on a layout?

Hi I have a land use polygon layer with around 700 maps to produce. Am trying to create a dynamic legend that summarises the areas M2 based on the layout extent. The layout extents and maps are ...
0
votes
1answer
65 views

Adding tmap_icon to legend in r

The tmap_icons() function within the tmap package allows users to call a png file into tmap to be used on a map. However, I can't seem to find out how to add custom symbols to the tmap legend. See the ...
1
vote
0answers
25 views

How to get the layer name of the WMS in the legend of the user interface

I have a problem with displaying the name of the layer in the legend of the user interface. I prepare the mapfile and I access with the WMS in my local test interface. When I add it to the user ...
1
vote
1answer
73 views

How to show data defined centroid fill marker font in the legend?

I'm using QGIS 3.18.0 on Windows 10 (from OSGeo4W Network Installer). I have a polygon-shapefile with an attribute table including the attributes "signatur", "r", "g" and ...
1
vote
0answers
20 views

Points dataset legend to polygon dataset

I'm working with ArcMap 10.5.1 I have a point dataset in a gdb, with a particular legend. The color in the legend represent the area of effect that intersects that point. I also have a polygon dataset,...
1
vote
0answers
60 views

Adding custom names to a GeoPandas legend

I have a shapefile which has an attribute table with a column I would like to make a map/plot of. The attribute values are numerical (integer). I have made two dicts to map the colors and names I want ...
5
votes
2answers
248 views

How to get back discrete raster legend symbols in QGIS 3.16

In the recent QGIS version, layer tree symbols for pseudocolor continuous raster palette have changed, so that it shows as bar with continuous color range with only minimum and maximum value of the ...
2
votes
2answers
81 views

Changing Legend Symbology to include a 'Sum' field using QGIS 3.16.3 Python Console

I currently have a vector layer that contains intensity polygons and are colour co-ordinated depending on the level of intensity. Within this 'Intensity' file, there are two columns Intensity and ...
5
votes
1answer
77 views

Bivariate legend plugin throws NameError exception

While using QGIS 3.10 and 3.16 on Mac OS X Big Sur, the Bivariate legend plugin throws a NameError exception. How do I fix this or work around it? The following stack trace is from QGIS 3.10. The 3.16 ...
1
vote
1answer
36 views

Globe legend in ArcGIS Pro

How do I build a legend in ArcGIS Pro, working with a Global Scene view? If I work in a normal map, then in the "Insert" tab there is a legend function, and if I work with the globe, then ...
3
votes
1answer
102 views

Specify legend size in GetLegendGraphic

The WMS call GetLegendGraphic (in my case to Geoserver) returns a single image of icons and legends. How can I specify the width of the returned image? The WIDTH parameter is the width of the ...
3
votes
1answer
84 views

Legend values in QGIS

I've got a map composer in QGIS with a polygon layer (attributes: code, area). I want to add a legend with the codes and the total area for each code. I used the following expression (wrong, as it ...
0
votes
1answer
63 views

How to copy a legend in QGIS map layout?

I am creating a map where I have many legend items. Initially, I divided them into two columns but now I want to separate them. When they were together I have customised font size, style etc. I can ...
6
votes
5answers
298 views

QGIS: How to invert the values in a layout legend?

At 3.16.3 I have added this legend to a map layout. Notice how the lowest value is at the top, with values increasing towards the bottom: I would like to instead have the lowest value at the bottom, ...
0
votes
0answers
14 views

Size problem in the Legend (QGIS) [duplicate]

I have a problem regarding the size conversion from the legend elements tab an the actual legend.
1
vote
0answers
92 views

Legend not showing properly in LayerList

In my web app using ArcGIS API for Javascript 4.18, I am bringing in 3 layers served from a mapServer REST Service using MapImageLayer. I also have a LayerList widget to display these layers. My ...
2
votes
1answer
117 views

Is it possible to change number format to scientific in QGIS layer legend?

I have a layer with really small values and the classes in the legend do not look nice both for work in QGIS but also in the print layout. Is it possible to somehow change the format of the numbers ...
3
votes
1answer
149 views

QGIS expression on legend for duplicated values

Having a building table, grouped by an id and its respective amount of apartments. I want to label every symbol id on map composer legend with the amount of apartments. For a simple expression '...
1
vote
2answers
66 views

Clustered points legend prints as separate RGB bands

I'm using one the ArcGIS clustering samples in order to generate clustered points. This achieves the desired effect on the map and legend. However, when I include the Print Widget in this sample, the ...
7
votes
1answer
127 views

Modifying layer name in the layout legend with PyQGIS 3

I would like to update the legend item in my layout with other names. I tried the following code, which returns no error but layers name remain the same. project = QgsProject.instance() layout = ...
2
votes
1answer
101 views

Generate list of legend's RGB colors and values in ArcGIS

I am writing a node/typescript app that analyzes raster data. It uses leaflet and esri-leaflet quite a bit (modified to work server-side). For a given map bounds, it can download a raster image from ...
2
votes
0answers
40 views

ArcGIS Pro Legend patch and layer name not center aligned

I have some issues with my legend in Pro, where some patches and their layer names are aligned centrally, but others are aligned to the bottom of the patch. I can't seem to make sense of it or find a ...
1
vote
2answers
75 views

QGIS: Legend not displaying symbology of items

I'm making a plant including power plants in a country. I plotted the plants and their symbology shows up in properties in the legend items but it does not in the legend itself as you can see in the ...
2
votes
0answers
48 views

Setting QGIS WMS character encoding

I am using the QGIS as a WMS client. I'm loading the WMS layer but the legend characters (which are in Persian language) are not displayed correctly in the Layer tab. Is there anyway I can handle the ...
4
votes
1answer
118 views

How was this map made by qgis2web

I have a layer with some points and I want to publish it using qgis2web. I have seen some exampes where the legend can be filtered such as in this webmap: https://ukerc.rl.ac.uk/TOOLS/...
1
vote
0answers
20 views

Loading legend items with hidden label by default in QGIS

Is there a way to set up the loading of the legend items in the layout manager with hidden labels by default? I can't seem to find the settings for that if there are any.

1
2 3 4 5
16