Skip to main content

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
0 answers
30 views

QGIS losing legend settings

I am consistently losing legend settings including font, spacing and size when I come back to a qgis project. I am running QGIS 3.28, when I create a map and save and close it. If I come back to the ...
user243107's user avatar
1 vote
1 answer
43 views

In QGIS, how do I format my legend so that layer entry labels don't have the same space as the layer's entry? [duplicate]

It's fairly simple, I'm making a print-layout for my map in QGIS. For spacing reasons, I'd like my legend to be below my map in two columns. However, The length of the layer's label stretches the ...
Phil's user avatar
  • 13
1 vote
0 answers
45 views

Atlas - Legend changing between pages

I'm setting up an atlas in QGIS to export tens of maps as fast as possible. One thing I don't understand is why the legend I put almost always move between the maps. The size is dynamic as some ...
Mr_Yum's user avatar
  • 1,049
0 votes
0 answers
19 views

Symbology style from SIGEOM database to QGIS with correct legend

I am having an issue with having the correct colors for my map and these colors being in accordance with my legend. I imported a shp from SIGEOM database in QGIS. When I click on categorized in the ...
PlanetaryGeo's user avatar
3 votes
1 answer
88 views

Labeling point objects with their coordinates in the print layout legend

I have multiple layer containing each a different point object. I want to label those points with their coordinates in the legend of my print layout. I tried saving the coordiantes as attributes and ...
KJ2024's user avatar
  • 33
0 votes
0 answers
44 views

Using HTML legend in QGIS - need clarity [duplicate]

Apparently, there is a new tool for using HTML rendering in QGIS print layout, legend. It has been specified here: https://qgis.org/en/site/forusers/visualchangelog330/#print-layouts under Feature: ...
Lana's user avatar
  • 1
0 votes
0 answers
27 views

How to set legend layer invisible in PyQGIS

How I can to set layer (memory layer in my case) invisible in legend, but visible at map? I saw QgsLegendRenderer.setNodeLegendStyle(node, QgsLegendStyle.Hidden) solution, but I can't find a way to ...
Dezmonder's user avatar
0 votes
0 answers
41 views

QGIS - Upslope Area Function - Error

I am try to create map that shows the catchment of my reserach area. I already created the steams and related basins. Further, I would like to delete the basins that are not related with my catchment ...
Burcu Ersoy's user avatar
1 vote
0 answers
35 views

Make a slope-aspect map and create a circular legend for it in QGIS

I'm working on Terrain analysis of my ROI and could compute aspect and slope separately. Although I found a fairly easy tutorial on how to make a slope-aspect raster, I want to know if it's possible ...
Amine MB's user avatar
0 votes
1 answer
24 views

QGIS - filter (exclude) Atlaspages with empty legend

Is there a way to filter/exclude all pages of a Atlas-setting that have no selected legend information?
Marek's user avatar
  • 537
0 votes
0 answers
21 views

Custom Draggable legend not working on Fullscreen Folium Plugin

The code below for adding a draggable legend is taken from: How can I add a legend to a folium map? On adding the Fullscreen folium plugin, with fullscreen mode the draggable legend is hidden ...
Ceraunophile's user avatar
0 votes
1 answer
43 views

What does this symbol mean on an 1853 GLO map?

This is a segment of an 1853 GLO survey map from the Bureau of Land Management in Oregon. Does anyone know what the wavy line with the light blue gradient running alongside denotes? I've tried ...
Chris's user avatar
  • 1
0 votes
0 answers
33 views

Sorting legend items across multiple layers alphabetically

Is it posisble in QGIS layout manager to sort all legend items from multiple layers/groups alphabetically after i have hidden the groups? So from layer 1 I have item A and item D, from layer 2 i have ...
John's user avatar
  • 1
0 votes
1 answer
57 views

Blank space in the qgis2web legend

I’ve been trying to customize the legend obtained by qgis2web but I still get blank spaces between the groups that I formed. I am not sure if I have to change the script of index.html or layers.js. I’...
DorExplor's user avatar
1 vote
1 answer
19 views

Creating summary symbol in ArcGIS Pro

A former coworker created a legend in ArcGIS Pro with this entry: I thought there would be some setting to summarize the layer's symbology - something to indicate that features are shown in unique ...
gspontak's user avatar
  • 353
2 votes
0 answers
42 views

QGIS Graduated renderer for symbols - combining the color AND size methods

I want to add symbols with a graduated color in addition to symbol size for point features. Just as important, I want this to also be showing on the Legend in my layout. Answers to similar questions ...
DAVE's user avatar
  • 21
0 votes
1 answer
49 views

Qgis2Web: roll out and zipped folders in the legend

I am using Qgis2Web in order to compose an interactive map for a website but in the legend I have many folder with layers. For users visualization I want the folders to be able to be roll out or ...
DorExplor's user avatar
1 vote
0 answers
34 views

Legend label rounding with Python in ArcGIS Pro

In a legend of feature layer, I would like to format the subtitle so that it doesn't print the full number, but rounds the category limits to 2 decimal places. I want to implement the format shown in ...
GisT's user avatar
  • 91
1 vote
0 answers
66 views

Data-defined size legend only showing size in QGIS

I am having issues getting a legend set up in QGIS 3.34.1 for a point layer that is colored based on one attribute (population class) and then sized based on another attribute (population). I have ...
Puwx's user avatar
  • 11
0 votes
1 answer
84 views

Render a Legend for a FeatureLayer that is not present on the map in ArcGIS JS API

I have a scenario with an ArcGIS JS API map where I want to create a legend for a FeatureLayer that is not currently loaded onto the map. Let's say I know layer the endpoint, and I call to get the ...
Seth Lutske's user avatar
1 vote
1 answer
88 views

QGIS Geometry Generator - legend symbol not recognizable (too large)

I created with the QGIS Geometry Generator some symbols for water-management. But somehow in the legend symbols are rendered "too large" when I have as "Unit" - "Map Units&...
sn1ks's user avatar
  • 3,002
1 vote
0 answers
39 views

Sorting ArcMap legend alphabetically

I'm using the ArcMap application of ArcGIS Desktop to make a map and I have many legends. Is it possible to sort legend in alphabet order without manually reordering it?
MapperIndo's user avatar
3 votes
1 answer
122 views

QGIS: show attributes of different colums in legend

I'd need to classify and display on a map different land cover symbols by its Corine Land Cover codes, but in the meanwhile I'd like to show them in legend as symbol (based on UDSCOD) + code (UDSCOD) +...
SirB1's user avatar
  • 185
3 votes
1 answer
65 views

Disallow layer renaming in a QGIS project

I have a QGIS project with multiple layers and would like to prevent the user from easily renaming the layers in the layer tree. Can I set this in the project's settings and if so, where/how?
bugmenot123's user avatar
  • 10.9k
0 votes
0 answers
16 views

Loading Legend into standalone GWC with ArcGIS compact cache layer

I managed to load compact cache v2 into standalone GWC using information from Setting up Geoserver GWC with ArcGIS compact cache layer. Example of my <arcgisLayer> in geowebcache.xml : : ...
Mar-ile's user avatar
1 vote
0 answers
36 views

Automating QGIS legend with RGB fields

I have a shapefile layer with R,G,B fields and used the following expression to set the symbol color. Surprisingly, it worked right away. However, even though the colors are applied in the canvas, ...
pr_'s user avatar
  • 53
2 votes
0 answers
37 views

QGIS Legend element order moving when using custom symbols

On QGIS 3.28.14, I have a strange thing happening my legend element even in a simple map layout. Say I have simple two layers, both of them have a rule-based symbology. In a map layout, I create a ...
Mr_Yum's user avatar
  • 1,049
2 votes
1 answer
90 views

Is there a way to put a shadow behind white symbols (legend/layout/QGIS)?

I'm used to use white lines to outline municipalities along with the satellite image, and to outline colored polygons with white line to make them stand out. However, when I represent them in the ...
Rebeca's user avatar
  • 23
0 votes
1 answer
43 views

Why is "convert to graphics" not available? ArcGIS Pro layout editing

I am creating a simple layout in ArcGIS Pro. I manually created a legend out of images and text, and put them together in a group layer. I want to convert the group layer to graphics so that I can ...
aferguson22's user avatar
2 votes
1 answer
77 views

Viewing memory layers in group with PyQGIS

I'm writing a plugin for QGIS and given a layer (self.layer_comuni) from this I extrapolate an indeterminate number of layers depending on the correspondence of the values of the mercato_comuni list ...
Wolverine's user avatar
2 votes
1 answer
96 views

Override fill colour not changing top-level symbol

I have a shapefile with the maps of the world in different historical periods (CShapes 2.0) and I need to map each country colour to a list to ensure consistency. On QGIS, I created a table with the ...
Xain's user avatar
  • 29
1 vote
0 answers
27 views

Improve image quality of "Decoration"

I imported a key using Decorations -> Image in QGIS 3.32 and the quality is poor, especially if the image is made smaller. I do not mean that the actual image file is small, but that displaying the ...
Nadka's user avatar
  • 51
2 votes
0 answers
31 views

Symbology created with geometry generators renders murky in print legend

I have a style that makes use of the geometry generator for a wavy line: the code is as follows, with units set to mm wave($geometry, 6, 1.5) ) When I export the map as a vector format (...
Beni's user avatar
  • 358
2 votes
0 answers
82 views

Change layers names in existing layout legend only

I am currently working on a QGIS plugin with QGIS version 3.34.0-Prizren and Python version 3.9.5. I have a QGIS project containing several layers (the sources are tables from a Postgre database) ...
theonewhodidnotknow's user avatar
0 votes
1 answer
40 views

Is it possible to format legend text based on a field?

I have a map of companies in Europe, they are symbolised with lettered points so that I don't have to wrestle with many labels, and then the points are to be defined in the legend. What I would like ...
Matt Houston's user avatar
0 votes
0 answers
60 views

Geoserver GetLegendGraphic throws an error

I get the following error in my Geoserver Caused by: java.io.IOException: java.lang.RuntimeException: Parsing failed for Filter: java.lang.RuntimeException: Unable to find function Add at org....
Skalla's user avatar
  • 1
1 vote
1 answer
110 views

Dynamically filtering feature count in QGIS Atlas, Legend

I was struggling to filter the legend items ( feature count ) , based on the current feature layer. My atlas layer is a world map layer and the points layer ( that is in being counted in the legend )....
Binu Alexander's user avatar
0 votes
1 answer
22 views

Difficulty reading a legend

I have downloaded ACCESS-CM2 global climate model for precipitation prediction from 2021 to 2040. I have opened it in ArcGIS Pro 3.1 but found difficulties understanding the legend. it says Red: band ...
Mohamad Ebrahim's user avatar
2 votes
1 answer
149 views

Formatting parts of labels in an automatically generated legend in QGIS in italics?

I'm working on a legend in QGIS where I'm customizing the labels for different categories. I'd like to format parts of the labels in italics, such as representing the translation of a term in ...
eagleadmiral's user avatar
0 votes
0 answers
12 views

How to split very long texts within a legend in Arcgis without converting them to graph or ungrouping them?

I have a very long layer name and I don't want it all to appear on a single line but rather to appear on two or three lines within the legend without having to convert the legend to a graphic and ...
Keyla Ester Álvarez Jove's user avatar
0 votes
0 answers
29 views

How can I apply multiple rules in GeoServer CSS while avoiding the generation of multiple legends?

I'm using GeoServer with CSS to style map features. I've defined multiple rules based on the 'street_wid' attribute and a label rule. However, applying these rules results in multiple legends. I want ...
Cherryl Rarewings's user avatar
1 vote
1 answer
45 views

Select legend items in ArcMap

I have classified class interval with pixel value (i.e. >1 & < 0 ) as Non-Bamboo area after excluding these values in image classification. However, these classes appear in 2 rows in legends ...
Pushkar's user avatar
  • 83
0 votes
1 answer
108 views

Showing feature counts for some legend items only in ArcGIS Pro

I would like to display the counts for the year features, but not the National Park boundary or Roads in my legend. I was able to turn the counts on for all of them (Legend Items > show properties &...
Kate's user avatar
  • 109
1 vote
1 answer
95 views

Adding legend to a GIF in Earth Engine

How can I add the legend created to the GIF image? I have this code where I created a GIF with the ui.Thumbnail() function from an image collection and I have already added the years corresponding to ...
Mariana Guerra Lara's user avatar
1 vote
1 answer
34 views

Generate layer preview icons

QGIS uses small image preview icons for its layers in the legend and layer tree. How can I create these for a given layer as an image object (QIcon or QImage I presume)? As I am looking for a PyQGIS ...
bugmenot123's user avatar
  • 10.9k
0 votes
1 answer
101 views

QGIS Legend Settings [closed]

QGIS 3.32 (but always been an issue). Is there any control over the default setting of Legend Items? By default the "Auto Update" is checked ON, and the "Only show items inside linked ...
rob's user avatar
  • 9
1 vote
0 answers
51 views

mapserver raster legend ticks

I am serving rasters through mapserver and the maps look fine. I have managed to include a raser legend by setting: LEGEND KEYSIZE 200 12 LABEL TYPE BITMAP SIZE MEDIUM COLOR ...
Martinyt's user avatar
  • 146
7 votes
1 answer
167 views

Hiding/showing layers in legend does not work in QGIS standalone

I'm building a standalone app with PyQGIS. I encountered some difficulties building a canvas that show the result layers after some operations. The canvas works, but the associated legend does not ...
Julien Goletto's user avatar
0 votes
0 answers
27 views

Auto-updating color ramp of raster to current display extent using QGIS and rounding to whole numbers

I have an elevation dataset loaded into a QGIS 3.32 workspace. I want to update the symbology based on the currently displayed extent, but with "pretty" band values for use on a map/legend, ...
davehughes87's user avatar
4 votes
1 answer
441 views

Adding labels on map layout legend boxes using QGIS

On a geological map legend, is it possible to automatically add a label (eg. formation abbreviation) inside their respective boxes of map layout legend?
SirB1's user avatar
  • 185

1
2 3 4 5
19