Stack Exchange Network

Stack Exchange network consists of 174 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.

0
votes
0answers
13 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
38 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
50 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
32 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
27 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
31 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
28 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 ...
2
votes
1answer
74 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
31 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
votes
0answers
16 views

How to change values and keep symbology in ArcGIS?

-I have two columns in an attribute table like this: So, the symbology is based on the column A and also the legend is showing the attributes of column A. I want to create another column that join ...
1
vote
2answers
31 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
29 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 ...
0
votes
0answers
28 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
28 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
57 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
49 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
93 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
33 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
25 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
0answers
40 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
64 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
52 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
34 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
69 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
67 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
64 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
41 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 ...
1
vote
0answers
58 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
80 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
40 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
99 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
35 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
36 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
74 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 ...
1
vote
0answers
88 views

Use harmonized world soil database (HWSD) in QGIS ie load .blw, .hdr and .stx files coming with .bil raster

I am trying to use the data of the HWSD in QGIS. See: http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/ How do you get the same result in QGIS as in the viewer ? More ...
1
vote
1answer
35 views

Legend styling in QGIS: How to create overlaying points based on size

I have a categorized point layer, were the size of the points is based on a feature. Normally in the legend, there would appear multiple points with different sizes. However they consume a lot of ...
1
vote
2answers
94 views

Displaying multiple symbols/patches for the one layer in an ArcMap legend

I'm mapping incidents of an invasive species on a map, where the observations during surveying were recorded as points and also a line where there was a long continuous strip of the species along a ...
0
votes
1answer
71 views

Show/hide layers (not sublayers) via selector in legend - carto.js v4

I am trying to build a layer selector using carts.js.v4, similar to the one provided in Carto Builder. Examples of layer selectors that I have found utilize sublayers and my maps are using separate ...
3
votes
1answer
103 views

Sorting features in legend

I have a map with a polygon layer containing 100+ features. I want them to display on the legend and the Layer Tree using the Polygon's ID and then its name i.e: "Id - Name". I'm using the ...
1
vote
0answers
51 views

How to filter legend by map content in composer with raster layers?

Does the "Filter Legend by Map Content" button in composer of QGIs 3.2 version work only for vector layers? It seems it's a bug reported in 2.18.x version and should be fixed for 3.x versions (https://...
0
votes
0answers
29 views

Map size, change the language of the legend plus get rid of the islands

I was able to build this map with data from the Eurostat As I am working in Spanish, the legend should be in this language nevertheless, in the legend still appears two words in English (under and ...
4
votes
1answer
325 views

Make legend in QGIS only show features in the view extent?

I am trying to create a legend in QGIS 2.18.22 so that it only shows the features that are in the current map extent in the print composer. I have been selecting the 'only show items inside current ...
0
votes
0answers
12 views

Map Automation: Auto Sort Legend Items by Quanity

Using ArcMap 10.6.1, I have a python script to automate the production of 10 maps, each representing a State. For each state, I have 4 point layers. The number of points in each layer differs by state....
2
votes
0answers
53 views

How to show label styles in map legend?

In a QGIS map legend, what methods can be used to show examples of a feature's label, in addition to its symbol? For example, a single point symbol might be used to show all cities, but the label ...
1
vote
1answer
132 views

Renaming ArcMap Legend item titles

My legend is currently displaying both the layer name and indented data name underneath the layer name. How to display just its name shown in the table of contents?
1
vote
1answer
219 views

How to remove 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 ...
2
votes
2answers
157 views

Same colour palettes for two different maps in ggplot2

I am constructing two ion concentration maps in the UK using ggplot2. The dataset used for mapping are lzn.kriged1 and lzn.kriged2 which basically has the same structure: > str(lzn.kriged1) Formal ...
1
vote
0answers
34 views

Forcing legend entry to display markers in QGIS

Is there a way to force the patch in the legend to include a loosely spaced marker symbol in QGIS print composer? I'm using a large, loosely spaced marker symbol to represent wetlands in a map I'm ...
0
votes
0answers
41 views

Text to legend based on attributes?

I am currently using the data driven pages with dynamic text to populate information within the legend. Is there another way to do this as I have quite a few maps to make and would like to automate ...
0
votes
2answers
97 views

Formatting numbers coming from dataset to include commas for thousands in Carto map legend?

I'm using carto.js v4 to build my map. The legend I've put together displays some of the data as numbers next to value scaled markers As example I have: document.getElementById('gasDistmax')....