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

learn more… | top users | synonyms

1
vote
2answers
24 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 ...
0
votes
0answers
3 views

GetLegendInfo SOAP call in ArCGIS Server 9.3 returns wrong SymbolImage ImageURL

The SOAP call GetLegendInfo returns the legend correctly except that all ImageURLs of the SymbolImages (color swatches) contain the hostname instead of the siteURL and therefore the image can not be ...
0
votes
0answers
4 views

ArcGIS 9.3. for Silverlight Missing color swatch inside legend

I have an ArcGIS 9.3. MapService and a Silverlight Application that consumes it. The application is deployed on two diffrent Systems. On system A everything is fine. On system B the map service is ...
0
votes
1answer
27 views

Transparent custom legend with mapbox/leaflet.js

I am building a map with mapbox.js. I have created a custom legend and want to make it partially transparent, but can't figure out the right CSS. Here is my legend html snippet: <div ...
1
vote
1answer
30 views

Current field of view specific legends in QGIS

Is it possible to make QGIS generate a legend that is based only on the field visible in composer? There was a ticket marked as resolved 5months ago with this question but it doesnt divulge the ...
0
votes
0answers
7 views

Dynamic Legend in Flex

I am using compiled version of ArcGIS Viewer for Flex (v 3.6) to create web map. I am using Dynamic Legend widget. I want to set the legend to only show classes that are visible in the current map ...
4
votes
1answer
47 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; ...
1
vote
1answer
52 views

How to use attribute data for legend labeling?

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

How to create a legend for quantitative visualization with increasing icon size?

I am trying to find a way to do a map and legend like this: I am using QGIS 2.6 Brighton. The only way was to do a pie chart but I think it's not possible to create classes. I can create circles ...
1
vote
2answers
44 views

Is there cartographic convention for displaying text label of highest and lowest values in legend?

The first I have found is to have the lowest value and highest value be displayed like the legend shown below (image source) The second is to have relative numbers at the top and bottom (image ...
0
votes
2answers
46 views

Proportional Symbols - Custom legend breaks

I mapping the number of Boko Haram victims in each state of Nigeria for several years. I chose to make a proportional symbol maps using the centroid of each state. For a given year, the area of the ...
3
votes
1answer
57 views

How to create non-overlapping intervals in the legend?

So I am trying to create a legend where the entries are, for example, like this: 1.1 - 2.0 2.1 - 3.0 3.1 - 4.0 as opposed to like this: 1.1 - 2.1 2.1 - 3.1 3.1 - 4.1 I essentially don't want ...
0
votes
1answer
20 views

Creating Pie Chart in Legend with Varying Representations of Percentage using ArcGIS for Desktop?

I want to create a pie chart within a legend in ArcGIS that reflects differences in percentage (ie: male vs female). An example of what I want to create is below. How do I create something like ...
2
votes
0answers
57 views

How to change the group icon in legend via Python in QGIS 2.6?

How to change the group icon in legend via Python in QGIS 2.6? At version 1.x I did it this way: self.legendTree = self.iface.mainWindow().findChild(QDockWidget,"Legend").findChild(QTreeWidget) ...
1
vote
0answers
22 views

Is there a limit of the number of legend labels passed to ArcGIS server print service?

Is there any limit on the ArcGIS print service for the number of legend labels? I am using ArcGIS server 10.2 and ArcGIS Javascript version 3.10 and am able to print with legend labels (item ...
1
vote
1answer
33 views

Continuous raster legend in QGIS map composer

Is it possible to make continuous raster legend in QGIS? Something like in ArcGIS???
1
vote
1answer
32 views

Globcover 2009v2.3 Legend Qgis

How can I add a legend to a raster to the Globcover land cover dataset in QGIS without plugins? The data can be found here http://due.esrin.esa.int/globcover/ Unfortunately, as far as I know, QGIS ...
0
votes
1answer
140 views

Create Legend with Openlayers 3 / geoserver

I am using OpenLayers 3 and Geoserver to create a map. I would like to create a legend for the map that I have created. I've been looking for a good example I could base my map legend off of, but was ...
0
votes
0answers
17 views

CartoDB: Multiple Layers Legend override

I'm using Cartodb.js to add my cartodb layers in a web page. Currently I've two layers and both have legends. I'm using Cartodb.createlayer() function to add layers. The problem I'm facing is that the ...
1
vote
2answers
36 views

Is it valid to adjust quantile buckets to “nice” numbers for better readability?

I'm making a map about terrorist attacks and fatalities in CartoDB. For data clustering I'm using quantiles. The calculated buckets are 16, 32, 50, 97, 700. Is it okay to adjust the quantiles to make ...
0
votes
2answers
42 views

Long description layer in legend of ArcGIS for Desktop? [duplicate]

I work with arcview 10.3 and i have layer with long description (green),hence the legend spread throw out the map: I have to use a singel symbol for the layer and not use the unique value as ...
1
vote
1answer
31 views

Is it possible to print one item legend item in italic in print composer?

Is it possible to have one item in italic font (species names) and the rest in "normal"? I use QGIS 2.6. The legend consists of two items which should be written normal (trap positions and ...
2
votes
0answers
48 views

Using QGIS legendInterface from standalone

In Python console from within QGIS, we use qgis.utils.iface.legendInterface().moveLayer( layer1, 1 ) to make modifications to the legend. What is the equivalent in a standalone python script ?In ...
2
votes
1answer
44 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 ...
0
votes
1answer
59 views

How to customize the ArcGIS print legend text using javascript

Is there a way to customize ArcGIS print service so that it will not print the layer id and the string that is given in ClassBreakRenderer in the legend. var layer = new FeatuerLayer(url, { id: ...
0
votes
0answers
25 views

Legend label failed to send to the print service using ArcGIS javascript

I am try to print my map with legend to PDF format; however, the legend label in the PDF is saying Override 1 instead of the label I specified in class breaks. There are other maps I can print ...
0
votes
1answer
59 views

Is there a way to customize the zoom button and legend in cartodb js?

I am following this tutorial, http://docs.cartodb.com/tutorials/toggle_map_view.html, and have been successful in developing an application with similar functionality, currently I am working on ...
3
votes
1answer
31 views

How to create a tabular legend in ArcMap 9.3?

I want to create a legend in ArcMap 9.3 like the image below for a polygon layer. How can I do that? The values in the first column (Molid, Brad, etc.) and in the second row of legend (1-40, 41-90, ...
2
votes
1answer
68 views

How to align QGIS legend items to the right?

Is there a way to align QGIS map composer legend items to the right, for right-to-left languages? There is only a title alignment option. Furthermore, I found this ticket from 4 years ago regarding ...
1
vote
0answers
15 views

Identify based on legend items visibility

I have built a WPF app that has a dynamic legend that is refreshed as a user toggles on/off a layers visibility. I would like the identify task to only identify layers that are visible in the legend ...
2
votes
3answers
144 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 ...
0
votes
1answer
51 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 ...
2
votes
1answer
42 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
94 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
39 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
1answer
50 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 ...
0
votes
1answer
42 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 ...
0
votes
0answers
33 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
25 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
48 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 ...
1
vote
1answer
126 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 ...
6
votes
2answers
184 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 ...
4
votes
1answer
134 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
100 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
114 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
61 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
54 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
48 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
39 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 ...
2
votes
0answers
72 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 ...