Tagged Questions

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

learn more… | top users | synonyms

2
votes
1answer
44 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 ...
0
votes
1answer
14 views

Spplot labels in R how to change

Can anyone tell me how to change the labels in a legend created by spplot in R? It is a typical vertical ribbon legend automatically generated by spplot. Based on color, it is labelled 1-7 but I ...
2
votes
0answers
36 views

Data Driven Pages - Dynamic Legend Classifications - Change with data frame extent

I am creating choropleth maps for quantified data. Each DDP will focus on a new county, which is shown by using a clip of the data frame (by the county boundary). I want to define quantified legend ...
0
votes
1answer
29 views

Is it possible to add values+symbols to an imported symbology in ArcMap?

I am trying to use an imported symbology from a layer file in ArcMap 10.2. However, the shapefile that I want to make a symbology for has two or three more values than are present in the imported ...
1
vote
0answers
24 views

Legend not removed when layer changed

I made this webpage with JavaScript and CartoDB. The layer selector works like I expected it to but I noticed that the legend are stacking on top of each other and not being removed when the layer is ...
1
vote
1answer
20 views

converting into .kmz with legend

How to display the legend in kmz or kml file. I am trying to do so in conversion tool of Arc GIS but while exporting it to Google earth it is not showing the legend.
2
votes
1answer
29 views

How to make Dynamic Legend in Map Book show “No information present at the time” using ArcPy?

I'm working on making everything automated in map book. One of the problems I have encountered was working with the dynamic legend. The issue is that when I toggle one page after another, some of ...
1
vote
0answers
29 views

How can I programmatically remove a layer from the QGIS composer legend without removing it from the map canvas?

I am working on a QGIS Python plugin which includes automated map production. I use a series of map templates, each of which has a main map, an overview map (with a layer set different to the main ...
0
votes
0answers
17 views

How to set a background colour in a Legend Designer Window in Mapinfo

I am creating a map with a darkish background (using satellite images) and light coloured thematics. It looks fine except for the legend which doesn't display very well with just a white background. ...
0
votes
1answer
42 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
27 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
53 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
24 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 ...
1
vote
1answer
50 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
69 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
45 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
37 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
153 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
10 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
31 views

Image URL to replace default in CartoDB.js legend

Is it possible to add an image URL to a CartoDB legend template instead of the default value (a circle with your choice of color)? Here is the template I am working with. var legend1 = new ...
1
vote
0answers
44 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
57 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
27 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
2answers
77 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
103 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 ?
3
votes
0answers
88 views

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

I working on mxd with ArcMap 10.2.2 . The default in legend properties-Layout is left to right reading (Marked with a red ellipse) : when it unmarked i get this legend: i want to know if there a ...
0
votes
2answers
78 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
65 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
38 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
41 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
85 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 = ...
1
vote
1answer
225 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?
0
votes
0answers
184 views

Google Maps legend ? Where do I find it for more information about them?

Can anyone point me where can I found information about Google Maps and their legend ? Since Google maps does not provide their legend, they display their colors like by showing the tan colors as ...
0
votes
0answers
162 views

How to create dynamic legend for multiply layers with leaflet.js?

I want to create multiple choropleth maps which displays different statistical data with leaflet.js. So it would be nice to show different legends for each map. I create such legends for two layers ...
4
votes
4answers
336 views

Manually classifying graduated data outside of range in ArcGIS

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
0answers
31 views

Mapserver: Change legend font color from CGI Request

As the post title says I´m needing to alter the legend color in mapserver in a cgi bin request. Actually I have a website created in OpenLayers and Mapserver and I use legends with white font color ...
0
votes
0answers
29 views

ArcGIS javascript. Trying to use a dojo table of contents in CakePHP

Sorry for asking so many questions, but I am trying to learn arcgis, dojo, and cake all at the same time :/ Basically what I want to do is get this to work in the latest CakePHP. Where do I place the ...
0
votes
0answers
48 views

Graphic legend GeoEXT

UPDATE: The problem is that I got .x-hide-display for Legend graphic. SO I have the picture which is not displayed.. Can somebody help me with the graphic legend request. I have the following code, ...
0
votes
1answer
64 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 ...
0
votes
0answers
20 views

Low quality legend in QGIS [duplicate]

I am sorry to repeat a question already asked by someone else, but it has not been answered yet. When I create a map in QGIS the legend symbols for some reasons have a very bad resolution and are not ...
2
votes
3answers
116 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
76 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
196 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 ...
0
votes
0answers
62 views

Is there any way to get qgis to show a key/legend for categorized colorization (heatmap) scales?

I have a shapefile of all of the counties for a state that is being displayed in qgis as a heatmap, colorized on a 12-point scale from red to green. The data producing the colorization is income or ...
1
vote
1answer
140 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. ...
3
votes
1answer
93 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 ...
0
votes
0answers
52 views

Graduated symbols not appearing in legend in QGIS print composer

When I add a legend in QGIS version 2.2 print composer, the symbols of a layer containing graduated symbols does not appear. Does anyone know how to make the symbols visible? Thanks.
1
vote
1answer
80 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".
0
votes
0answers
341 views

Add Legend with GeoExt in OpenLayers

I need help with legend display for a WMS layer. So far I did this: - insert a Google Map Hybrid layer - insert a layer called "Vladaia" for creating the page - insert CQL filter for WMS layer - ...
1
vote
1answer
225 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 ...