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

learn more… | top users | synonyms

0
votes
1answer
404 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 ...
2
votes
0answers
40 views

how to display the legend when the map contains external icons in R

I haven't found anything about the legend when the map contains icons external R (in png), is't possible to use the legend function or another function in R.
1
vote
1answer
70 views

How can we retrieve the values ​​of the intervals in the legend in R

I have an elevation model plotted in R Code: library(raster) data(volcano) r <- raster(volcano) plot(r, col = topo.colors(20)) Plot: how can we retrieve the values ​​of the intervals in the ...
1
vote
1answer
52 views

Inserting Timeline (similar to Legend) on map using ArcGIS for Desktop?

is there any way to insert a timeline in ArcGIS 10.1? I mean timeline more as a kind of legend showing at which time (or after how many minutes) point features occured (not animated or dynamic!). I ...
2
votes
1answer
199 views

How do I get the legend from a ArcGISDynamicMapServiceLayer using esri javascript api?

New Code: I updated the code a bit to more a recent recent version of the api, but ashima was correct in that I was not passing my layer as an array. Fixed that and it worked map = new Map("map", { ...
0
votes
2answers
118 views

Remove item from legend on a several mxd's

I used this code from this question here: Remove item from legend using ArcPy? However I keep getting an error at the following line: legend = ...
1
vote
0answers
84 views

Placing layer name beside their symbols in legend using representations of ArcGIS for Desktop?

I want to place the layer name of my feature class (styled with a representation) beside (right hand side) its symbol in the legend of my map in ArcMap 10.1. I know that the format can be changed ...
1
vote
1answer
59 views

2 Legends in Leaflet

In Leaflet I want to add a legend when I turn on an overlay, then when I turn off that overlay I want the legend to disappear and when I turn on a second overlay I want a second legend to appear. I ...
2
votes
3answers
2k 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 ...
0
votes
0answers
30 views

Restrict legend to map bounds in CartoDB.js

Does anyone know how to restrict legend content based on map bounds in CartoDB.js? I am building a large, complicated legend and I would like it to only display visible features to reduce complexity. ...
1
vote
0answers
57 views

Inverting color ramp in legend

I have inverted the color ramp to display land surface elevation, now when I add a legend in print composer it shows the lowest value at the top and the highest at the bottom. See below: It is more ...
3
votes
0answers
96 views

Lining up polygon legend patches in ArcGIS for Desktop?

I have tried the properties and everything, I cant understand why my polygons are not lining up correctly in the legend. I created this legend the usual way by adding my 3 layers to the legend wizard ...
1
vote
1answer
31 views

Legend hangs with large featurelayers at startup

My problem is that I created an app with a lot of services that the user can use. The problem is that when I implement the legend widget and the code goes over startup(), the app becomes stuck and it ...
3
votes
3answers
329 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 ...
2
votes
2answers
512 views

How to generate legend in leaflet webmap?

Although I have checked the "Create Legend" option in the qgis2leaf plugin, it did not generate any legend in the output webmap. What am I missing here ?
4
votes
1answer
362 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 ...
1
vote
2answers
175 views

How to style graduated using size-scale field

Is it possible to style based on size-scale field using graduated symbol but instead of using color ramp, I would like to display its size. I would also like to display this in the legend in the map ...
1
vote
3answers
132 views

Making multiple legend boxes all same size using ArcGIS for Desktop?

How do I make all the rectangle or (legend box) all the same ? Look at the circles I marked in the pictures. It should be very simple thing to do. Anyone out there have a good workaround ?
1
vote
0answers
48 views

Legend won't print in color [closed]

I am using ArcMap 10.1 and my legend will not print in color. Please help. I have a layer with points and symbols that show up in color on the map but not in the legend, what should I do?
1
vote
3answers
104 views

Scaling Items in the Legend [duplicate]

I am using ArcGIS 10.1. I inserted a legend however the items in the legend are too large because of the size i set them in the data view. How do i scale the items in the legend so they will be the ...
2
votes
2answers
174 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 = ...
2
votes
1answer
1k views

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

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?
6
votes
5answers
3k 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 ...
0
votes
1answer
132 views

Remove Duplicate items in legend

I working on several layers that share similar symbology in the arcview. I'm trying to remove duplicate Symbology from the legend. Manually I can do it by click "properties -> symbology" and then ...
2
votes
3answers
363 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 ...
2
votes
1answer
110 views

Low quality legend symbols in QGIS

The legend symbols in my QGIS map composition render very pixelated, like this: However, they render fine for actual point data. They appear this way within map composer, when printing, and when ...
9
votes
3answers
398 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 ...
1
vote
1answer
533 views

CartoDB - How would I customize my legend to not be white and have blocks instead of bullets?

First off, CartoDB is amazing. I am trying to modify the look of my legend to look something like the one as seen on the "Elephant Movement in a Human Landscape" example on the CartoDB website. ...
4
votes
1answer
274 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 ...
1
vote
1answer
253 views

Add legend from raster catalog? ArcGis 10.1

Does anyone have a solution on how to add the legend from a raster catalog? It does not show up, either in version 10.1 or 10.2.1. It only shows the name "Legend".
1
vote
1answer
613 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
1answer
173 views

order layer in QGIS with pyqgis

I´m new in pyqgis. I´m looking for a code to move one layer in TOC to a specific position. Is it possible? Thanks a lot!
4
votes
1answer
213 views

Avoiding Legends too large to display in ArcGIS message from ArcGIS for Server WMS service?

I have created a WMS on ArcGIS for Server 10.2 with a polygon layer which contains a unique value renderer with 4 categories. The resulting legend item can be called via service call, which responds ...
2
votes
1answer
523 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 ...
0
votes
1answer
592 views

How to EASILY add a map legend to a map in Geoserver?

I'm new to Geoserver and Neatline and somewhat to HTML coding! But, I am clueless as how to 'EASILY & Cheaply " include a simple legend on a map using a WMS statement. I have been able to use ...
0
votes
1answer
98 views

Creating legends on fly in Mapserver

I've got a spatial table in Oracle and a WMS-T in Mapserver, defined in a layer that query that table. The table has several columns and I pass the column to select as a parameter in OpenLayers, so ...
1
vote
2answers
310 views

Create a common scale for different raster layers in GRASS, SAGA or QGIS

I have a number of layers that represent the temperature variability of the water in a lake. They have been generated trough interpolation and have different values as they represent temperatures ...
3
votes
1answer
1k 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 ...
2
votes
3answers
695 views

R - color SpatialLines by attribute

I have a SpatialLinesDataFrame dataset of rivers in R. The dataset consists of lines (river segments) with a "Turbidity" attribute. I want to create a map and legend, where: Turbidity between 0 and ...
1
vote
1answer
32 views

How do I symbol numbers into groups?

I am working on creating soils map and need to group symbolize into greater numbers and within between numbers.. Here is an example of what I am talking about ...
7
votes
4answers
1k 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 ...
3
votes
1answer
45 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 ...
-1
votes
1answer
850 views

How to have custom symbols show up in Symbol Selector of ArcGIS for Desktop?

How do you get Petroleum symbols into the Map legend box (not the content table) instead of the standard "circle or square"? I am looking to use the Unkown (black symbol) and Active / Producing ...
0
votes
2answers
449 views

Getting BaseMapToggle error from ArcGIS API for JavaScript?

I'm having a problem with my Web Application. I try to fit in a legend and a BasemapToggle but it doesn't seem to work. My Code looks like this: <!DOCTYPE html> <html> <head> ...
2
votes
2answers
515 views

Displaying representation symbology description in legend of ArcGIS for Desktop?

When a layer with Representations is turned on, how do you change the 'Description' in the Legend. The setting is normally under the symbology tab and it is not visible when Represenations are turned ...
3
votes
3answers
3k views

How to remove <VALUE> text from legend in layout view?

I'm producing a map in the layout view which I will eventually export as a jpeg. I've added a legend which includes 15 classes but when I insert a legend in layout view its including the word VALUE at ...
0
votes
2answers
534 views

evt.layers undefined while trying to display Legend widget in Javascript API

I cannot get an ArcGIS Javascript API Legend widget to show up. An excerpt of my code is as follows. I believe I'm failing somewhere near the console.log that I call...undefined comes up in the ...
1
vote
3answers
804 views

Show “layer name” as text in arcgis layout view (map)

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 ...
5
votes
1answer
1k 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 ...
1
vote
0answers
127 views

GeoExplorer - Show layer by default in published map

I am able to publish a map using GeoExplorer and can add the icon on the published map to show the legend. However, I'd like the legend to appear on the published map by default. Is there a way to do ...