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

Line Fill Symbol is not shown on legend in ArcGIS Server print service

I choose Line fill symbol for my polygon layer. When I export map in ArcMap it is ok. But printing with print service this symbol is not shown in the legend. I add a screenshot. How can I solve this ...
2
votes
0answers
25 views

Add 'Abc' to styles in legend

Is there a way to add a 'dummy' label to symbols in the legend such as this? The layer it self has a brown/red outline, as shown in the image, and labels are turned on. Since there are a ton of ...
1
vote
1answer
23 views

Right-Align Legend Feature Counts in ArcGIS Pro

I would like to align the feature counts in my legend, to look like this legend, generated in ArcGIS Online: which I believe is much easier to read than this one, generated in ArcPro: Is there any ...
0
votes
1answer
35 views

National Land Cover Dataset 2016 Land Cover Change Index Values Meaning

After downloading and clipping the NLCD 2016 Land Cover Change Index raster and viewing it in ArcMap, the table of contents shows a legend with values 0-12. They are depicted in the following picture: ...
1
vote
1answer
53 views

Legend Items in QGIS Atlas

Using the Qgis atlas functions im having trouble with the atlas filtering out the features that do not show up in the map extent. For example i want the full color ramp to show up, even though there ...
0
votes
1answer
44 views

Size Legend for Carto VL

I am trying to construct a legend based on size using Carto VL, and am struggling to implement the solution posed in this Github thread. https://github.com/CartoDB/carto-vl/issues/1260 I built a ...
0
votes
1answer
370 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 ...
3
votes
0answers
48 views

Classifying range of symbology classes

I am going to be creating several dozen maps which all have a field with a range from 0 to 100. I need to classify these into symbology classes every 15 and make a legend out of this. However, the ...
0
votes
1answer
57 views

Print Service legend display null for polygon features

the print service of application works well, but after converting the map area to pdf , the legend shows null filled values for polygon features(as in figure for Build up area,Forest dense area). I ...
1
vote
1answer
1k views

Seeking 1-band raster colour table workaround in QGIS

Does anyone know what the workarounds are for the 1-band raster colour table plugin in QGIS? Currently I find it will run once, then crash on the second iteration. The workaround I use is to delete ...
2
votes
1answer
298 views

Rounding numbers in Raster Legend in QGIS?

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 ...
2
votes
3answers
117 views

Manually moving layers in QGIS legend in print composer

I have a legend in my QGIS print composer and would like to manually move a layer to position them where I want them to be. In the following example I would like to move the layer "area" down to the ...
0
votes
1answer
73 views

Add legend in a SplitPanel in Google-Earth Engine

I have made a code with a Split Panel (1) , now i what to add a legend like this example: https://code.earthengine.google.com/b5d35a19689ec5698e59f36a9b3ae6f8 this is my original code that I want to ...
0
votes
1answer
26 views

Base-R legend for quick plot of sf-objects

I have two sf-objects that are polygons and one that is a layer of points. The attributes (columns) don't really matter for quick visualization purposes. I just want to make a basic legend and give ...
0
votes
2answers
34 views

Assigning legend items to specific column using Data Driven Pages

When using Data Driven pages, I'd like to be able to assign legend items to specific columns. I have each of the 3 top layers set to "only show classes that are visible in the current map extent." ...
4
votes
3answers
2k views

Why are size-scaled symbols missing from map layout legend? [closed]

I have a designed a map using a scaled simple marker symbol. It is a rule-based design and symbol scaling is done by the siye assistant based on a field value for any of the rules in the same way. ...
0
votes
2answers
49 views

Changing legend item properties using ArcPy

I'm developing a Python script to created several map document (.mxd) files from .shp file and .xlsx file automatically. After setting symbology of layer and changing labels, I want to hide heading of ...
1
vote
2answers
249 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 ...
3
votes
1answer
226 views

Leaflet make legend with different circle sizes

I would like to make the legend with different circle sizes in Leaflet. I found one examples: https://stackoverflow.com/questions/37446283/creating-legend-with-circles-leaflet-r https://...
8
votes
1answer
316 views

Changing group icon in legend with Python in QGIS 2.6?

How to change the group icon in legend via Python in QGIS 2.6? At version 1.x I did it this way: self.legendTree = self.iface.mainWindow().findChild(QDockWidget,"Legend").findChild(QTreeWidget) ...
4
votes
0answers
98 views

Styling the legend in QGIS with line layer

Working on QGIS 3.4.13. I have a vector line layer, there are rivers. I put a rule based symbology with two categories and different scale max / min for each category. I want to put style for the ...
1
vote
1answer
64 views

Leaflet: Compare two side-by-side GeoJSON layers?

I'm trying to use the side-by-side plugin downloaded from https://github.com/digidem/leaflet-side-by-side. I want to create side-by-side GeoJSON layers to compare the cancer rates between the two ...
2
votes
1answer
146 views

Remove legend nodes of a categorized layer in a layout legend using PyQgis

I am trying to find a way to remove specific legend nodes in a layout legend for a vector layer styled with categorized symbology using the PyQgis-3 API. For example, in a QGIS project I have one ...
1
vote
1answer
781 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 ...
3
votes
1answer
979 views

Altering legend labels in Matplotlib

I have a choropleth map which displays crime percentage change. It is plotted from a geodataframe and the choropleth intervals are determined in the background by Python. Unfortunately, the first ...
2
votes
0answers
16 views

How do you link QGIS legends in different print composers?

I have a long linear QGIS project with about 20 separate print composer layouts. I'd like to link each legend to the original one, so I don't have to copy and paste 20 times every time I need to ...
1
vote
1answer
44 views

Horizontal Raster Stretch Legend

Using a blog page on Raster enhancement: The horizontal legend I have displayed my legend of a raster legend horizontally. However I have not been able to format the labels to align directly beneath ...
1
vote
1answer
109 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". ...
1
vote
3answers
246 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
121 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 ...
1
vote
0answers
25 views

Creating groups in single layer legend

I am finishing a geologic map. I have all geologic polygons in a single layer. I want that the legend shows the geologic polygons separated by age and that each group to have a header stating the age....
0
votes
2answers
50 views

PyQGIS: hide a layers-group by uncheking it in the legend [duplicate]

I have a group of layers that contain itself other groups (as shown in picture). I need to hide one group by uncheking the checkbox in the legend. is there any way to do it programatically using ...
3
votes
1answer
60 views

Virtual Layer Symbology in Legend

I am new to QGIS and I'm using QGIS 3.8 on a Windows machine. I'm creating a commuter flow map using a virtual layer similar to the one Anita Graser has created here. When I try to add in a legend all ...
7
votes
1answer
1k views

Changing Legend Size with PyQGIS [closed]

In QGIS, I use the python console to generate image files through the composer. In particular, I am creating a map with a legend. The legend is too big. It occupies about 1/8 of the image. I would ...
3
votes
1answer
212 views

Proper assignment of QML legend to raster failed in QGIS 3.0.1

I downloaded raster data sets together with the legend qml files from the SoilGrids page (ftp://ftp.soilgrids.org/). Assignment of the qml legend (TAXOUSDA_1km/TAXN_WRB_1km) didn't work in QGIS 3, as ...
1
vote
1answer
54 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
33 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
333 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
195 views

Adding scale bar to raster overlayed on ggmap Google Maps object

I am trying to plot a predicted surface (raster layer) over a ggmap object that contains base imagery from Google Earth. I have produced the map that I want however, I am struggling to add the legend ...
1
vote
2answers
30 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
63 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
710 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
338 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
21 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
29k 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
60 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
56 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
27 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
133 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 ...

1 2 3 4 5 13