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
461 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
83 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
83 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
212 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
56 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
73 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
66 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
155 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
36 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
69 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
94 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
33 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
25 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
19 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
28 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
58 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
0answers
68 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
53 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
111 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
155 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
253 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
127 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
215 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
511 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
27 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
20 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
32 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
19 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
6 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
17 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
25 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
35 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
58 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
54 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
21 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
193 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
385 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
51 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
36 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
75 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
112 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 ...
0
votes
0answers
85 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.
0
votes
0answers
399 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 - ...
0
votes
0answers
141 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({ ...
0
votes
0answers
68 views

Why does QGIS 2.0 print composer not render the legend names?

I made a map using the print composer in QGIS 2.0. However, in the legend it does not display the name of all the items listed. I have updated the legend items, removed the items and added them again ...
0
votes
0answers
53 views

Why legendLayerActions is not available in QgsLegendInterface

There's a reason why QgsLegendInterface (the python interface to QgsLegend) doesn't expose: QList< LegendLayerAction > QgsLegend::legendLayerActions( QgsMapLayer::LayerType type ) const method? ...
0
votes
0answers
88 views

Flex API: is it possible to fit the legend into a fixed frame using print widget and custom templates

does anyone have experience with trying to fit the legend of the WebAPI into a fixed frame when exporting the map to a pdf? I am using a custom template to export my map and I just cannot get the ...
0
votes
0answers
180 views

MapInfo 11.5 - Zoom in Legends

Good afternoon ! With MapInfo v 11.5, we can use the zoom feature in a thematic map legend, so that it plays along with the map zoom (Release Notes: "The zoom feature uses a paper-based scale, so ...