Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [legend]

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

2
votes
0answers
24 views

Displaying Legend for Variable Width Line in QGIS

I am using QGIS v3.4 to display a simple line as a line of varying width using the variable line width attribute facility of QGIS (please see screenshot below). The layer displays correctly within ...
3
votes
1answer
33 views

QGIS print composer - Legend columns not aligning when title is deleted

I want a simple legend without a title and with 2 items side by side. I can't find an option to turn the legend off so have just deleted text from the Legend title box. I select Columns (2) - Equal ...
0
votes
0answers
17 views

Can't select/remove automatic legend in layout view

Every time I start a new map and go into layout view it automatically generates a legend, scale bar, and north arrow. I can select the scale bar and north arrow and remove them, but for some reason I ...
0
votes
0answers
8 views

ArcGIS Pro Key Numbering in Legend

I'm creating a map layout. One of the layers is a point layer of villages, and because of the scale of the map and the clustering of the villages, I think the easiest way to provide the name of the ...
2
votes
1answer
39 views

Hiding single class in ArcGIS Pro legend?

How do I hide a specific feature in my legend? The feature River is shown on the map but should be hidden in the legend. The other features are in the same layer. The only way I can think of is to ...
0
votes
0answers
21 views

Border Legend Same As Map Backgorund

How create legend border same as map background like in the image? I'm just can get the border white like the rest of legend frame. I'm trying in Arcmap and ArcGIS Pro.
1
vote
0answers
28 views

How can I summarize the values of a raster to make a clear legend? [closed]

I produced a relief map out of a ASTER Satellite Picture by using a colour ramp (Symbology -> band rendering). I want to make a map out of that in the Print Composer but the Legend is very confusing ...
1
vote
1answer
28 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". ...
0
votes
0answers
19 views

GeoServer legend fails when using Graphic Symbology

Using the graphic symbology to fill a polygon in GeoServer I can successfully display a polygon with a 'slash' overlay using the CSS below. { stroke: #999999; stroke-width: 0.5; fill: #...
0
votes
0answers
21 views

ArcGIS Online Custom Print - Printing Legend

I created a custom print service using ArcPy. It is hosted as GPServer on my test server. The print service uses a JSON configuration file to pull the data from the mxd. The JSON passed from the web ...
0
votes
1answer
51 views

Changing legend labels in ArcGIS Desktop?

I don't know how to change legend labels using attribute table. I want to use values from "litologia" field instead of "kod". Is this even possible or do i have to switch value field in symbology ...
4
votes
1answer
89 views

Showing size of pie chart in legend of QGIS?

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 QGIS 3?
1
vote
0answers
20 views

Bar Chart Legend

I am trying to add legend to a map with bar charts which would be meaningful. The default legend doesn't explain the size of bars on the map. I have tried this one: https://www.esri.com/arcgis-blog/...
2
votes
1answer
35 views

Polygon fill outside of stroke in print composer

For some reason the polygon fill is outside of the stroke in QGIS print composer. My stroke width is set to 0.18 which I would like to keep constant. Is there anyway to fix so that the stroke goes on ...
-1
votes
1answer
28 views

Second page with legend in ArcGIS Pro?

I would like to illustrate the following: on page 1 of my layout I need the map content on page 2 the legend only and nothing else. How to proceed?
1
vote
1answer
26 views

Choosing method for labeling graduated data that is space efficient? [closed]

Could someone recommend the best standard approach to labeling graduated data ranges? I was thinking of the following but would like to know if this is industry standard: Less than 0 >0 - 100 &...
2
votes
0answers
52 views

Add basemap copyright in QGIS?

I am using the QuickMapServices plugin for basemap imagery and was wondering if I can add a QGIS legend that includes default copyright information? I know this can be done in ArcMap...!
1
vote
2answers
121 views

Issue with QGIS 3.4.4 Atlas legend not showing all map items

I have a layer within my project that has been filtered to show the associated point with the associated Atlas feature: But when in composer view and there are both point types within an Atlas ...
1
vote
1answer
61 views

Auto update QGIS Legend

I have a project with many layers. Some layers are objects of interest while other layers are custom layers. Simplified example: Streets (polygon) Buildings (polygon) Street names (point) I created ...
2
votes
0answers
97 views

QGIS 3 - Wrong legend for datadefined size points layer

I am trying to generate a proportional symbol symbology using data defined symbol size in a QGIS 3 python plugin. Here is the working code : # Symbol creation symbolLayer = ...
1
vote
2answers
52 views

Keep the symbol in the Layout Map but do not show it on the Legend?

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

Geoserver : how to use getlegendgraphic to avoid duplicate symbols in legend because of rules

I am currently doing a master's internship in a town hall. I am working on improving the interactive map of the municipality where I work; it uses the Geoserver platform to host the layers and their ...
1
vote
1answer
46 views

QGIS- how to prevent layers from appearing in legend on composer

My laptop (Lenovo x1) usually crashes When I add legend to a map composer in QGIS (QGIS 3.2 BONN). Problem is that all layers in the project will be "auto-updated" to the legend and this will get my ...
0
votes
0answers
31 views

Creating graduated legend for rasters using QGIS? [duplicate]

I have see a few posts about the difficulties of generating nice looking legends for rasters but they all seem to relate to older versions of QGIS (Las Palmas and older). I'm on 3.4.4 and want to know ...
3
votes
1answer
173 views

QGIS change legend symbol size independent of map

I'm using QGIS 2.18. The screenshot below shows the print composer. At the moment, the only way I can reduce the size of symbols in the print composer is to reduce the size of the symbol on the map. ...
0
votes
1answer
75 views

Creating A Legend by Iteration over ee.List() Object Google Earth Engine

The Goal is to adapt the Legend from the Example for my Data I just Changed the Following: In the original the names and their palettes of subclasses are separated in different subclasswise-...
1
vote
2answers
35 views

Changing legend name in ArcGIS 10.3.1

I can't wrap my head around how to change this legend name. The left picture shows the raster in the Toc with that annoying "VALUE", the centre shows how the legend appears and the right one shows ...
0
votes
1answer
41 views

Associating Point Layer, Annotation Group and Line Layer in Map Legend?

I have an annotation group containing charts associated with a point layer in an ArcGIS 10.2 for Desktop layout. There are a number of line types on the charts. How can I add the chart line symbology ...
1
vote
0answers
53 views

How to edit a legend for WMS map in layout

I'm working on a project in QGIS and I'm trying to edit a legend for a WMS map in a layout (see pic below). From what I read the legends for WMS maps are provided as images and therefore they cannot ...
2
votes
1answer
61 views

Symbology for multiple attributes within the same feature class in ArcMap

How to represent two variables in one graduate symbol "figure", colors and graduate size circles.
3
votes
0answers
63 views

Changing legend spacing to be further away from map border in QGIS?

I am using QGIS 3.2.3 I am creating a map in which I have added a legend to (see figure below). My issue is that I am trying to create a legend which has spacing between the two columns. I have ...
-1
votes
1answer
62 views

Multiple Legends the same for ArcMap?

I'm trying to create a single legend for multiple maps. Each map is for a different year, and has the same set of polygons. The polygons on each map display a different range of values. For example ...
1
vote
2answers
143 views

How to remove legend items with PyQGIS without removing the layer?

I am trying to generate maps in pdf files by using a pre-defined .qgz layout. I am already able to load layers and adjust color scale, etc. Since the legend is synchronized with the map layers, all ...
1
vote
1answer
36 views

How to exclude some classes from legend?

I have a raster file with 8 classifications (all numerical), however the last classification I have coloured with 'no colour' so it does not show up on the map, however I also wish to exclude this ...
1
vote
0answers
26 views

Set the same font in QGIS legend as in map

I want to use the same fonts in the legend that are used on the map (different feature = different font). Is it possible? I only get one font for all items.
1
vote
1answer
68 views

Data-defined size legend QGIS and Map Unit symbol

In QGIS, I am making maps of the same project in different scale (global and local). To make my symbol looks alike in all scales, I've choose to use proportional symbol with a size in "map unit". ...
1
vote
1answer
79 views

Rounding numbers in QGIS raster legend?

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
71 views

Legend for OpenTopoMap in Leaflet

I want to use OpenTopoMap as background map in Leaflet. I can't find information about the colour encoding of heights to create a legend. Does anyone know the correspondence between colours and ...
0
votes
1answer
39 views

Editing Legend Text in Carto (“Other”)

I'm working on a map that has nine unique categories and Carto adds an "Other" category to the legend. There is no other data outside of my nine unique categories and I can't get rid of Other label on ...
0
votes
1answer
114 views

Point Cluster in QGIS and Legend

I am using the point cluster symbology in QGIS and have defined the size of each point based on the cluster size using @cluster_size in the size assistant. It looks great on my map, but I cannot ...
2
votes
3answers
93 views

Size-related point in QGIS

I want to map the absolute increase/decrease of the population of a city. The amount of people that increased/decreased is represented by a size-related point. If it's negative I want to have it in ...
0
votes
1answer
92 views

Map legend is not working in GWC WMS and WMTS

I am not getting map legend in GWC WMTS or WMS service, QGIS returns an error "Returned legend image is flawed". but when I am accessing that layer using WMS in QGIS, Map legend is showing with the ...
0
votes
1answer
76 views

Legend shows items not in visible extent

I have a layer which I have set the primary symbology to 'Unique Values'. I have then used an expression which combines the values from two fields: $feature.code + ' ' + $feature.name The code and ...
2
votes
0answers
87 views

QGIS - Legend Columns - Uneven distribution of legend items

I'm working on a legend in QGIS 3.2 but cannot figure out how to get a set of legend items to distribute across 3 columns, but with an uneven number of rows. For example I have 9 items that display ...
5
votes
2answers
95 views

Using Data Driven text in legends?

I am trying to use an attribute of the data driven page in the legend. I am labeling a polygon layer set to only show if it matches the ddp through a Page Definition. This is what I want: This is ...
1
vote
0answers
46 views

How to export vector layer's legend separately in QGIS

I have a vector layer with QgsRendererRangeV2() objects. I searched to get legend belongs to the vector layer and found this: legend = QgsComposerLegend(c) legend.model().setLayerSet(mapRenderer....
4
votes
0answers
129 views

Question marks (“?”) in QGIS layer panel when using svg markers defined with “Data defined override”

When using svg marker symbols and set the path to svg file via Data defined override the svgs display well in the map canvas, but not in the layers panel (applies for QGIS 2.x and 3.x). svg marker ...
1
vote
0answers
39 views

QGIS - Rule-based Symbology - Added Ranges do not carry over Legend entries [closed]

When I add ranges to a rule, under Rule-based Symbology, the auto-populated (or modified) legend values do not carry over. To fix this, I would have to manually change each line in the legend ...
0
votes
1answer
41 views

QGIS composer changing legend position when exporting

I'm observing the same issue seen in QGIS map composer changing legend position when exporting atlas as images It is happening when the checkbox "Main properties > Resize to fit contents" is checked. ...
2
votes
1answer
126 views

Making long labels visible in a legend

How do I handle map legend with tens of classes using QGIS? I searched for instructional videos and previous post relating to the question but could not find any helpful material. The legend text in ...