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
1answer
17 views

Error with updating a legend's style item in pycharm

I am trying to update an item in the legend with a style item, this is the code: #Add Legend legend = arcpy.mapping.ListLayoutElements(mxd, "LEGEND_ELEMENT", "Legend") [0] ...
1
vote
1answer
14 views

Adding a feature count to a label in the legend in ArcMap

In ArcMap, I want the labels in the legend to include the count of that type of feature. For example, if I have a building feature class with a Type field where 900 buildings have a value meaning ...
0
votes
0answers
28 views

How to control the text in the legend? [closed]

is it possible to have control of what is shown in the legend? When I click on properties, there is a very limited range of options. For instance, how can I remove items that I do not want to be in ...
2
votes
0answers
31 views

Add a legend to Leaflet map

I am trying to add a legend in Leaflet based on a GeoJSON layer like this: This is my code: L.geoJson(Viales_Transitables).addTo(map); var Viales_TransitablesStyle = { ...
3
votes
1answer
53 views

Adjusting space between symbols in legend using PyGIS and Print Layout

I have been trying to format a legend in order that it appears as a color bar under the map (in the print layout). I have been able to modify almost everything but I can't find a command to reduce the ...
0
votes
1answer
41 views

Rotate and edit Legend in layout (Python-QGis)

I'm trying to set up a legend in the lower part of the map and I have only achieved this: legend = QgsLayoutItemLegend(layout) legend.model().setRootGroup(root) layout.addLayoutItem(legend) legend....
0
votes
1answer
26 views

Extracting “World Reference Base (2006) Soil Groups” data in R and searching for the legend of the extracted values

I downloaded the "World Reference Base (2006) Soil Groups" data per the SoilGrid website as tile1 and processed the data in R (xmin = -116, xmax = -114, ymin = 30, ymax = 32): ### Soil ...
1
vote
1answer
41 views

QGIS Legend - distribution of items across columns - recurring problem

This question relates to a previous question I posted four years ago: QGIS Legend - distribution of items across columns I've created a map and in print composer I've added a legend with ten items, ...
0
votes
0answers
7 views

Getting absolute elevation from WMS raster tiles [duplicate]

When I use GetMap on a raster layer of a WMS GeoServer, the color scale adjusts automatically, so the scale is relative to the retrieved content of the requested area. How do I extract numerically the ...
1
vote
0answers
15 views

Plotting arrows in a map to show shifts in coordinates or points using ggplot2

Plotting arrows in a map to show shifts in coordinates or points using ggplot2 I have three points in my map (latitudes and longitudes of the points: a, b and c are provided below). I would like to ...
2
votes
2answers
96 views

Formatting decimal numbers in legend

I am using a graduated legend, using the default format "%1 - %2". The numbers are formatted using decimal points, like "1.1 - 1.2". How could I change this to using decimal commas,...
1
vote
1answer
21 views

QGIS change icon in legend

could I change the icon of my legend in the mapcomposer? I want other icons for my layers in the legend then in the project. I use the Version 3.4.8 LTR.
0
votes
0answers
37 views

How to create a Legend with Points. Same size in Legend and Map. Leaflet

I am trying to create a Legend in Leaflet that contains the circles in the map. But, the size in the legend should the same size that it is in the map. My code is next. function getRadius(pop) { var ...
2
votes
0answers
37 views

Use HTML legend in QGIS

I am trying to set up HTML text in a legend of this kind: <div style = 'padding: 0; margin-left: -10px; color: # 7f7f7f '> O-1 <span style =' color: black '> - Kind of zone </span> &...
1
vote
0answers
14 views

Showing size of pie chart in legend of ArcMap 10.7.1

I'm using a pie chart map in which the size of the pie chart convey an attribute value (scaled size). Is it possible to show this classification in the legend of ArcMap 10.7.1 ? There is a similar ...
2
votes
0answers
32 views

Changing color symbol legend by field

I changed the color of the polygon symbology with a specified field. Now, I need to categorize the symbology for better data management and to be displayed on a map. But, this not change the legend ...
1
vote
0answers
28 views

Adding Legend to Time Lapse in Google Earth Engine

I am trying to add a Legend to a time lapse video. In my final print I have an image collection and the video specifications are already defined. print(ui.Thumbnail(ImageCollection, videoArguments)); /...
0
votes
1answer
39 views

QGIS 3 Print Layout legend feature count

I've got a quick question (i think), in the legend below I've included the feature counts on a polyline layer with a basic categorised style. However, I'd like to get rid of the total count in the ...
0
votes
0answers
17 views

Automatic map export but QgsLayoutItemLegend not display in output

I want to export my map from Qgis3 in .png but the legend is not display on my output. Title of the legend is display so the layout work and is at the right place but layers with symbols are not ...
1
vote
1answer
56 views

How to defined the displayed layers in the legend with PyQGIS

I am creating a processing tool where I temporarily load layers in TOC and a layout template and then export the map into an image. Even though I want to have 2 layers on the map, I only want to have ...
0
votes
1answer
65 views

How to count legend items in QGIS print composer

Is there a way to count legend items displayed in the print composer ? I would like to adjust by expression the number of columns of my legend based on the number of legend items. Example : if there ...
2
votes
1answer
28 views

QGIS 3.1 Producing a proportional circles legend - No option for “Data defined size legend”

I am making a global map in qGIS 3.1 using proportional symbology with the following: Data = Number of hospitalizations - classified as 'Real' type Symbology = Single Symbol: Fill -> Centroid fill ...
1
vote
0answers
33 views

Legend labeling with QGIS

I am trying to build an atlas with the QGIS-atlas-function and I want to know if it is possible to label the legend entries (165) with my own entries from the attribut-tabel. Important is that the ...
0
votes
1answer
44 views

Automatically add value from another attribute column to “legend” in QGIS?

I am creating a QGIS map of events for which I have the date (year) and also rather long event names. I would like to show only the dates in the actual map and display the names in a legend. I am also ...
0
votes
0answers
11 views

Showing postive and negative range values separately in legend of ArcMap

The legend here shows it's positive and negative ranges separately with a decreasing and increasing order with circles. I know it is related to the graduated symbology and multiple attributes but ...
1
vote
1answer
140 views

QGIS Legend Item - Expression Labels

I am trying to use the expression editor on the legend item in the layout manager. My layer has the attributes of RU_NAME which is the geological unit and LITH_SUMM which is the description. ...
1
vote
0answers
96 views

Specifying legend location in folium

I have a few choropleth maps in one Leaflet map using folium. However, in my output, my legends all congregate underneath one another and on one side where it blocks the 'control zoom' icon. Is there ...
1
vote
1answer
52 views

Adding continuous color ramp as legend using ArcMap [duplicate]

I am interested in adding a continuous color ramp legend with numerical labels like the following example to place on the layout view of arcmap: I am quite new to arcMap so I'm not sure how I can do ...
0
votes
1answer
16 views

plot_usmap Incorrect Legend Values

I am trying to use plot_usmap to map a data frame with two columns - fips and change2 - where the values for change2 range from -34.7 to 91.5. When I run this code: plot_usmap(regions = "counties", ...
0
votes
0answers
21 views

How do I add the entry “no data” into my legend with ArcMAP

In ArcMAP, on my raster image I am using a slight grey color to visualize no data values within the image. They are areas which did not surpass a critical threshold value. I would like to include this ...
3
votes
0answers
24 views

Color scale legend in QGIS [duplicate]

I have been trying for hours to add a color scale to my vector layer in order to avoid showing all those boxes in my legend. But I don't find any solution. I tried the Geoproc plugin without success,...
2
votes
2answers
74 views

Legend of World Reference Base (2006) Soil Group

How Can I get the legend for the downloaded WRB soil groups whether from the https://soilgrids.org/ website or directly downloaded from WCS server https://maps.isric.org/mapserv?map=/map/wrb.map into ...
1
vote
1answer
31 views

QGIS Legend only with Raster Minimum and Maximum values

I want to have a mimim and maximum raster values in the legend but it appears to me a long list of all values how can I resume the legend minimum and maximum values:
1
vote
0answers
23 views

How does QGIS legend divides its classes?

When making the legend in QGIS, does anybody know how QGIS divides its classes? For example, see the legend below. What do these numbers represent? Upper/lower borders, class centers? Can anyone help ...
3
votes
2answers
65 views

Create 3x3 “square legend” using QGIS

Is it possible to create this type of "square legend" in QGIS? It is the first time that I see this type of legend and I really liked it. Source: https://twitter.com/Caroline_OF_B/status/...
0
votes
1answer
35 views

Legend Item Spacing in QGIS 3.10

When I use smaller fonts in the legend (anything less than 20pts) there's an awkward gap between the items. I have set all the relevant spacing options in the Legend Properties (i.e. space between ...
0
votes
0answers
25 views

Rotate Legend / Legend Style in ArcGis Pro

I made this map using ArcMap, and I want to reproduce such horizontal Legend with ArcGis Pro. I tried importing it to ArcGis Pro and the legend shift vertical. So is there anyway to access Legend ...
1
vote
1answer
48 views

How to overlap two layers of points with different size

I am new in QGIS. Here is my problem : I have two layers of points. In these two layers, my points have different degrees or size : For the layer 1, the point "a" has a size of 3, and the point "b"...
1
vote
0answers
56 views

Conditional formatting QGIS Legend

I use QGIS to create surface plots for measurements made in the field. I use the contour plugin. I usually create ~50 contours in order to make a smooth surface. When I use print composer, I generally ...
0
votes
0answers
38 views

QGIS: Legend Symbol not showing

I am putting a legend from my layout from a points layer with graduated and rule-based setting. I have a problem rendering the symbols from the layout. What could possibly go wrong? QGIS version: 3.4....
1
vote
0answers
48 views

Only show title in legend entry for raster/tile layer in QGIS

When I have a legend entry for a xyz tile raster layer, such as Google satellite, in a print composer layout in QGIS, the legend includes a lot of white space underneath the title. This would ...
2
votes
1answer
51 views

Categorized symbology with transparency including raster basemap?

I'd like to include the background map in legend symbols, rendered under transparent fill. For matters of better representation and easier orientation, it would be helpful if the symbols in the ...
1
vote
0answers
26 views

QGIS Print Layout Vertical Graduated or Continous Legend Bar

I would like to replicate a legend bar design from a map that I assume comes out of ArcGIS: Is this possible in QGIS without using external software like illustrator?
2
votes
2answers
47 views

QGIS legend in layout manager

I have offset some data points in QGIS but I want my points to stay aligned in the legend? It looks funny when points aren't lined up. Anyway I can do this?
0
votes
0answers
35 views

MapServer HTML legend

I am trying to build an HTML legend for my web application but I am having an issue with the tag [leg_icon] not being recognized. Seems like MapServer is not substituting any URL for this tag. Other ...
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 ...
2
votes
1answer
43 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 ...
1
vote
1answer
114 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 ...
-1
votes
1answer
87 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
35 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 ...

1
2 3 4 5
14