Questions tagged [legend]

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

5
votes
2answers
86 views

How to add text on top of symbols for vector layers in QGIS

I read the QGIS 3.2 Changelog and saw a new feature to add text on top of symbols for vector layers. Does anyone knows how to do this?
2
votes
1answer
623 views

Legend label failed to send to print service using ArcGIS javascript?

I am try to print my map with legend to PDF format; however, the legend label in the PDF is saying Override 1 instead of the label I specified in class breaks. There are other maps I can print ...
1
vote
0answers
15 views

Landcover Legend

When I download landcover, the legend for pseudocolouring is always a number rather than the actual legend which was shown where I downloaded the data. How would I go about getting the actual land use ...
0
votes
2answers
26 views

Changing aspect ratio of legend in ArcMap?

I'm making some good ol' maps at work (Using 10.x) and I'm having difficulty getting my legend to fit with the amount of descriptive text I have and the amount of space available to me (as well as to ...
4
votes
2answers
97 views

Bring a single point forward for display

I am attempting to display various shellfish species on a map. The shellfish layer is organized so that the species display in the desired order on the legend. However, the result is that one point is ...
1
vote
1answer
17 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 ...
3
votes
0answers
26 views

Is it possible to get a dynamic legend in QGIS 3.6?

I need to send a GetPrint request for a map with a dynamic legend that only shows layers/items/symbols relevant for the current map frame. In QGIS 2.14 one can select "Filter Legend by Map Content" ...
0
votes
1answer
49 views

Where can I find the legend?

I have downloaded the following two tiff files from here: pnv_biome.type_biome00k_c_1km_s0..0cm_2000..2017_v0.1 pnv_biome.type_biome00k_sse_1km_s0..0cm_2000..2017_v0.1 Using r.report in QGIS 3.6 I ...
2
votes
0answers
213 views

Programmatically adding folders & layers to QgsComposerLegend

I've been building up QgsLayerTree object with a directory structure that reflects the desired legend. Specifically, I'd like the Group(s) to be titles and their contained layers to legend items. ...
0
votes
1answer
122 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 ...
0
votes
0answers
9 views

Keeping Styles when changing Legend entries

I have edited the styles for a categorised column that was originally set to random colour. Now I want to add another descriptor to the legend (from another column) using the Concatenate function, ...
2
votes
2answers
50 views

Writing italic form scientific name in map legend?

I am trying to use Italic scientific name in my legend, I am using QGIS 3.4. I can not figure out how to do only two-word italic without having the rest of the description being italic. Is it ...
3
votes
1answer
161 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 = ...
1
vote
1answer
51 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 ...
3
votes
0answers
24 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
49 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
48 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
35 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
121 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
34 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
33 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
32 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
276 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
32 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
137 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
568 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
115 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
101 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
37 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
90 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
40 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
759 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
461 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
57 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
24 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
25 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
87 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
195 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
177 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
45 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
23 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
153 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 ...
4
votes
3answers
893 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
39 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
69 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
79 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
32 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
31 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 ...