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
1
vote
1answer
66 views

Display legend/value when hovering over raster layer in QGIS

Is there a way for this and how would I approach this? This would be in the normal map view and not in layout mode. It would be very hand if you have a lot of raster lays in one project and want to ...
2
votes
1answer
47 views

Use column from Raster Attribute Table as Legend in Leaflet Map

I have a simple RasterLayer in R. I added a column to the attribute table and would like to use these values in the legend of my leaflet-map. The RasterLayer looks like this: > layer1 class ...
1
vote
2answers
39 views

ArcMap change legend label for layers with graduated symbology without changing table of contents

I want to change the title of a layer in a map legend, and I would ideally like to only change it in the legend without modifying it in the table of contents. If I have my symbology set to "Features - ...
2
votes
1answer
64 views

Is ArcGIS Pro truncating of some legend titles documented? [closed]

To understand what was causing a legend title to be truncated from "What's on the map?" to "What's on the" in an ArcGIS Pro 2.1.3 layout I developed the test below: Start ArcGIS Pro Create a new ...
2
votes
1answer
729 views

Can QGIS place diagrams in map legend?

I have this map and I want to put these red circles in the legend of the map according to this form: Is there a way to do that in QGIS?
0
votes
3answers
1k views

Proportional Symbols - Custom legend breaks

I mapping the number of Boko Haram victims in each state of Nigeria for several years. I chose to make a proportional symbol maps using the centroid of each state. For a given year, the area of the ...
3
votes
1answer
369 views

Determine layer visibility with PyQGIS

From some other posts I found that i can determine a layers visiblity by something like #assume lyr_name the layers name to determine visibity for l = QgsMapLayerRegistry.instance().mapLayersByName(...
1
vote
0answers
27 views

Changing legend in ArcGIS Online for use in a Dashboard

Working in ArcGIS Online, I have a data set that has 3 types of line data in it , Plow, Grader, and Sweeping. I have created copies of that layer and filtered out each type of the line work I want to ...
34
votes
7answers
30k views

Using continuous color band for raster legend in QGIS composer legend?

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
0
votes
1answer
76 views

Legend Graphic for a multi polygon layer styled the same with unique (different) labels

When creating an SLD for a single polygon layer in QGIS and using that in Geoserver, by default the legend description is "single symbol". When you categorize the single polygon layer symbology and ...
1
vote
1answer
65 views

Geoserver WMS Layer decorations

I have created the layout directory C:\Program Files (x86)\GeoServer 2.15.1\data_dir\layouts In the directory I have created an xml file with the following: <layout> <decoration type="...
1
vote
1answer
31 views

Legend of WMS-Group Layer

I have a group layer and I want to show the legend of all layers in this group layer. For one layer in this group I get the Legend with this url: GEOSERVER/KRE_KANAL/ows?service=WMS&request=...
6
votes
2answers
172 views

QGIS styling a legend

I am a newbie working on QGIS 3.6 / Windows 10 I need to style a legend for map with headings and sub headings The main divisions of the legend item need to be subdivided into sub-classes i.e. The ...
5
votes
2answers
110 views

Spacing between ArcMap class name and description in the legend

I am wanting to reduce the gap between the class name (crop type) and the description (ac) with in the legend. It appears to be based on the longest class name. is there a way to have it a set ...
5
votes
1answer
77 views

Matching legend symbology with data driven symbology?

I am tightly bound to a client's CI and fortunately, the data I am working with comes with RGB values in the attribute table. Perfect for data-driven symbology. But how can I (easily) manage to make ...
1
vote
2answers
76 views

How to make combined symbols in the legend in ArcGIS Desktop 10.7

I am looking for a method to make more compact legend entries. Suppose 3 point layers "inner", "middle", and "outer" in ArcGIS 10.7. Assume each layer has a field called measurement with a value range ...
0
votes
0answers
10 views

What URL do I have to use if I want to get the legend of the root layer or a group layer with WMS Service

I get the legend of a WMS-Layer with this URL: MYGEOSERVER/GROUPLAYER/ows?service=WMS&request=GetLegendGraphic&format=image/png&width=20&height=20&layer=mylayer With https://...
5
votes
0answers
806 views

Programmatically removing layer from QGIS composer legend without removing it from map canvas?

I am working on a QGIS Python plugin which includes automated map production. I use a series of map templates, each of which has a main map, an overview map (with a layer set different to the main ...
1
vote
1answer
32 views

Add legend with ArcPy over my interpolated map

I have created an interpolated map with arcpy.IDW_ga and I am exporting it to PDF with arcpy.mapping.ExportToPDF. How can I add a legend to the map with ArcPy? In the end, I want to apply the code to ...
3
votes
1answer
52 views

Finding X/Y position of Layout Element using PyQGIS

Using QGIS 3.10, I am attempting to move a legend in one layout to the same position as a legend in another layout. I just can't figure out how to get the X/Y position of the first legend. project = ...
10
votes
5answers
9k views

Displaying dynamic table in Data Driven Pages environment?

I am creating a map series that has many polygons per sheet. There is annotation for the polygons however some polygons are very small with no annotation for them (annotation would completely hide a ...
4
votes
1answer
151 views

Automatic selection of legend object in QGIS

I'am using the Corine Land Cover data for a projet. There is around 40 types of land use in this database. In my print composer with my scale (1:20 000) I neve have more than 10 type of land use. I ...
1
vote
0answers
41 views

Customizing legend with concatenated fields on QGIS

I prepared a map with a custom legend on QGIS 3.8.1, combining a classification of several concatenated fields. However, when creating the layout compouser and including the legend, the descriptive ...
1
vote
1answer
68 views

Getting legend in GeoServer

I'm new to the geoserver. I want to add legend in the map. I've no any idea that how to do it. Please help me. Here is my sld file. <?xml version="1.0" encoding="UTF-8"?> <...
0
votes
1answer
64 views

Remove unlisted values on Symbology on ArcGIS Pro?

I have a layer file which I use as reference for symbology for future layers. It is based on unique values, however there is over 100 unique values, and each one have their own icon. If I apply this ...
3
votes
2answers
129 views

Rotating legend item labels in QGIS Layout Manger?

I want to create horizontal legend in QGIS (v 3.8.0). Is it possible to rotate legend item labels in Layout Manager?
2
votes
1answer
1k views

Simple way to add a legend in QGIS 3.8.2?

I'm making a simple map using QGIS 3.8.2 and data from OSM. The maps looks good, but I'd like to add a legend. It seems like there used to be an "add new legend" button in older versions of QGIS, ...
3
votes
1answer
5k views

Adding and removing legends with layer selection in Leaflet

I'm new to Leaflet/Javascript and have been struggling to get legends a map to show only when a specific layer is selected from the layer control. I have three layers, one of which I would like to ...
1
vote
1answer
102 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
3answers
274 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 ...
1
vote
0answers
58 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
0answers
49 views

Making informative legend for Kernel Density Estimate in QGIS?

I have used heatmap (kernel density estimation) in QGIS 3.0.1 to make a heatmap of boat counts. In my point data-each point is one boat. Then, in my kernel, I have used a 500m radius, with 500m pixel ...
2
votes
1answer
58 views

QGIS Mutually exclusive legend within a shapefile

I have a shapefile with 30 different categories/symbols which I would like to make mutually exclusive. I am able to make the shapefile itself mutually exclusive by adding it to a group, but not the ...
4
votes
1answer
171 views

Is it possible to get a dynamic legend in QGIS 3.6?

I need to send a GetPrint request for a map with a dynamic legend that only shows layers/items/symbols relevant for the current map frame. In QGIS 2.14 one can select "Filter Legend by Map Content" ...
5
votes
0answers
498 views

Creating text buffer in legend QGIS 2.18?

I work with this polygon layer and this is my map composer: I used the labels with Text Buffer (yellow and red), and I try to find how I can make the same text buffer in the layer name in the legend. ...
5
votes
1answer
592 views

Changing Legend Arrangement/Style in ArcGIS Pro?

In ArcMap 10.3 you were able to change the vertical/horizontal arrangement of patch, label, description in the legend via the Style button on the Legend Properties Items tab. I cannot locate ...
5
votes
1answer
175 views

QGIS Legend multiple name for one shapefile using styles

I am using styles and presets in QGIS to display the same shapefile on various composers. The shapefile is representing townships with several fields such as population density, length of water supply ...
2
votes
1answer
26 views

Create right to left legend in GeoServer

Can I create right to left legend like this?
1
vote
1answer
207 views

Using Custom Legend Symbol in ArcGIS Online?

I am currently creating an ArcGIS Online Journal story map. In one of the web maps, I have a point feature class, where the points are transparent and they provide labels for regions (with no clear ...
0
votes
0answers
31 views

QGIS map legend rendering problem

The maps look good, and the legend symbols match the maps. Once converted to .pdf the map legend symbols degrade to basically nothing. Horizontal red line patterns, or any colored line patterns for ...
2
votes
2answers
1k views

Print composer - legend - graduated

I have a map with graduated symbology, with 328 unique values. I would like add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values. I ...
0
votes
0answers
53 views

Getting lines across Legend symbol in ArcMap export to PDF?

I am encountering an issue with an item in the legend when I use a page size of 36x48 for exported PDFs. The item, a library symbol, appears to have lines going through it. It looks fine with smaller ...
1
vote
1answer
64 views

QGIS spacing of individual labels

I'd like to increase the space between the symbol and the text for only one item in my legend; I can only seem to increases for all the items. Specifically, I want to combine the two screen shots ...
2
votes
3answers
315 views

Freezing legend on map composer so that it stops updating when changing symbols on map?

This seems like a counter intuitive question, but is there a way to freeze the legend so that it stops updating itself in the print composer? My auto-update box is unticked for the legend, but the ...
-1
votes
1answer
1k views

Reorder legend in ggplot object [closed]

I met some trouble when dealing with the order of ggplot legend. I plotted three lines in one graph, and I tried to use 'scale_colour_mannual' to change the order as the line from top to bottom, but ...
0
votes
0answers
56 views

Adding legend for World Ocean Base map in ArcGIS Desktop?

I am using World Ocean Base as a background for a map I created in ArcGIS Desktop 10.6. I have been asked by a reviewer to include the meaning of the shading in the legend. I know the shading on the ...
2
votes
1answer
65 views

Merging a legend and a table

I'm using QGIS 3.4 for this, and am creating a map that will see quite a lot of use. It will show plant species, and the area of the plants in question. For this, we have a main "plant" table. This ...
1
vote
0answers
65 views

Identifying based on legend items visibility in ArcGIS WPF app? [closed]

I have built a WPF app that has a dynamic legend that is refreshed as a user toggles on/off a layers visibility. I would like the identify task to only identify layers that are visible in the legend ...
1
vote
0answers
22 views

Manipulating ArcMap Legend Graphics

Is there a way to manipulate and edit ArcMap graphic legend items? From what I found researching, one way is to convert the legend into graphics, ungrouping all the elements and editing each graphic ...
1
vote
0answers
38 views

Stretched raster legend badly displayed ArcGIS Desktop?

I have a stretched raster in ArcGIS Desktop 10.3 with this symbology: But when I put the layer in the legend, it's showed like this: I've tried to change the styles, showing and hiding headers, ...

1
2
3 4 5
13