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
3
votes
4answers
4k views

Is there a way to remove this thick gray border from my raster symbology in the legend?

I have this problem with different raster layers, in this instance it's land use data. In my layout, and in a rendered PDF of my map, the legend entry for the raster layer has an ugly, thick gray ...
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
201 views

Using Legend properties in ArcGIS Desktop?

I am trying to input acress right next to values in the Legend; however, I was not able to . See here Even though I know how to do the Legend Properties. See here Can you point me where can I point ...
3
votes
1answer
454 views

QGIS change legend symbol size independent of map

I'm using QGIS 2.18. The screenshot below shows the print composer. At the moment, the only way I can reduce the size of symbols in the print composer is to reduce the size of the symbol on the map. ...
3
votes
1answer
691 views

Interpreting raster values generated by QGIS Heatmap plugin?

I have generated a nice heatmap (point density) based on a point layer using the QGIS Heatmap plugin, set up as follows: I calculated both outputs as shown in the screenshot below: 'Scaled by Kernel ...
3
votes
1answer
831 views

How to sort layers within groups with Python?

After running a longer script (Qgis Console), all I want to do is sort the layers within my groups; since some of them are buffers and the 'biggest' buffer is now on top. I've tried stuff based on: ...
3
votes
2answers
1k views

Remove item from legend using ArcPy?

I can't remove item from the legend (lyr called "atikot") using arcpy with this code: import arcpy from arcpy import env removeLyr = arcpy.mapping.ListLayers(mxd, "atikot")[0] mxd = arcpy.mapping....
3
votes
1answer
4k views

Where is the legend for graduated styling?

I created a map using graduated styling on a layer and there is a field for legend format and a column that says legend, but I can't find the legend anywhere. Does anyone know how to access it? (The ...
3
votes
1answer
654 views

QGIS Natural Breaks with raster file

I know it is possible to use natural Breaks legends with vector files in QGIS. Is this possible also with raster files? Actually I want to reclassify raster files by using Natural Breaks.
3
votes
2answers
751 views

Adding more than one legend in QGIS Print Composer?

I'm using QGIS 2.8.4 and I can't seem to figure out adding more than one legend to my Print Composer. Say I want a larger map and then an inset map -- showing perhaps a different classification/color ...
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 ....
3
votes
3answers
4k views

How to improve legend spacing for ESRI ArcGIS map

I am using ArcGIS 10.1 and am trying to achieve a fairly uniform amount of white space between the first four legend items and am having difficulties pulling this off. All four items are separate ...
3
votes
1answer
2k views

Why do some Customised Symbols look good in map but disappear from Legend on Export?

I am using ArcGIS Desktop 10.0 I created some customised symbols for my map which ArcGIS Desktop did not have. To do this I used BMP files and imported the symbols. They look good on the map but do ...
3
votes
3answers
3k views

ArcGIS legend columns

I am making a legend in ArcGIS 10, and have a few layers with a large number of classes. When I try to display the legend with two columns for that layer, the second layer always lines up with the ...
3
votes
1answer
2k views

Semi-circle representation in legend - ArcGIS!

I have a little problem that needs solving. How to represent the legend in ArcMap as in the picture above? Or as semi-circle instead of complete circles?
3
votes
2answers
2k views

Changing Names in TOC Doesn't Update Legend Properly

This is related to an ArcMap add-in I coded up this past week. I'm trying to rename a layer in ArcMap and have the legend refresh properly. The renaming part is working fine, however I cannot get the ...
3
votes
1answer
292 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 ...
3
votes
2answers
7k views

Adding Leaflet legend?

I am trying to add a legend to my leaflet map and no matter what I try I cannot get it to display properly. I have imported a point level geojson into my map and I have styled the points in a similar ...
3
votes
1answer
5k views

Adding and removing legends with layer selection in Leaflet

I'm new to Leaflet/Javascript and have been struggling to get legends a map to show only when a specific layer is selected from the layer control. I have three layers, one of which I would like to ...
3
votes
2answers
1k views

Replicating QGIS color ramp style in R?

I want to use rgdal to plot a shapefile graduating the colour of features according to the values of one field (density). I couldn't find online detailed indications on how to do it and the package ...
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 (...
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 ...
3
votes
1answer
328 views

GeoServer: Legend title with single feature layer

Been working with GeoServer for some time now. While working with the publishing tab of the layer, I noticed a problem. Every time that I set the default style with a single featured CSS style, the ...
3
votes
2answers
687 views

Assign predefined legend style to raster layer via qml in QGIS [closed]

I work with rasterized extracts of CORINE data (V 18.5 gdb) in QGis. My layers however are not depicted in the colours that are standard for CORINE, but in different shades of red. From EEA i ...
3
votes
1answer
561 views

QGIS Legend - distribution of items across columns

I'm a new QGIS user, still finding my way around. I've created a map and am now preparing for export in print composer. I've added a legend with ten items, and I want the items to break across five ...
3
votes
1answer
629 views

Creating legend in separate page using ArcMap?

Is it possible in ArcMap 10.2.2. to create a layout that shows the legend of the map on a separate page? A.k.a have two pages in layout view? So first page: full view of the map, second page: legend....
3
votes
1answer
119 views

Enable and disable styling rules

I have a vector layer in qgis. I have added a bunch of rule for this layer. This is the QDockWidget for layer in QGIS main window So each of interstate, divided, secondary is different rule added ...
3
votes
1answer
2k views

Filter MapComposer legend to only show layers visible on the map

I have written a function in Python / PyQGIS (no standalone application, so copy/paste it to the Python console editor to run it) that takes a VectorLayer as argument, creates a MapRenderer object for ...
3
votes
1answer
2k views

Flip over min/max values in a stretched symbology for raster data

In ArcMap 10.1, we can render a raster in a colour ramp (stretched) symbology to draw a raster layer based on each pixel value. However, the legend for the layer by default starts from the max value (...
3
votes
1answer
407 views

Is there any way to have the legend text above the symbol and beside it, not just above?

Is there any way to have the legend text above the symbol and beside it, not just above? What i do at present is to cut the end of the text off and insert a label then group them, however i want to ...
3
votes
1answer
2k views

Working with legend patches/symbology in ArcGIS Desktop?

I am working with a legend in a map from ArcGIS 10.1. The map is used as a template and will be used many times to create different maps. The legend is used to show a soil type and its descriptor: So,...
3
votes
1answer
2k views

How to create complex legends in Mapserver?

I want to create a color legend on mapserver. It is working but now I have to group several classes together like a heading with a group of color in it and so on. I have 10 such groups of classes. I ...
3
votes
2answers
57 views

Rotating legend item labels in QGIS Layout Manger?

I want to create horizontal legend in QGIS (v 3.8.0). Is it possible to rotate legend item labels in Layout Manager?
3
votes
1answer
64 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 ...
3
votes
1answer
50 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 ...
3
votes
1answer
200 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 = ...
3
votes
1answer
608 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 ...
3
votes
1answer
197 views

Legend disappears when printing to PDF using QGIS?

I have a figure made in the print composer, but when I "Export as pdf, both the legend and our company logo disappear. Any idea why? I have not had this problem before. Using QGIS 2.18.10
3
votes
1answer
717 views

How to convert legend to graphics in QGIS?

I am trying to convert the legend element in the print composer into graphics, like the option in the ArcGIS: Is there some way to do it with QGIS?
3
votes
1answer
391 views

Qgis Python - Legends in Horizontal

I have successfully added legends in Map using Qgis QgsComposerLegend () python programming .(using Qgis python console) but legends are added vertically.I wanted to place legend horizontally. If you ...
3
votes
1answer
415 views

How do I get the default NLCD symbology back after clipping/projecting?

NLCD landcover rasters downloaded from MRLC have default legends and symbology as shown here: http://www.mrlc.gov/nlcd11_leg.php However, when I extract the raster through a mask, or reproject the ...
3
votes
1answer
598 views

How do I read and modify heat map value classification on QGIS?

I am trying to create a heat map on human encroachment using the heatmap plugin of QGIS 2.2. I have no problems creating a good looking raster file using a 2 km radius but I can't find my way around ...
3
votes
1answer
1k views

How to change symbol size in QGIS map composer legend?

I need to set an identical size to several symbols inside a QGIS map composer legend. The 'Symbol' menu in the Legend properties allows to set a height and width but this has no effect on the size of ...
3
votes
1answer
55 views

How to create a tabular legend in ArcMap 9.3?

I want to create a legend in ArcMap 9.3 like the image below for a polygon layer. How can I do that? The values in the first column (Molid, Brad, etc.) and in the second row of legend (1-40, 41-90, >...
3
votes
3answers
1k views

Change symbol size in legend for FeatureLayer (ArcGIS API for JavaScript)

I'm learning how to create web applications using the ArcGIS API for JavaScript. I have a map that is displaying both an ArcGISDynamicMapServiceLayer (which includes two layers) and a FeatureLayer. I ...
3
votes
1answer
106 views

MapInfo 12 Legend settings

Does anyone know how (if) I can set the defaults within Legend Designer? I want my rectangles for each layer to default to a 20x20 square, not a rectangle. At the moment I have to change it manually ...
3
votes
1answer
3k views

Why does ArcGIS for Desktop legend not always show symbol as desired?

I have a problem with the legends in the ArcMap because the patch does not show the marker symbol inside it well. Whenever, I move the legend it changes but never to what I want for every patch. I ...
3
votes
1answer
983 views

Legend text wrapper (ArcGIS)

I'm interested in wrapping long legend text (in ArcGIS 9.3.1) so that the text does not exceed the layout extent. I would like to call the GetFormattedString Function within the ...
3
votes
0answers
61 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 ...
3
votes
0answers
65 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 ...