Questions tagged [legend]
The description of the types of features included in a map, usually displayed in the map layout.
985 questions
0 votes
1 answer
33 views
Automate hiding layer names interfering with hiding the bande 1 of the raster in the legend of the print-composer
I'm working with QGIS 3.40 (Bratislava) and I’m trying to automatically hide all layer names in a print-composer legend. Right now, I’m doing it manually: right-clicking each layer in the legend and ...
2 votes
1 answer
65 views
Automate the turn off QGIS band number in the legend
I’m trying to remove the “Bande 1” label that appears in the raster legend in QGIS 3.40 (Bratislava). This issue was already mentioned here: How to turn off QGIS legend band number by default? The ...
1 vote
0 answers
19 views
Hiding legend in SLD/GeoServer
I have read through the various answers for this problem - none of them are working for me. I have many rule blocks for a map I am styling in GeoServer (version 2.18.2). It is showing a legend icon ...
1 vote
1 answer
58 views
QGIS legend set bottom margin smaller
I want a more lean legend in QGIS. For the legend margin and the sides left and right this works. But I want to make the margin on the bottom smaller (maybe 2 mm). Is there a way? The GUI does not ...
1 vote
0 answers
68 views
Rule based categorizing of layer styling in QGIS leaving out empty categories
I use QGIS Server to publish data for maps on my monicipality's website. I have a dataset with data in potentially nine different categories but with quite few features all together so that several ...
4 votes
1 answer
196 views
Removing rows in Layout legend with PyQGIS
I have a script that exports multiple layouts using different layers. Part of it is changing the legend depending on which layer is being printed in the layout. I'm having trouble finding a way to ...
3 votes
1 answer
176 views
Legend items show up small in QGIS
Legend items show up smaller than usually, tiny when I've created a legend. There wasn't much help of setting a bigger font as colours didn't get bigger. I tried different version of QGIS the same. I ...
1 vote
1 answer
60 views
Add legend for single-color raster
I have a raster layer whose style is set to "Single color". I would like to have a rectangle with this color in my legend, as if I had a vector layer with a single-symbol style. The other ...
0 votes
1 answer
82 views
Organizing QGIS legend entries
I am working on a map in QGIS and I have a classified raster with a few years (see screenshot). Is there a way to sort the years of this legend entry in 2 columns with 3 items each? I want only this ...
1 vote
1 answer
108 views
Add text line fully left-aligned without symbol in print composer legend of QGIS
Is there a way to place a line of text (here "* = unpaved") in the legend completely left-aligned, where the symbol would normally be? You could achieve this by inserting a text box (as ...
3 votes
2 answers
104 views
Headlines for attributes within the same layer in print composer legend of QGIS
In the legend of the print composer I have a layer with attributes that have the same symbology (colour) (see screenshot). What I want is to have headlines in the legend to describe the attributes ...
0 votes
1 answer
60 views
“LULC Legend or Class Mapping for CSIRO Indonesian Hybrid Landcover Dataset (ACIAR LS/2019/116)”
I am using the “Indonesian Hybrid Landcover” dataset from CSIRO (https://data.csiro.au/collection/csiro:55637) related to the ACIAR LS/2019/116 project. However, I can’t find any LULC legend or ...
3 votes
1 answer
121 views
Neatly arranging multiple fields in the legend in ArcGIS Pro
I got a map today (made with ArcMap) with a legend where multiple fields from the attribute table are displayed in neatly arranged columns (see screenshot below). All I managed to create was two ...
1 vote
0 answers
57 views
Is it possible to only have a legend refer to features in a layer that are labeled?
I'm currently working on a project where I need to have a map series with a dynamic legend showing the visible district polygon features' data, but I don't want all the features visible in the map ...
0 votes
0 answers
30 views
QGIS layout: diagram legend entries scalling when DPI increases
When I checked option 'Show legend entries for diagram attributes' in layer properties/diagrams/legend tab, then my symbols of diagram legend getting smaller relatively to higher DPI on the .png/.jpeg/...