Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [legend]

The description of the types of features included in a map, usually displayed in the map layout.

1
vote
1answer
46 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. ...
1
vote
3answers
3k views

Showing “layer name” as text in ArcMap layout view?

I am trying to show the layer names of all visible layers in ArcGis 10.1 when creating a map in layout view. First I tried to use "insert legend" and show there only the layername, but I can't ...
-2
votes
0answers
18 views

Display style added to vector layer as legend in OpenLayers 3 [on hold]

I want to display style added to vector layer as legend in Open Layers 3. How can i read and display with symbol
2
votes
0answers
17 views

Split a tmap legend and display in two locations

I would like to split the legend of a tmap object, so that one of the two elements is in the top left, and one in the top right. I have been through the documentation of tm_legend, but could not find ...
0
votes
1answer
48 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 ...
2
votes
1answer
44 views

removeGroup() in QGIS 3

I am updating a plugin from QGIS 2 to 3. I need to iterate through the groups (the names are dynamic) and remove them with their respective child layers. I need to get a list of groups and then ...
1
vote
0answers
25 views

KML title and description to generate lettered legend on map

Let's say I've exported a KML (from My Google Maps) with a list of waypoints like: <Placemark> <name>Bachledzki Wierch 8a</name> <description>tel: , 606 426 336</...
2
votes
3answers
109 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 ...
0
votes
0answers
25 views

Multiple break levels in color legend

Please look at the color legend of the image: This image was plotted in ferret program, which has different breaks, like 0-3 with 0.5 interval, 3-9 with 3 interval, 9-10 with 1 interval, 10-20 with ...
3
votes
1answer
3k views

Legend colour with specific value

I have model plotted in R base<- raster("example.tif") plot(base) image I'd like to change value (0,5,10,15,20,25) breakpoints<-c("0,5,10,15,20,25") plot(base,break=breakpoints) Error in ....
2
votes
0answers
28 views

Managing space in columns in QGIS legend

Is there a way to set up a legend so the group name spans multiple columns in QGIS print composer? Trying to set up a legend where one of the items is split into columns, but the group spans the ...
0
votes
0answers
30 views

QGIS Legend from WMS

I use QGIS 3.4.5 and want to create a map from a WMS. The problem is the legend, which is created automatically from the WMS. The quality is very bad and the writing is barely legible. How can I ...
2
votes
1answer
261 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 ...
2
votes
0answers
29 views

Resolution/displaying issue with legend item in QGIS

I'm having an issue in QGIS print composer. I am using QGIS 2.18. Some of my legend items are displayed in low resolution or are partially cut off. The strange thing is that some groups of the legend ...
5
votes
1answer
135 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 ...
7
votes
2answers
549 views

Make part of legend label italics either for layer header or items in QGIS Print Composer

I am using QGIS 2.18. I want to make PART of a legend label/heading italic within print composer when creating a map layout (for example make part of my label italic if its a botanical name and keep ...
5
votes
1answer
87 views

Showing feature count for layout extent on legend using QGIS?

I'm using QGIS 3.6.1 on Win10. I have a print layout with a map of an area within my total work data set. I add an item to the print layout legend with the summation button on for "Show feature ...
1
vote
1answer
91 views

Rounding numbers in QGIS raster legend?

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 ...
3
votes
1answer
36 views

QGIS print composer - Legend columns not aligning when title is deleted

I want a simple legend without a title and with 2 items side by side. I can't find an option to turn the legend off so have just deleted text from the Legend title box. I select Columns (2) - Equal ...
1
vote
1answer
84 views

Data-defined size legend QGIS and Map Unit symbol

In QGIS, I am making maps of the same project in different scale (global and local). To make my symbol looks alike in all scales, I've choose to use proportional symbol with a size in "map unit". ...
2
votes
0answers
32 views

Displaying Legend for Variable Width Line in QGIS

I am using QGIS v3.4 to display a simple line as a line of varying width using the variable line width attribute facility of QGIS (please see screenshot below). The layer displays correctly within ...
3
votes
1answer
738 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 ...
1
vote
1answer
419 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 ...
1
vote
1answer
39 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". ...
0
votes
0answers
23 views

Can't select/remove automatic legend in layout view

Every time I start a new map and go into layout view it automatically generates a legend, scale bar, and north arrow. I can select the scale bar and north arrow and remove them, but for some reason I ...
0
votes
0answers
15 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 ...
0
votes
1answer
68 views

Changing legend labels in ArcGIS Desktop?

I don't know how to change legend labels using attribute table. I want to use values from "litologia" field instead of "kod". Is this even possible or do i have to switch value field in symbology ...
1
vote
0answers
184 views

refreshLayerSymbology raster layer legend

When I modify raster colors with PyQGIS, the legend in the layout layer is not update (color and value). The function refreshLayerSymbology() in my code don't do the job. I had try this : # BBOX ...
1
vote
3answers
166 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 ...
2
votes
1answer
43 views

Hiding single class in ArcGIS Pro legend?

How do I hide a specific feature in my legend? The feature River is shown on the map but should be hidden in the legend. The other features are in the same layer. The only way I can think of is to ...
0
votes
0answers
21 views

Border Legend Same As Map Backgorund

How create legend border same as map background like in the image? I'm just can get the border white like the rest of legend frame. I'm trying in Arcmap and ArcGIS Pro.
1
vote
2answers
140 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 ...
3
votes
3answers
801 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. ...
1
vote
0answers
34 views

How can I summarize the values of a raster to make a clear legend? [closed]

I produced a relief map out of a ASTER Satellite Picture by using a colour ramp (Symbology -> band rendering). I want to make a map out of that in the Print Composer but the Legend is very confusing ...
1
vote
2answers
63 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
65 views

Geoserver : how to use getlegendgraphic to avoid duplicate symbols in legend because of rules

I am currently doing a master's internship in a town hall. I am working on improving the interactive map of the municipality where I work; it uses the Geoserver platform to host the layers and their ...
0
votes
0answers
25 views

GeoServer legend fails when using Graphic Symbology

Using the graphic symbology to fill a polygon in GeoServer I can successfully display a polygon with a 'slash' overlay using the CSS below. { stroke: #999999; stroke-width: 0.5; fill: #...
0
votes
0answers
25 views

ArcGIS Online Custom Print - Printing Legend

I created a custom print service using ArcPy. It is hosted as GPServer on my test server. The print service uses a JSON configuration file to pull the data from the mxd. The JSON passed from the web ...
5
votes
2answers
2k views

Making legend items start in new column in ArcGIS Pro?

In ArcGIS Pro 1.3.1, I have just looked for the ability to start legend items in a new column. This functionality is present in ArcMap's Legend Properties on the Items tab which appears below: Has ...
28
votes
7answers
22k 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 ...
4
votes
1answer
128 views

Showing size of pie chart in legend of QGIS?

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 QGIS 3?
3
votes
1answer
267 views

Is it possible to change the legend so the symbol is on the right side?

Is it possible to change the legend arrangement so the symbol will be in right side and the label description will be in the left side? The QGIS default is label description in the right side and the ...
1
vote
0answers
23 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
1answer
39 views

Polygon fill outside of stroke in print composer

For some reason the polygon fill is outside of the stroke in QGIS print composer. My stroke width is set to 0.18 which I would like to keep constant. Is there anyway to fix so that the stroke goes on ...
1
vote
1answer
28 views

Choosing method for labeling graduated data that is space efficient? [closed]

Could someone recommend the best standard approach to labeling graduated data ranges? I was thinking of the following but would like to know if this is industry standard: Less than 0 >0 - 100 &...
-1
votes
1answer
28 views

Second page with legend in ArcGIS Pro?

I would like to illustrate the following: on page 1 of my layout I need the map content on page 2 the legend only and nothing else. How to proceed?
2
votes
0answers
67 views

Add basemap copyright in QGIS?

I am using the QuickMapServices plugin for basemap imagery and was wondering if I can add a QGIS legend that includes default copyright information? I know this can be done in ArcMap...!
5
votes
0answers
272 views

How to change the group icon in legend via 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) ...
1
vote
1answer
74 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 ...
2
votes
0answers
130 views

QGIS 3 - Wrong legend for datadefined size points layer

I am trying to generate a proportional symbol symbology using data defined symbol size in a QGIS 3 python plugin. Here is the working code : # Symbol creation symbolLayer = ...