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
0answers
73 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
317 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
219 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
317 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
201 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
144 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
110 views

QGIS Print Composer Legend: Polygon symbol not closed

The legend of my map doesnt't match the symbology of my polygon layer, the polygons are not closed. Here a screenshot of the layer windows: And here one of the legend from the print composer: If I ...
3
votes
0answers
766 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
337 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 ...
3
votes
1answer
218 views

programmatically populating the QGIS Legend [closed]

So I have a function in a utility class that creates my Legend for the composer. It looks something like this: def addLegend(self, c, r, L, tree_root): L.model().setLayerSetAndGroups(tree_root) ...
3
votes
0answers
395 views

LegendGraphic gray color from external SLD file

I'm trying to add legendgraphic from a WMS layer with an external SLD file wich is generated dynamicly. The legend is added but the colors from SLD file are all gray. The WMS layer is colored by SLD ...
3
votes
1answer
858 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 ...
3
votes
0answers
126 views

How to set more than one font sizes for a legend item in a QGIS?

I am looking for a possibility to set a second font size for one legend item in QGIS (2.8.1) Printcomposer. For every item (name of a plant) I need a smaler expression in brackets (name in latin). Is ...
3
votes
0answers
151 views

Remove Legend from CartoDB Layer

I am trying to remove the legend associated with the current CartoDB generated map and replace it with a legend from a map generated when the user selects a radio button. My code is as follows: ...
3
votes
0answers
194 views

Lining up polygon legend patches in ArcGIS for Desktop? [closed]

I have tried the properties and everything, I can't understand why my polygons are not lining up correctly in the legend. I created this legend the usual way by adding my three layers to the legend ...
3
votes
0answers
6k views

Adding count of features in categories to legend using ArcGIS for Desktop? [duplicate]

I am using ArcGIS 10.1 for Desktop and I would like to know How to add the Count (which is visible on the Symbology tab of the Layer Properties dialog) to the legend?
3
votes
0answers
164 views

Moving legend items up and down in QGIS

How can I change sort order in layer properties styles tab? The only way I've found is to change their labels and order by it.
3
votes
0answers
420 views

Make Graph (Data Management), Changing item names in legend [closed]

I'm having python produce a multi-series graph. How do you change the series name in the legend, the default being Vertical Bar, Vertical Bar1, Vertical Bar2.... arcpy.MakeGraph_management(...
2
votes
2answers
3k views

How to only display active layers in legend?

In QGIS, in the Print Composer's Legend function, how do I make it so that the Legend automatically displays only the active layers (i.e. the layers that are checked and therefore displayed on the map)...
2
votes
2answers
924 views

Adding group in Legend in QGIS Map composer?

There is a Map composer with created map. I want to "Add group" to Legend - it appears in the Legend Properties, but not in Legend on the map. I am using QGIS 2.18.8. This problem was also in 2.16 ...
2
votes
3answers
13k views

Unable to edit legend in ArcGIS layout view

Somehow I can’t open the legend properties after converting it to graphic in layout view – from what I’ve read in the ArcGIS guide and online, I should be able to edit everything on the legend through ...
2
votes
2answers
1k views

Legend symbol angle in ArcMap 10.3

I work on a map with rotate data frame. When I create the legend, the symbol line in the layers on the legend are angle to different directions than the layers in the map: I try to find a way (...
2
votes
2answers
909 views

A raster map without a legend?

I simply download a map from here http://neo.sci.gsfc.nasa.gov/view.php?datasetId=MCD12C1_T1. this map is a tiff file. mapd <- raster("C:\\MCD12C1_T1_2011-01-01_rgb_1440x720.TIFF") plot(mapd) ...
2
votes
2answers
205 views

MapInfo legend editing for right to left text

I work with some right to left text (Arabic, Hebrew) and I would like the legend to be from right to left instead of the current left to right. Is there any way of doing this in MapInfo?
2
votes
1answer
258 views

How to create legends with triangular end boxes in arcGIS?

I want my legend which is now in the form of the left bar in the following image, to be shown in the form of the bar in the right side. I couldn't find anything related for arcGIS. Does anyone ...
2
votes
2answers
469 views

Combining two layer symbologies into single legend item using QGIS?

In QGIS 2.18.13 on Windows 10, I have symbolized a polygon with two layers on top of either other; the bottom layer is a solid fill color, and the top layer is a BDiagonal (hash). The two layers ...
2
votes
3answers
1k views

Adding a legend to points in the tmap package

I am trying to create a map with several points (about 20), where each point will be represented by a number, and where a legend will have these numbers and names of my points. Is it possible to do ...
2
votes
1answer
872 views

Fine-tuning horizontal legends in QGIS

I made a map with a horizontal legend to show 10 categories in QGIS 2.18.6 (see below), and here comes some questions. Hopefully I can have some suggestions here: First, I indeed create the legend ...
2
votes
2answers
452 views

Using legend with dijit/form/DropDownButton in ArcGIS API for JavaScript?

I am very new to the ArcGIS API for Javascript and am by no means a programmer. Nonetheless, I have been fairly successful at finding existing code and modifying it to my needs. That is, until now. I ...
2
votes
2answers
1k views

CartoDB choropleth + bubble visualization with two independent value ranges in legend

I have been trying to display two values simultaneously i.e. one absolute value displayed by bubble size (as with layer wizard: bubble) and one relative value displayed by color (as with layer wizard: ...
2
votes
2answers
3k views

Using attribute data for legend labeling in QGIS?

For features in a map it is possible to stuck data from the attribute table together and get a data driven label. I try to do this for my legend labels. I want to combine values from my attribute ...
2
votes
1answer
139 views

Symbology for multiple attributes within the same feature class in ArcMap

How to represent two variables in one graduate symbol "figure", colors and graduate size circles.
2
votes
1answer
246 views

Categorizing multiple entries in QGIS?

I am trying to categorize a polygon layer with several buildings, by the number of floors. I want to aggregate by classes like this way: 1 floor = 1 to 2 floors; 2 floors = 1 to 2 floors; 3 floors = ...
2
votes
1answer
2k views

Adding a Layer Control Legend based on geoJson properties

I have a Leaflet map app in which I am having difficulty getting the L.Control to function properly. The app pulls points based on data from a geoJson file. The geoJson data has a property "Type" (...
2
votes
1answer
655 views

Arcmap legend: select only part of the elements

I have to export a map. In my map, I unified several features under the same colour because because for my job they are exactly the same. My problem is that, when I create a legend, I get something ...
2
votes
1answer
664 views

Can QGIS place diagrams in map legend?

I have this map and I want to put these red circles in the legend of the map according to this form: Is there a way to do that in QGIS?
2
votes
2answers
197 views

What exactly to write inside legend_exp column so that color Legend is seen in Qgis2Leaf?

I am new to qgis2leaf. I am getting the through qgis2leaf plugin. But as one can see i am not getting a color legend. I need to get the colors of bldg_use so that the map becomes readable. I ...
2
votes
2answers
3k views

Add a legend in an ArcGIS Javascript API

I am quite new to Javascript. I have made a html script that includes services I published to ArcGIS for server. It all does exactly what I want and I made it by copying working scripts together and ...
2
votes
3answers
3k views

How to change properties of an item in a legend in ArcMap 10.2 using python

For many of my projects I use a single mxd to create multiple maps using a python script to switch on/off various raster layers before exporting to pdf. Before beginning the exporting process I ...
2
votes
1answer
2k views

Legend labels for Vector layer symbols - how to name them (GeoEXT)

I'm coding with GeoExt and I have some problems trying to display the names of diferent features in a vector layer. This is my code: mapPanel = new GeoExt.MapPanel({ map: map }); legendPanel = ...
2
votes
1answer
48 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 ...
2
votes
2answers
55 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 ...
2
votes
2answers
71 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 ...
2
votes
1answer
2k views

QGIS WMS Layer - Returned legend image is flawed

I succeed in connecting to the following WMS in QGIS (2.14.15 LTR): https://secure.erlangen.de/arcgiser/services/Luftbild2016/MapServer/WMSServer?SERVICE=WMS&REQUEST=GetCapabilities ... with the ...
2
votes
1answer
379 views

Change symbology in the legend- QGIS 2.14

I work with a point layer. When i create a buffer for the point layer, i get this result: My problem is that instead of circle buffer in the legend, i get a rectangle. I red this in order, maybe, to ...
2
votes
1answer
3k views

show/hide button for leaflet legend

Is it possible to add a simple show/hide button on the leaflet map which will allow the user to see the legend on choice? Here is my code for the legend: var legend0 = L.control({}); ...
2
votes
1answer
468 views

Color ramp with legend based on attribute calculation in QGIS

Using the attribute table below, I want calculate a new field using the formula (field3+field4+field5+field6)/field7. Field 7 will be always larger than the addition of fields 3 through 6, so the new ...
2
votes
1answer
206 views

Austrian-hungarian map: Franzisco-Josephinische (3) Landesaufnahme - Legend

Currently I work with the Franzisco-Josephinische (3) Landesaufnahme (Austria-Hungary) map in area around Lake Neusiedel. There are some map sheets around Vienna with the scale of 1:12.500 In the ...
2
votes
2answers
727 views

Dynamic Legends in ArcGIS Pro?

I just tried to use Dynamic Legends in ArcGIS Pro 1.2 and have not been able to find them in either the application or its documentation. I expected to find them as something like an Only show ...
2
votes
1answer
315 views

Change anchor point using ArcPy

Is it possible to changed the legend element anchor point using arcpy? This is the default anchor point: and i want this anchor point loaction: I know how to changed the legend element position x,y....