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
2
votes
3answers
314 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
vote
0answers
256 views

Invert the legend scale representation [in R environment]

Through the following code, cols <- (heat.colors(255)) plot(raster_sum3, col=cols[round(seq(1,255,length.out=10))], legend=TRUE) # raster of the study area plot(site_3003, add=TRUE) # site ...
3
votes
1answer
221 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 ...
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 ...
1
vote
0answers
64 views

How to create a complex legend in qgis?

I would need to create a complex legend divided into many sub-sections that does not correspond to different layers but to different rule-based styling objects. It seems to me that this possibility is ...
3
votes
2answers
154 views

Change the symbology of a set of points in the legend

I use QGIS 3.01. I have these set of points, where they have the values "yellow, red and green". I was wondering how I can change the symbology in the QGIS layout editor to only show three symbols, ...
2
votes
1answer
276 views

Display in legend only features present on a map extent

I have lots of layers with lots of rule-based styling in my QGIS project, although I would like to display in legend for my print composer only those features that are actually present on a current ...
3
votes
1answer
458 views

Setting legend in QGIS to only show values that actually occur?

I am using QGIS 2.18.3 (I know, it's an old version now) on Windows 7. I have a raster of forest groups for Oregon, saved as the .img format and is rendered as Paletted. It was clipped from a raster ...
3
votes
1answer
842 views

How to define boundary numbers without decimal points - Geopandas

Problem The numbers in a legend has the decimal points (eg. 0.00-4.80 at the top of the legend box), when I want them to be integers without decimal points. All I care is that the boundary values are ...
1
vote
1answer
361 views

Indenting legend items in ArcMap

My map legend looks like this: I'd like to indent the circled items farther to the right but can't find any settings to adjust this. Using the item properties I know how to offset the label portion, ...
1
vote
1answer
200 views

How do I use the FEATURETYPE for GetLegendGraphic request?

I'm using the following SLD for Rendering a Polygon using GeoServer: <?xml version="1.0" encoding="ISO-8859-1"?> <StyledLayerDescriptor version="1.0.0" xsi:...
0
votes
2answers
103 views

Preserving legend format in .lyr file

Is there a way to preserve the format of the legend in an .lyr file in ArcMap? The legend is simple - bold layer name atop the symbol with no label or description. When I save it as a .lyr file, it ...
1
vote
1answer
312 views

Displaying single symbol in legend for proportional symbol layer

I'd like to be able to show just one line in the legend for my layer of multiple proportional symbols. Previously, my workaround was to create a secondary layer not displayed on the map, and to bring ...
1
vote
0answers
581 views

Export map with legend using openlayers3

Is there any one who has an idea about how to export a thematic map that is accompanied with a legend (picture) using openlayers3? I searched in the openlayers documentation but I get a map without a ...
1
vote
0answers
155 views

Creating a legend in r

I have a data set comprising a number of debris surveys around Australia. I wanted to aggregate these counts by grids of 10km by 10 km (approximately) and found a very useful post here: Aggregating ...
4
votes
1answer
176 views

Indenting subitems in QGIS Composer legend?

My legend looks like this: I would like the items under "Roads & Trails" to be indented to the right. Likewise for the items under "Streams". The spacing controls don't affect this. I could add ...
1
vote
0answers
85 views

Displaying representation symbology (lines with markers) in ArcMap legend?

I have a polyline feature class with numerous cartographic representations of line types. Some of these representations only have a line component (see top-half image below) while other ...
0
votes
0answers
137 views

Copy legend from ArcMap A to ArcMap B with different scales and/or paper size?

I have a question for you and what is the best practice for me to copy the legend from another ArcMap A to ArcMap B. They are in the Layout View. it has different scale like in 1: 77,000 to 1:55,000 ...
0
votes
1answer
39 views

Legend properties for a raster: how to get rid off one value?

I have a raster in ArcMap, which has the values 0,1 (it was derived from Raster Calculator) I want to put in the Legend only the value 1. I put no color and no line to value 0, but I have this big gap ...
1
vote
1answer
849 views

Wrapping layer names or headings in ArcMap legend?

I've been struggling with this for a bit now but I cannot seem to find a way to wrap either layer names or headings in a legend. I can see how to wrap descriptions, labels, and make multiline legend ...
0
votes
0answers
135 views

How to change Legend labels in ArcGIS

I am preparing layout in ArcGIS 10. I have duplicated data frame to have 2 images of the same area on single page. When I enter the legend, labels are in too small digits (24). I want it to bigger ...
0
votes
1answer
126 views

Can we insert Legend with only features that are in a shapefile? [duplicate]

I want to insert legend which have 40 labels data, since, the imported symbology have 90 labels, all the labels are getting inserted in the legend. I do not want to remove them manually from the ...
0
votes
1answer
112 views

Making a map with 8 different rasters of the same place but with only one legend in QGIS [closed]

I have 8 raster images of a farm that are changing with respect to time. I want to create one map as shown in the attached image which will show the 8 raster images with only one legend to represent ...
1
vote
0answers
42 views

ArcGIS Runtime .NET does not make a GetLegendGraphic request

I'm using ArcGIS runtime SDK .NET to populate maps with WMS Layers This is a bit strange. If I load a WMSLayer on the map without specifying any layer, I see how it starts to recover all the legends ...
2
votes
1answer
2k views

Making legends for each layers and switching between them using Mapbox GL JS?

I created a map using Mapbox GL JS with several layers using this example At the same time I don't have any spatial knowledge in Javascript. It's restrict me to create legends for each layers. The ...
1
vote
1answer
130 views

Present polygon features in legend with custom symbology

I wonder if there is any way to represent a polygon feature in the legend with a custom symbol. I can think of several ways but the problem is that the legend must be dynamic, only showing objects ...
1
vote
0answers
93 views

Filter legend entry for raster layer QGIS

Is it possible to use the "Filter legend by Map content" button, or achieve the same functionality with a raster layer? I've got a map that has a dozen different raster layers, but am only displaying ...
-3
votes
1answer
690 views

Deleting legend entries on QGIS? [duplicate]

In QGIS I have deleted features from the attribute table and the map but the labels still remain in the legend. How can I remove them?
1
vote
0answers
147 views

Mapserver GetLegendGraphic via expression

I am trying around this for a while now. But can't find any answer. So I try it here. What do I have: Mapserver 7.0.6 What do I want: Obtaining a single legend graphic for a class without text and ...
3
votes
0answers
273 views

PyQGIS update/refresh composer legend [duplicate]

I am trying to modify the data source of a raster layer in python, then update my composer and finally save it. To modify my data source I found what is needed here: https://geogear.wordpress.com/...
1
vote
2answers
3k views

Categorical Legend raster plot - R

I have the following RasterLayer containing categorical values for each pixel. I am using the following code to plot it par(xpd)=FALSE plot(LC, legend=FALSE, col=c("lightcyan3","royalblue","...
3
votes
0answers
384 views

Creating “heatmap” based on data with legend in QGIS?

I am new to QGIS. I need to make a map that looks like a heatmap, but is based on data values, not point concentrations, and with a legend. I was able to make a heatmap based on data values, but not ...
3
votes
1answer
368 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(...
2
votes
2answers
611 views

Combining two layer symbologies into single legend item using QGIS?

In QGIS 2.18.13 on Windows 10, I have symbolized a polygon with two layers on top of either other; the bottom layer is a solid fill color, and the top layer is a BDiagonal (hash). The two layers ...
1
vote
0answers
242 views

Automatic refreshing of Styles and legends in QGIS?

I am a new QGIS user. I come from an Arcgis background, but in my current work for a public administration I must use QGIS for interoperability. As an ArcMap user, I am used to certain "comforts", ...
2
votes
2answers
316 views

QGIS map composer changing legend position when exporting atlas as images

I am having an issue when exporting atlas map series to image. In each map the position of the legend is jumping around by a few cm. I have the position referenced under item properties to the bottom ...
1
vote
1answer
387 views

R - cartography package - position of legend?

I'm using the cartography package in R to plot a choropleth map. However, I have a problem placing the legend, which can be placed by means of the legend.pos argument, but which always overlaps with ...
2
votes
0answers
148 views

QGIS Composer Legend Filter by Map Content Not Showing Item

I'm trying to filter a composer using the Filter by Map Content Button. It works for the most part. There is a line layer that doesn't fit completely in the map window that gets filtered out, I'm ...
1
vote
2answers
145 views

Display combinations of multiple fields containing same data type for each feature class point

I am trying to display small mammal trapping data in ArcMap 10.3.1. I am dealing with a point feature class. There are 3 relevant fields in the attribute table, one for each night of trapping, ...
2
votes
0answers
734 views

Legend is not displaying all active features/layers in ArcGIS Pro using ArcPy?

I created a script tool that positions the north arrow, legend, scale bar, and title in a layout; and then zooms to a bookmark and exports the layout as a PDF. But when I go and look at the PDF, the ...
1
vote
1answer
61 views

Creating type of ranking map on ArcGIS Desktop?

I wanted to create a ranking continuous legend ...but everytime symbology come in class interval with different box of colour ramp .
5
votes
2answers
1k views

Creating Custom Symbology Patchs for ArcGIS Pro Map Legends?

Does anyone know if it is possible to create a custom symbology patch to be applied to a map legend in ArcGIS Pro? I know this was possible in ArcGIS Desktop within the legend properties dialog, ...
0
votes
1answer
257 views

Displaying bar legend for point data in ArcMap?

I often work with large point feature classes that I'm symbolizing with the full 32 classes of graduated colors. Is it possible to add a simple, horizontal color bar into the legend in such cases (as ...
0
votes
1answer
346 views

Pyqgis - Removing a layer from the composer legend [closed]

I am developing a script to print different map views of a QGIS project. I want to print all the vector layers in the canvas but I don´t want one of them to appear in the legend. I can`t figure out ...
4
votes
1answer
655 views

Changing legend item text with pyQGIS?

Using code I found at Go through items in a composer legend (QGIS 2.6) I can access the the layers in my legend fine. However, I have layers that are styled by category and I can't figure out how to ...
4
votes
1answer
4k views

leaflet create legend

I am following this video tutorial on how to create a leaflet legend. here is my full JS code function getCountyColor(popEst){ if(popEst>100000000){ ...
2
votes
0answers
406 views

Need to Add/Remove .png Legend with Leaflet Layers Control?

Supporting Links Website Location: http://bit.ly/2fXCiTH .JS File Location: http://bit.ly/2g56W0U Trying to accomplish I would like to have a specific .png legend associated to each individual ...
1
vote
1answer
78 views

Legend in storymap show correct hexcode colours in editor but not in final display

I have used some html/css code from here: https://blogs.esri.com/esri/arcgis/2015/12/16/enhance-legend-story-map-journal/ to display legends in a journal style storymap. The hexcodes are correct and ...
2
votes
1answer
395 views

QGIS Print composer: Point symbols not correctly displayed in legend

My problem: I have a point layer with a symbol size of 15958 meters. On the map they are all correctly displayed. When designing the map in the print composer and adding a legend, the symbols in 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 2 3
4
5
13