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
0answers
38 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
839 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 ...
2
votes
0answers
70 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
304 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
644 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
420 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
65 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
2answers
184 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')....
0
votes
0answers
120 views

Can GDAL give the scale of a raster?

I have a GeoTIFF and I am trying to overlay a scale (miles or km) using GDAL. Is there a function in GDAL that will do this? I believe ArcPy has this functionality, but I am guessing GDAL does ...
0
votes
2answers
210 views

Adding a legend to CARTO.js v4 map application

I have made a map that shows fire risk for the different Districts within South Africa, and each fire risk is styled by value to match a certain color. I am trying to add a legend to show what each ...
1
vote
1answer
37 views

QGIS Atlas legend title width

I want to create an atlas legend with the option "Only show items inside current atlas feature". This works fine. But for the legend title I want a black background. So far, I used a separate item ...
4
votes
4answers
1k views

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

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. ...
5
votes
1answer
156 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 ...
3
votes
2answers
957 views

Geoserver create Legend for WMS Service

I am working with Geoserver for some weeks now and were able to deploy some services already. For my thematic map (e.g. temperature) I created a custom style displaying all tiles in specific colors (...
2
votes
3answers
220 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
183 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
171 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
0answers
53 views

Is ArcGIS Pro truncating of some legend titles documented?

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
59 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
151 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, ...
1
vote
1answer
227 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
317 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
607 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
265 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
164 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
74 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
211 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
511 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
142 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
143 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
83 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
121 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
33 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
584 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
119 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
100 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
90 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
39 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
1k 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
105 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
71 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
484 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
107 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
219 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/...
0
votes
2answers
2k 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
316 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 ...
2
votes
0answers
243 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
469 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
215 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
261 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 ...