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

QGIS styling a legend

I am a newbie working on QGIS 3.6 / Windows 10 I need to style a legend for map with headings and sub headings The main divisions of the legend item need to be subdivided into sub-classes i.e. The ...
1
vote
1answer
123 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 ...
1
vote
0answers
16 views

Changing Legend Icon color for visual variables?

I am building an Arcgis application with the latest Javascript API. Its a relatively simple sensor management tool. The problem I am facing is with the legend and the way the icons are represented. I ...
0
votes
0answers
27 views

QGIS map legend rendering problem

The maps look good, and the legend symbols match the maps. Once converted to .pdf the map legend symbols degrade to basically nothing. Horizontal red line patterns, or any colored line patterns for ...
2
votes
2answers
984 views

Print composer - legend - graduated

I have a map with graduated symbology, with 328 unique values. I would like add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values. I ...
1
vote
0answers
18 views

Custom legend with concatenated fields on QGIS 3.8.1

I prepared a map with a custom legend on QGIS 3.8.1, combining a classification of several concatenated fields. However, when creating the layout compouser and including the legend, the descriptive ...
0
votes
0answers
31 views

Getting lines across Legend symbol in ArcMap export to PDF?

I am encountering an issue with an item in the legend when I use a page size of 36x48 for exported PDFs. The item, a library symbol, appears to have lines going through it. It looks fine with smaller ...
3
votes
1answer
807 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
545 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
3answers
97 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 ...
1
vote
1answer
68 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
1answer
47 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 ...
1
vote
1answer
35 views

QGIS spacing of individual labels

I'd like to increase the space between the symbol and the text for only one item in my legend; I can only seem to increases for all the items. Specifically, I want to combine the two screen shots ...
1
vote
3answers
197 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
votes
1answer
24 views

Reorder legend in ggplot object [closed]

I met some trouble when dealing with the order of ggplot legend. I plotted three lines in one graph, and I tried to use 'scale_colour_mannual' to change the order as the line from top to bottom, but ...
1
vote
2answers
192 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 ...
0
votes
0answers
24 views

Adding legend for World Ocean Base map in ArcGIS Desktop?

I am using World Ocean Base as a background for a map I created in ArcGIS Desktop 10.6. I have been asked by a reviewer to include the meaning of the shading in the legend. I know the shading on the ...
1
vote
1answer
50 views

Merging a legend and a table

I'm using QGIS 3.4 for this, and am creating a map that will see quite a lot of use. It will show plant species, and the area of the plants in question. For this, we have a main "plant" table. This ...
1
vote
0answers
62 views

Identifying based on legend items visibility in ArcGIS WPF app? [closed]

I have built a WPF app that has a dynamic legend that is refreshed as a user toggles on/off a layers visibility. I would like the identify task to only identify layers that are visible in the legend ...
1
vote
0answers
22 views

Manipulating ArcMap Legend Graphics

Is there a way to manipulate and edit ArcMap graphic legend items? From what I found researching, one way is to convert the legend into graphics, ungrouping all the elements and editing each graphic ...
1
vote
0answers
25 views

Stretched raster legend badly displayed ArcGIS Desktop?

I have a stretched raster in ArcGIS Desktop 10.3 with this symbology: But when I put the layer in the legend, it's showed like this: I've tried to change the styles, showing and hiding headers, ...
1
vote
1answer
38 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 ...
0
votes
1answer
99 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 ...
1
vote
0answers
45 views

Remove legend nodes of a categorized layer in a layout legend using PyQgis

I am trying to find a way to remove specific legend nodes in a layout legend for a vector layer styled with categorized symbology using the PyQgis-3 API. For example, in a QGIS project I have one ...
4
votes
1answer
1k views

Performing Dynamic Legend Classifications with Data Driven Pages?

I am creating choropleth maps for quantified data. Each DDP will focus on a new county, which is shown by using a clip of the data frame (by the county boundary). I want to define quantified legend ...
0
votes
0answers
22 views

Problems with legend in DEM raster

This is a follow up question to this one: Addressing just the outermost cells in a raster? In this question you can find all the code and the data. To summarize: I have a DEM raster masked to the ...
2
votes
2answers
45 views

How to sort legend values by an index item in QGIS?

Using categorized classification method for creating a legend on QGIS permits to create an automatic legend based on the values or categories defined in on item or a combination of items, or a ...
5
votes
2answers
266 views

Preventing Symbols offset in map from being offset in legend of QGIS?

I've been searching for a solution to this, but cannot seem to find an answer. I have a map where some stacked markers have been offset to be visible on the map. This makes their symbol offset in the ...
3
votes
2answers
7k views

Labelling pie chart legend entries by alias in ArcGIS 10.1

When generating pie charts in ArcGIS, it appears that the legend entries generated for the different slices are named based on field name, rather than the field alias. I've done some research, and ...
3
votes
1answer
57 views

Displaying a legend for a centroid, simple marker with size overwrite?

I am new to QGIS and can't figure out how to display a legend for the dot size of a centroid, simple marker. The size of the dot is dependent on a value from a CSV linked to a layer map of Europe. I ...
1
vote
1answer
27 views

Formatting legend item and feature count text in ArcGIS Pro?

In ArcGIS Pro you can turn on the option "Show feature counts" in Format legend item -> Feature Display Options to show the number of features for each legend item. When turned on however the number ...
1
vote
1answer
110 views

Adding legend title in plot function of R

I use plot function to plot a raster in R. The plot function adds a legend as default. However, the default legend added does not have a title. For instance I need to add the unit such as meters. I ...
2
votes
0answers
38 views

Creating a horizontal legend with labels in GeoServer

Im am trying to ask GeoServer for a horizontally orientated colorbar legend for my raster layer. I prepared an SLD style for the layer and asked for the legend with the GetLegendGraphic method, ...
2
votes
1answer
5k views

Spplot labels in R how to change

Can anyone tell me how to change the labels in a legend created by spplot in R? It is a typical vertical ribbon legend automatically generated by spplot. Based on color, it is labelled 1-7 but I ...
5
votes
2answers
132 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
625 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
18 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
44 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
109 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 ...
4
votes
0answers
53 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
50 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
216 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
181 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
61 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
183 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
55 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
4k 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
39 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
54 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 ...