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

learn more… | top users | synonyms

1
vote
1answer
32 views

Legend information in shapefile

I am a novice to the field of GIS so please forgive my ignorance. I am required to plot a shapefile (.shp) on a basemap which is an openlayers map. The shapefile is published in GeoServer as a wms ...
1
vote
2answers
30 views

Adjust labels in CartoDB choropleth legend

CartoDB allows the user to change the legend values for the left label and the right label. However, I would like to add values to the three middle color values. Is there a way to do use within the ...
0
votes
1answer
20 views

Counting number of features in legend for each page when using Data Driven Pages?

Is there a way to count number of features for each data driven and reflect it in the legend?
2
votes
1answer
44 views

How to get a legend label on multiple lines in QGIS

This question was posted in 2011, and someone has said that QGIS now allows multiple lines for legend entries, but no one mentioned how to do this. I am running wein 2.8.1 and I cannot figure out how ...
3
votes
0answers
16 views

QGIS Print composer Label Icon in Legend

In a legend of a map I want to label the icon with a number, just as it appears in the map. As example, I have different parcels and every parcel has a number. In the map, the parcels are labelled. In ...
1
vote
0answers
28 views

dynamic legend for tiles in Leaflet

Good day dear professionals! I have a little problem. I started to learn javascript and leaflet not so much time ago, and now I can work with layers, but creating controls that I need is to hard for ...
0
votes
0answers
19 views

OpenLayers 2: WMS layer attribution legend doesn't change between WMS layers, it just piles up

I'm using this to put legends in WMS layers. It works nicely when similar layers have the same legend (eg. layer A1 with legend AAA and layer A2 with legend AAA). The problem is when WMS layers have ...
0
votes
0answers
18 views

QGIS 2.8.3 + QGIS Server Legends line break

I have very long text for some of my legends so I'd like to add some line breaks. I've tried to add '\n', '\n\r', '\r', <br> strings with no success. I know there is an option in the composer ...
2
votes
2answers
43 views

QGIS legend without print composer

I'm trying to export a series of images using the TimeManager plugin. I'd like to have a legend on each, to demonstrate why my datapoints are sized the way that they are (i.e. this circle size ...
0
votes
0answers
30 views

raster layer color legend with range of values

Is there a way to make clearer legends in qgis? At the very least indicating the range of values and whether the color includes the upper/lower limit of the range. if I make a discrete color ramp for ...
0
votes
0answers
19 views

Display MapServer Legend in GeoExt using OpenLayers

I have been trying to get my MapServer legend displayed in a GeoExt app using OpenLayers. I am quite new in MapServer and web mapping. Only a vector legend, and my OpenStreetMap legend is displayed. ...
0
votes
0answers
12 views

How do I get the default NLCD symbology back after clipping/projecting?

NLCD landcover rasters downloaded from MRLC have default legends and symbology as shown here: http://www.mrlc.gov/nlcd11_leg.php However, when I extract the raster through a mask, or reproject the ...
2
votes
1answer
56 views

Showing positive and negative values in legend of ArcMap?

I want to draw this Legend by ArcGIS 10.2. This legend starts with a big blue circle and decreases in size till 0, then in 6 its bigger and red. I know its related to symbology and multiple attributes ...
0
votes
0answers
17 views

How to get a map service with multiple legends loaded? [duplicate]

This is based on browser crashes when loading legends at startup which is currently unanswered. I'm trying to get legends loaded from a feature service that contains multiple legends within the same ...
1
vote
1answer
47 views

Print composer - legend - graduated

I have a map with graduated symbology, with 328 unique values. I would like add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values. I ...
1
vote
2answers
47 views

ArcMap legend column formatting

I'm trying to spread my ArcMap legend across 3 columns. Ideally column #2 and #3 should have their symbology header / layer name above them (see picture). ArcMap however is of the opinion that ...
0
votes
1answer
41 views

GlobCover 2009 dataset - importing legend and colormap values into R

Does anyone know how to import a legend for a raster layer (loaded as a .tif) into R such that it can be attached to the raster file itself and used in plotting? In this case, I am using the GLC2009 ...
1
vote
0answers
28 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 ...
0
votes
0answers
28 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
1answer
46 views

Second Page for Legend in ArcGIS for Desktop?

I'm looking for a way to have a second page in the layout view in ArcGIS 10.3. The map I'm making fills the whole page and I'd like to make the legend go onto a second page. Other solutions are ...
0
votes
1answer
37 views

Filter (no display) layers in GeoExt.LegendPanel with names LIKE some pattern

This works to avoid Basemap layers such as Google Maps and overlays such as WMS to appear in the GeoExt Legend Panel: var legendPanel = new GeoExt.LegendPanel({ border: false, filter: ...
1
vote
0answers
15 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
26 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
2answers
126 views

CartoDB choropleth + bubble visualization with two independent value ranges in legend

I have been trying to display two values simultaneously i.e. one absolute value displayed by bubble size (as with layer wizard: bubble) and one relative value displayed by color (as with layer wizard: ...
1
vote
0answers
65 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 ...
2
votes
1answer
57 views

How to create legends with triangular end boxes in arcGIS?

I simply want my legend which is now in the form of the left bar in the following image, to be shown in the form of the bar in the right side. I couldn't find anything related for arcGIS. those anyone ...
1
vote
2answers
68 views

Headings in legends

Is there a way, in the legend, to get the headings to stretch across multiple columns? For instance I have a layer with multiple attributes that are being displayed (in the example... fire hazard ...
2
votes
2answers
93 views

How to display multiple attributes in a QGIS Composer legend?

I have a polygon layer which has a number attribute and a text attribute. When I make a legend in the composer, it automatically chooses the number to display while I would like to have both the ...
0
votes
0answers
23 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
50 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 ...
2
votes
1answer
105 views

What's the QGIS Legend Format Syntax to have thousands separated by commas?

I have numbers in the millions and would like to know what string to enter in the Legend Format box to have thousands separated by commas ex: 2,000,000
0
votes
1answer
85 views

How to add arrow symbol in legend of CartoDB?

I have been trying for some time now to get an arrow to appear in my legend in a CartoDB visualization - it is one of the simple visualization marker options along with the standard "ellipse", so I ...
2
votes
1answer
98 views

Can QGIS place diagrams in map legend?

I have this map and I want to put these red circles in the legend of the map according to this form: Is there a way to do that in QGIS? Thanks
0
votes
0answers
35 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 ...
1
vote
1answer
89 views

How do I read and modify heat map value classification on QGIS?

I am trying to create a heat map on human encroachment using the heatmap plugin of QGIS 2.2. I have no problems creating a good looking raster file using a 2 km radius but I can't find my way around ...
0
votes
0answers
75 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, ...
2
votes
2answers
79 views

What exactly to write inside legend_exp column so that color Legend is seen in Qgis2Leaf?

I am new to qgis2leaf. I am getting the through qgis2leaf plugin. But as one can see i am not getting a color legend. I need to get the colors of bldg_use so that the map becomes readable. I needed ...
1
vote
1answer
73 views

How to remove a layer and its legend in a standalone pyqgis application?

In continuity in my question "How to add a legend to a canvas in a standalone PyQGIS application?" > In every addition of a new layer in my standalone application, the legend lengthens and becomes ...
1
vote
0answers
73 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
1answer
69 views

Horizontal Legend Leaflet.js

I'm trying to make my legend horizontal em leaftlet by I'm not sure what I have to change. My base legend is based on this tutorial. Ultimately what I would like to have is something like this. Any ...
5
votes
2answers
258 views

How to add a legend to a canvas in a standalone PyQGIS application?

I am trying to develop a standalone PyQGIS application. The map display does not pose any problems, but I do not know how to add a legend to the canvas.
2
votes
2answers
100 views

A raster map without a legend?

I simply download a map from here http://neo.sci.gsfc.nasa.gov/view.php?datasetId=MCD12C1_T1. this map is a tiff file. mapd <- raster("C:\\MCD12C1_T1_2011-01-01_rgb_1440x720.TIFF") plot(mapd) ...
0
votes
0answers
58 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
155 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 ...
1
vote
1answer
109 views

legend colour with specific value

i have model plotted in R base<- raster("example.tif") plot(base) image i'd like to change value (0,5,10,15,20,25) breakpoints<-c("0,5,10,15,20,25") plot(base,break=breakpoints) Error in ...
0
votes
1answer
202 views

Showing multiple attributes in legend of ArcMap?

I have two questions regarding creating the legend in ArcMap 10.2.2: In the attribute table of my shapefile I change the number of decimals from 6 to 2; I can see the changes in the attribute table ...
3
votes
3answers
425 views

Openlayers 3 get legend not working

So I am trying to display the appropriate legend for my first map. This is my javascript for my first_map. function firstmap() { var first_map = new ol.Map({ target:'FirstMap', ...
2
votes
1answer
148 views

Go through items in a composer legend (QGIS 2.6)

I'm trying to develop a plugin in QGIS 2.6, which opens a composer, add a map and a legend, and (among other things) adjusts the legend. Is there a way to go through items in a composer legend with ...
1
vote
1answer
105 views

Legend ArcGIS Javascript does not recognize Legend from ArcGIS for server 10.2.2

I have created maps in ArcGIS for desktop and published them to ArcGIS for server 10.2.2. Because of performance issues I have created a group layer of the same map with different levels of details. ...
2
votes
2answers
259 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 ...