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

learn more… | top users | synonyms

4
votes
0answers
576 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 ...
3
votes
0answers
106 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 ...
3
votes
0answers
91 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 ...
3
votes
0answers
224 views

How to do bivariate or multicriteria line symbolization in QGIS?

Bonjour, je cherche à faire sur Qgis un tracé d'un itinéraire avec comme légende une couleur pour le type de route et la largeur du trait pour la fréquentation de cette route. J'ai vu qu'il était ...
2
votes
0answers
66 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 ...
2
votes
0answers
86 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) ...
2
votes
0answers
99 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
0answers
204 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 ...
2
votes
0answers
66 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 ...
2
votes
0answers
38 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
0answers
70 views

Moving legend items up and down in QGIS

How can I change sort order in layer properties styles tab? The only way I've found is to change their labels and order by it.
2
votes
0answers
96 views

Map Package is not showing points on map

I am fairly new to GIS, but I am working on an interactive legend and I need to just be able to add a map package to the xaml and it place the points on the map. The legend seems to be working. All of ...
1
vote
0answers
19 views

How to add legend to Mosaic Dataset (ArcGIS Image Service Layer)

I have snow cover data of MODIS (46 images for an year) I put them in a mosaic dataset (with in a file geodatabase) and published them as an Image Service from ArcCatalog and added a time slider. I ...
1
vote
0answers
13 views

Default item on legend for QGIS

when I make a legend in QGIS, everything shows up how it should except for one item. The item is just a pale brown color that says "default". I can't find this item in any of my layers and have no ...
1
vote
0answers
22 views

Remove Legend from CartoDB Layer

I am trying to remove the legend associated with the current CartoDB generated map and replace it with a legend from a map generated when the user selects a radio button. My code is as follows: ...
1
vote
0answers
52 views

How to change symbol size in QGIS map composer legend?

I need to set an identical size to several symbols inside a QGIS map composer legend. The 'Symbol' menu in the Legend properties allows to set a height and width but this has no effect on the size of ...
1
vote
0answers
9 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 ...
1
vote
0answers
35 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
0answers
26 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 ...
1
vote
0answers
35 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 ...
1
vote
0answers
80 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
0answers
55 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 ...
1
vote
0answers
123 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 ...
1
vote
0answers
165 views

How to add Legend Panel to Dojo / Openlayers?

I have openlayers app on dojo framework. I've been serving WMS layers with geoserver and wanted to use GetLegendGraphic to build legend for all layers. I've seen there are some ready widgets (like ...
1
vote
0answers
266 views

GetLegendGraphic with WMS layers in QGIS Server

I've created a project in QGIS where I've loaded some WMS layers. Now when I look at legends in QGIS Web Client, it just displays the label but not the associated color. Is it possible to have the ...
1
vote
0answers
57 views

How to extract numbers from each vectors?

I'm trying to create custom legend for a layer where OpenLayers.Rule objects are created dynamically and added to a layer. new OpenLayers.Rule({ symbolizer: { ...
1
vote
0answers
132 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 ...
1
vote
0answers
222 views

How to bring Legends of basemaps from ArcGIS online on map layout

I have used some base maps from ArcGIS online as background. We use a GP tool to print maps from this MXD online. So, how can I include the Legends of these base maps on my printed map? I did not see ...
1
vote
0answers
529 views

Create a color scale/legend for choropleth map using geotools (or other open source Java library)?

I'm experimenting with choropleth maps using geotools. Is there an easy way to add a color scale to the map (using geotools itself or some other os library)? By a color scale I mean a bar that shows ...
0
votes
0answers
20 views

the text box to wrap using a rectangle format

I'm looking for a way I could format the text box to wrap using a rectangle format. Could I call it in the getFormattedstring? // Format the legend text if it is not a heading. If it is, we're ...
0
votes
0answers
43 views

Toggling layers with legends in CartoDB.js?

I created a map on the CartoDB website with multiple layers, each with its own legend. I now wish to use CartoDB.js to be able to toggle between the layers, so the legend will toggle on with the ...
0
votes
0answers
20 views

With ArcGIS Server's REST API, can I request a non-default symbol size when requesting a legend JSON?

I am using the ArcGIS Server REST API to retrieve legend information for one of our map services. I am requesting that information as a JSON object, so my HTTP request URL looks like this: ...
0
votes
0answers
36 views

Removing commas from ArcGIS Online legend?

Right now I am working on a map using zip codes and have gotten the thousands comma out of the attribute table, but that is not changing the way it is showing up in the legend. Does anyone out there ...
0
votes
0answers
31 views

Default Legend Items

Is there an option to default a layer to be turned off in the legend items when making a new legend? I end up making random maps throughout the week and it would be nice to have my SID layers default ...
0
votes
0answers
52 views

qgis 2.8 - composer: lock layer styles into the legend?

Using qgis 2.8 there is now the opportunity to lock layer styles for map items. Is there a way to lock the same layer style into the legend that correspondent with the same map item? I tried both, ...
0
votes
0answers
40 views

browser crashes when loading legends at startup

After much perusing for solutions, I've decided to post my problem as a question. I'm trying to load the legends that are built into the ArcGIS Service Layers I'm using. I'm loading about 7 Dynamic ...
0
votes
0answers
95 views

Legend for MCD12Q1 modis land cover data

I have Modis yearly 500m landcover data (MCD12Q1) i native .hdf format . I projected , mosaicked and converted them into .tif format whose values are from 0 to 16 . I set nodata value as 17 . I just ...
0
votes
0answers
12 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
32 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 ...
0
votes
0answers
41 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 ...
0
votes
0answers
54 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
0answers
62 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
68 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
0answers
23 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. ...
0
votes
0answers
205 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
469 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 ...
0
votes
0answers
62 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
37 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
84 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
0answers
154 views

esri.dijit.Legend.startup not working in IE10

In Internet Explorer (IE) 10, legend.startup in the below code is not working. It just gets struck. The same is working in IE8. function generateLegend(results) { legend = new esri.dijit.Legend({ ...