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

learn more… | top users | synonyms

13
votes
1answer
8k views

Raster legend in R: how to colour specific values?

I have an elevation model plotted in R r <- raster("example.dem") plot(r, col = topo.colors(20)) Some of the values are below sea level (0), and I'd like to have those display in red. How can ...
11
votes
7answers
1k views

Repetitive automated mapping: which platform?

I could give a lot of examples, but imagine you have do eg a study in 10 different locations and have to generate a lot of maps with the same layout, legend. Maps can contain vector and raster data. ...
11
votes
1answer
726 views

Is there cartographic convention to ordering legend items (high-low or low-high)?

When you symbolise a layer in ArcMap, the symbols are ordered from low value to high value by default. Is that necessarily "correct"? I've never officially studied cartography - is there a convention ...
10
votes
7answers
673 views

What is the point of standard symbology?

There are several questions on the site asking for standard symbology to represent markers of specific types of objects (i.e. Power Distribution, Crime Mapping, Emergency Symbols, Lakes). What is the ...
10
votes
1answer
17k views

How to Add/Remove Legend with Leaflet Layers Control?

I have two overlays http://02d0c8c.netsolhost.com/dev/lcb_census_layers3.html that can be turned on and off with a Layer Control. I’d like the legend for each layer to turn on/off along with the ...
10
votes
1answer
846 views

How to automatically format the legend labels? in QGIS

I have to do 10 maps (for a start) with "style" -> "graduate" with quantile mode. I need to format the label of the different ranges so that the legend looks comprehensible: Instead of having 1.0000 ...
9
votes
5answers
580 views

What would be a good symbol for the map legend itself?

I am reformatting a mobile web map. Many of our users are equipped with mobile phones rather than large tablets, so screen real estate is at a premium. I've decided to remove the legend from default ...
9
votes
3answers
544 views

Setting symbol descriptions of ArcMap layout legends from table?

ArcMap has the ability to show an extended description for each item in the symbol list. How can I populate that property from a table? The goal is to avoid having to edit each symbol one by one in ...
9
votes
1answer
202 views

Adding labels with symbols to legend in ArcMap?

I'm creating a map with ArcGIS Desktop v10.2.2, showing museums as points. The museums layer has no symbol and the labels are made of a circle filled with color with the ID inside, taken from the [ID] ...
8
votes
3answers
5k views

Is it possible to have a dynamic table in a data driven page environment?

I am creating a map series that has many polygons per sheet. There is annotation for the polygons however some polygons are very small with no annotation for them (annotation would completely hide a ...
7
votes
2answers
297 views

Displaying legend item as polyline instead of polygon in ArcMap?

I am using ArcMap 10.1 and am trying to create a legend that will display a polygon layer as a single line.
7
votes
5answers
5k views

Manually classifying graduated data outside of range in ArcGIS for Desktop?

I have two shapefiles representing grids with values that are symbolized with graduated colors, shown below: You can see that the two shapefiles encompass similar ranges of data, but assign ...
7
votes
5answers
2k views

Continuous color band for a raster legend in QGIS composer legend

I'm looking for a way to insert continuous colour legend for a raster layer. I managed to create discrete symbols with values along the bar, but I would like to have a continuous bar with some values ...
7
votes
2answers
2k views

How to create a vertical scale bar in ArcMap?

Wondering if anyone out there knows how to create a vertical scale bar in ArcMap? With text I can adjust the angle. Is this possible with a scale bar as well?
7
votes
2answers
4k views

Placing label designs in the legend - Is it possible in ArcGIS 9.3.1?

I'm working in ArcGIS 9.3.1 and apart from "regular" slayers with symbology, I have a few layers which I do not show their symbol on the map, but only their label (for example: cities layer in which ...
7
votes
1answer
296 views

Duplicate items in the legend

I have recently created a web map that uses the legend snippet from the ESRI JavaScript API website. https://developers.arcgis.com/en/jav...et_legend.html It works great for the most part, but has ...
6
votes
4answers
1k views

Can someone help me identify this part of the map?

I'm sure 1 is a road, but what are those bumps on the side? I'm guessing 2 is a footpath. I have no idea what 3 is, if you don't know what it is, fine, let's leave it at that. I searched for what ...
6
votes
2answers
784 views

How to remove white gap in ArcMap Legend

I have a legend created in ArcMap 10.1 which appears to be generating an abnormal white gap to the right of the legend content. Any tips on how to possibly remove this would be appreciated.
6
votes
3answers
2k views

How to group elements in QGIS legend side by side?

I would like to edit the legend in my map so that the entries of two polygons will appear together, i.e. the two entries in the legend should be displayed appear as "Study area and possible study ...
6
votes
2answers
919 views

Including labels in map legend and point symbology of ArcGIS for Desktop?

I've been using gis.stackexchange for some time already and time has come for me to ask my first question here. I have point feature class with habitat types. There are two important attribute ...
6
votes
2answers
844 views

Controlling “Fill Properties” in ArcGIS, so that that symbols are visible in legend?

I use marker fill symbols in my legend in ArcView 10, in order to identify different habitats, and frequently have to increase the separation of the symbols in order to make the map more readable. ...
6
votes
1answer
1k views

Automate export of ArcMap legends

I've been building legends for my javascript websites that use 9.3.1 services. I know there's the ESRI legend tool for older services but I don't feel that it does a good job of producing legend ...
5
votes
1answer
3k views

How to allow for multiple lines in legend?

How can I force the description text in my legend to occupy more than one line? This is basically the same question as Legend: Can I force long layer names to multiple lines based on a specified ...
5
votes
3answers
1k views

Resequencing Legend Items using ArcPy?

I create various layers programmatically using ArcPy. I can adjust how the layers are sequenced using the arcpy.mapping.MoveLayer command. However, I want to have the legend reflect a different ...
5
votes
2answers
491 views

How to add a legend to a canvas in a standalone PyQGIS application?

I am trying to develop a standalone PyQGIS application. The map display does not pose any problems, but I do not know how to add a legend to the canvas.
5
votes
2answers
872 views

Different legend properties with ArcGIS API for JavaScript

I have a map template that I use to display a variety of feature layers and dynamic layers. I have found a snippet of code to add the legend to my map: //add the legend dojo.connect(myMap, ...
5
votes
1answer
2k views

How to create leaflet legend for points

I have points like this in a leaflet map. The points come originally from a GeoJSON file and I used L.circleMarker to convert them to circles. How can I create a legend for these points? Based on ...
5
votes
2answers
2k views

Annoying little line in color ramp legends - how do I remove it?

This was never a problem with ArcGIS 9 but it appears that in 10.0 Esri has added small horizontal lines as the default when including color ramps in legends. I want to get rid of these annoying ...
5
votes
2answers
1k views

Legend showing info for world map

I'm using ArcGIS 10.1 API for JavaScript. I'm showing dynamic map service layer containing 8 layers and I want to show legend for the currently visible layer (only 1 layer is visible at a time). The ...
5
votes
1answer
344 views

Legend items to appear / disappear simultaneaously with Layer turned on/off in Layer Control

I have a number of layers that can be turned on and off with a Layer Control. I’d like the description of each layer to show in the legend if it's turned on. And disappear again as soon as the layer ...
5
votes
1answer
3k views

Configuring legend for ArcGIS API for Silverlight?

I can't get the simple Legend sample working with this florida mapservice and the ESRI Silverlight SDK 2.1. The names appear, but the tree doesn't get populated. Anyone see why this code shouldn't ...
5
votes
1answer
450 views

QGIS - Changing Legend Size with Python

In QGIS, I use the python console to generate image files through the composer. In particular, I am creating a map with a legend. The legend is too big. It occupies about 1/8 of the image. I would ...
5
votes
1answer
715 views

Legend of a raster map with categorical data

I would like to plot a raster containing 4 different values (1) with a categorical text legend describing the categories such as 2 but with colour boxes. I've tried using legend such as : legend( ...
5
votes
2answers
706 views

How to create new legend using ArcObjects?

I am trying to add simple legend to the map. I wrote some simple test code below to see what happens but it did not work. var map = activeView.FocusMap; IGraphicsContainer ...
5
votes
1answer
515 views

How do you format the legend in Geoserver when using GetLegendGraphic?

I'm new to the world of GIS and geoserver so sorry if I'm asking an obvious or simple question. I'm using GetLegendGraphic to create a legend for a raster layer on the server, as it stands it looks ...
5
votes
1answer
1k views

Changing the attribute behind a legend without changing the symbology

I have a geology layer with a very large legend that was painstakingly created based on a geological code. I now have a new attribute which is a friendly description for each code and I would like ...
4
votes
4answers
2k views

Difference between Table of Contents (TOC) and Legend in ArcGIS Viewer for Flex?

I have been using the ArcGIS Viewer for Flex for quite a while. I couldn't help noticing there were still two widgets, one for Table of Contents (TOC) and the other for Legend. It looks to me TOC is ...
4
votes
1answer
109 views

Checking if layer is visible in legend using ArcPy?

I want to be able to check if a layer is visible in the legend and if so then perform another operation - in python. I am using ArcGIS 10.2 for Desktop. I cannot find anywhere how to check if a ...
4
votes
1answer
467 views

Italicizing scientific names in a legend

I am trying to Italicize a scientific name in my legend (ArcMap 10.2). I can not figure out how to Italicize one word only without having the rest of the description being italicized as well. Is it ...
4
votes
2answers
1k views

How do you make map styles NOT appear in a legend?

I am using GeoServer to serve up OSM data. I am making use of the GetLegendGraphic command, but I do not want some of my styles to appear in the legend (for example, the styles that are ONLY for text ...
4
votes
1answer
787 views

What's the QGIS Legend Format Syntax to label percentage values?

I asked a question about formatting legend text a while back and I'm happy to see the issue has been solved in QGIS 2.6: How to remove trailing zeros from QGIS Graduated Style Class labels? But I'm ...
4
votes
3answers
139 views

Alternative layperson-friendly names for 'Legend'?

I am making a mobile mapping app that has a button that displays a legend. Because my legend is initially hidden from view, it is really important the text I put in the button that displays the ...
4
votes
3answers
16k views

Renaming legend items in ArcGIS for Desktop?

Can someone please tell if it is possible to rename legend items in the map layout in ArcGIS for Desktop? If yes, how can I do it?
4
votes
1answer
935 views

How to remove layer names from the print composer legend?

I'm creating a map in QGIS Composer that is the result of two merged layers. The legend (screenshot below) is adding two rows with the titles of the layers. The edit property sheet does not give me an ...
4
votes
1answer
564 views

How to change text legend orientation from right to left reading with arcpy

I working on mxd with ArcMap 10.3 . The default's legend properties is- Layout - left to right reading (Marked with a red ellipse) : when it unmarked i get this legend: i want to know if there a ...
4
votes
1answer
366 views

How to save space in the legend and write the layer name besides the symbol?

I'm starting using QGIS to make a project for university and I am with a problem on configuring legends on Print Composer. The thing is I want the text of my legend to appear after the ...
4
votes
1answer
2k views

Forcing long layer names to multiple lines based on specified legend width in ArcGIS Desktop?

Do to various limitations I almost always create static (graphic) legends but I do have the occasional map where impeccable cartography is secondary to functionality hence a dynamic legend is ...
4
votes
2answers
77 views

QGIS Print composer Label Icon in Legend

In a legend of a map I want to label the icon with a number, just as it appears in the map. As example, I have different parcels and every parcel has a number. In the map, the parcels are labelled. In ...
4
votes
1answer
384 views

Can I create a legend of a map that I had get from a WMS?

Can I create a legend of a map that I had get from a WMS? Can I create a legend of a raster map with Qgis version 1.7.4, or only with the 1.8 version?
4
votes
1answer
207 views

ArcGIS 10.1 Legend Issue: Gap when using the “only show classes that are visible in the current map extent”

I have a problem with a gap that appears when the setting "only show classes that are visible in the current map extent" is in use and when there is a number of items in a row that does not display; ...