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.

3
votes
1answer
253 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
605 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
798 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
955 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
2k 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
566 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
718 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
275 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
1answer
5k views

Leaflet add and remove legends with layer selection

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
1answer
154 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
285 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
638 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
583 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
117 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
391 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
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 ...
3
votes
1answer
157 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
463 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
180 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
642 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
324 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
371 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
572 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
54 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
105 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
21 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" ...
3
votes
0answers
22 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

Changing legend spacing to be further away from map border in QGIS?

I am using QGIS 3.2.3 I am creating a map in which I have added a legend to (see figure below). My issue is that I am trying to create a legend which has spacing between the two columns. I have ...
3
votes
1answer
218 views

Setting legend in QGIS to only show values that actually occur?

I am using QGIS 2.18.3 (I know, it's an old version now) on Windows 7. I have a raster of forest groups for Oregon, saved as the .img format and is rendered as Paletted. It was clipped from a raster ...
3
votes
0answers
186 views

PyQGIS update/refresh composer legend [duplicate]

I am trying to modify the data source of a raster layer in python, then update my composer and finally save it. To modify my data source I found what is needed here: https://geogear.wordpress.com/...
3
votes
0answers
282 views

Creating “heatmap” based on data with legend in QGIS?

I am new to QGIS. I need to make a map that looks like a heatmap, but is based on data values, not point concentrations, and with a legend. I was able to make a heatmap based on data values, but not ...
3
votes
0answers
156 views

ArcGIS Pro Legend Range Display

When creating graduated color legends, other than manually formatting value ranges under the symbology legend label, is there any way of automatically showing the full numeric value range in the ...
3
votes
0answers
139 views

Legend and Attribute Table change throughout map composer

I'm using QGIS 2.18.3 (Las Palmas) For a project I have about 15 maps with the same extent, where each map displays a different attribute. I have followed Automating Atlas to create maps for all ...
3
votes
0answers
701 views

Inconsistent word wrapping in legend of ArcGIS Desktop? [closed]

I have been using word wrapping for my legends in ArcGIS 10.3. I have had some success with this, but am getting errors in the way the labels are displayed. Here is a pic of the settings: The ...
3
votes
1answer
329 views

Choosing layers to dump in legend for a standalone application

I'm writing a standalone application using QGIS API to export maps automatically as pdf. When I'm building my QgsComposition, I have an issue: I have already built a list with the layers I want to ...