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

learn more… | top users | synonyms

2
votes
3answers
56 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 ...
3
votes
1answer
932 views

legend groups and layer position/order qgis 1.8

I'm tring to programmatically create layer sequence also using groups. Simple python code: layer = QgsVectorLayer("004cp000.shp", "004cp000", "ogr") QgsMapLayerRegistry.instance().addMapLayer(layer) ...
1
vote
1answer
92 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
1answer
29 views

How to convert layout elements to graphics

I have many projects (mxd) and I´d like to convert ANY "live" elements like legends, scale bars, scale texts etc. into graphic automatically using arcpy. Is there a way? In questions and answers I ...
1
vote
1answer
94 views

Legends for WMS layer on Geoserver

Is there any way to get a representation of a WMS legend in a form that isn't an image? eg XML Using an image for the website in our system will mean the text is not sharp, it doesn't resize with the ...
0
votes
1answer
15 views

Removing/excluding items from legend in an ArcFM Silverlight viewer

I'm customizing an ArcFM Silverlight viewer (which is essentially an ArcGIS Silverlight viewer in a different package and with some additional tools). I managed to make a legend via the Legend Class ...
2
votes
1answer
29 views

QGIS Print Composer - Display Symbols for Empty Classes?

I am working on a map of mortality rates for several racial/ethnic groups and I have created custom classes to encompass the rates instead of the QGIS classes created through its various modes. This ...
4
votes
1answer
53 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 ...
1
vote
1answer
27 views

Where do I find the legend for netCDF files in QGIS?

I'm using QGIS to make maps of the maize, rice and wheat cultivated area at global level. I found these great netCDF files: http://www.geog.mcgill.ca/landuse/pub/Data/175crops2000/NetCDF/ Here's an ...
0
votes
2answers
237 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 ...
0
votes
1answer
37 views

Sort legend items up and down with arcpy

I work with arcmap 10.2.2 and I have 10 mxd's in one folder. I try to sort the legend items with a python code by moving the legend items up\down and i want that the layers in the TOC stay as is. I ...
5
votes
3answers
957 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 ...
0
votes
0answers
30 views

Moving legend items up and down with arcpy [duplicate]

How can I move a layer up/down in the legend using arcpy? I work with ArcMap 10.2.2
1
vote
0answers
10 views

How can one modify map service legend (specifically raster layer)?

I've got the raster layer in my map service, which in fact is created automatically by asynchronous GP service as its output result ("View results with a map service" option). The raster is symbolized ...
0
votes
0answers
33 views

Apply Symbology to Layer - interval values are incorrect

I am creating Data Driven Pages that will ideally create a new legend with graduated colors that are specific to each county. I have created a model builder tool that clips a continuous polygon field ...
0
votes
0answers
45 views

Arcgis Legends of dynamiclayer Android

i tried to get legends of DynamicLayer but i have error. Declaration Dynamic Layer : ArcGISDynamicMapServiceLayer binaKullanim = new ...
1
vote
1answer
161 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
275 views

how to disable duplicate items in the legend for ArcGIS JavaScript API

I have a problem with duplicate items in the legend panel! Can anyone help me? This is my feature Layer with popup info: // Feature Layer var msFeatureLayer = new ...
1
vote
1answer
40 views

Legend and coloring of markers with plotGoogleMaps in R

I have a data frame (X) that looks like this: code cluster name longt latit 101 1 A -89.6171 35.24992 105 1 B -90.0154 35.10510 106 2 C ...
0
votes
3answers
368 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 ...
6
votes
2answers
150 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 ...
2
votes
2answers
229 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
1answer
64 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 ...
6
votes
1answer
187 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 ...
0
votes
1answer
29 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
62 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
36 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 ...
0
votes
1answer
314 views

How to add Map Legend, Scale Bar and Select tool to an ArcGIS Server Service?

I have published a service from ArcMap to my Server Account but I can't figure out how to add the legend, scale bar and select tool to the service. According to the published service it was built ...
1
vote
0answers
31 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 ...
0
votes
1answer
79 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 ...
1
vote
1answer
27 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
34 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 ...
0
votes
0answers
27 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. ...
2
votes
0answers
45 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 ...
4
votes
4answers
498 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 ...
4
votes
1answer
354 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
2answers
1k views

How to set proportional value in legend?

I have a GIS table with traffic flows.The thickness is proportional to the traffic value and I'd like to have a little legend with 3 links proportional to setted value (eg: link1 proportional to 100 ...
2
votes
0answers
31 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.
2
votes
1answer
99 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!
2
votes
3answers
136 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 ...
1
vote
1answer
66 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", { ...
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
28 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
0answers
118 views

Segmentation Violation in ArcView 3.1 while performing UpdateLegend?

I am loading a ".avl" legend file into ArcView 3.1 and I am plagued with a recurring Segmentation Violation Error when I execute the updatelegend command in the theme. It looks like the legend file ...
4
votes
1answer
107 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 ...
0
votes
2answers
74 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
48 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
39 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
218 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. ...