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

learn more… | top users | synonyms

3
votes
0answers
45 views

Approach to controlling which layers display in a QgsComposerLegend

I've tried 2 approaches to control what shows up in print legends. Neither of them work which is troubling because other than pruning the layerRootTree in advance of composer.addItem(legend), there ...
3
votes
2answers
81 views

How to create multiple lines under same label in legend at ArcGIS 10.3?

I have a shapefile consisting of a number of fields with values of an index score. I classified its symbology categorized and classified the values into 3 classes. The classes are like below- I want ...
0
votes
0answers
1 view

JavaScript API ArcGIS Combine Legend with On_Demand feature class query

I am having trouble adding a legend to my JavaScript code I have a basemap, scale bar, and a click on demand query info box for my feature class which displays the attribute fields but when I add the ...
3
votes
2answers
23 views

Is it possible to add subscripts or superscripts into a legend?

I have a population density map where I'm showing the amount of people per square kilometer. In order to make it more visually appealing I want to show something like: [any symbol here] - 2.00 - ...
3
votes
1answer
23 views

Displaying quantitative data in choropleth legend?

I have always struggled to come up with a great solution to handle choropleth or any other quantitative interval or dataset classifications in a map legend where the numbers are sequential. For ...
-1
votes
1answer
22 views

ArcPy Customize Legend Error - NameError “Not Defined”

I'm trying to use ArcPy to apply a custom .style template in a map legend. First, the code uses a for loop to search the layers in the map and, if the name of the layer is called "Temperature", ...
1
vote
1answer
36 views

How to change position of CartoDB legend in Editor?

I have a map here that I'm building in Editor with some custom CSS. I'm having trouble positioning my legend in the place I want it on the screen. I referred to this post, and tried following the ...
7
votes
1answer
66 views

How to decrease the distance between legend's items in R?

I'm trying to create correct choropleth() map in R using GISTools package. I use choro.legend() to display my legend. However I can't create either correct legend placement, AND/OR I don't understand ...
0
votes
0answers
19 views

R: why are missing choro.legend() items when displayed in zoom()? RStudio

I wish to create map of Oregon, using choropleth(). Using locator() trick I've revealed coordinates for my choro.legend() position. It seems correctly placed in my plotting window, however my legend ...
4
votes
2answers
45 views

How to resize the Legend Item Wndow in Map Composer?

I am just wondering if there is any simple way (no messing with codes) to adjust this Legend Item Window in Map Composer. I am using QGIS 2.14 in windows 8. A much larger (taller) window would really ...
0
votes
0answers
12 views

Modify CartoDB bubble legend

I'm using a bubble map in CartoDB and have chosen four bins with custom breaks. The map part is working fine – I eliminated the other six bins that the wizard put there. But how can I get the legend ...
1
vote
2answers
33 views

Unique Layouts within Data Driven Pages (ArcGIS 10.2)

I am fairly new to working with data driven pages and have run into a problem that I can't solve on my own. I have a set of maps organized with data driven pages from a grid shapefile that I generated ...
10
votes
2answers
214 views

Displaying attributes upon their polygons within ArcMap legend?

Within my ArcMap project (10.2.2) I've got a polygon feature class showing soil types. They are styled using a representation and additionally show the number of the soil type from my attribute table. ...
0
votes
0answers
30 views

Feature symbols in the legend don't match those on my map?

I have edited the features on my map using the draw effects tool (colourize, glow etc). However, in Print Composer, the legend shows these feature symbols in their original form. How can I get them to ...
0
votes
0answers
11 views

Guideline on how to reference units and intervals in the legend

I often use some kind of elevation data in my maps in form of grids and contours. I never really put much attention to how to properly specify units and intervals in the legend but now polishing my ...
1
vote
0answers
34 views

How do I edit stretched raster legend labels using arcpy?

I'm trying to edit a stretched raster legend item to only show values instead of the "High : " and "Low : " that are standard. I've created a layer template that doesn't include the high/low in the ...
1
vote
0answers
32 views

Programmatically adding folders & layers to QgsComposerLegend

I've been building up QgsLayerTree object with a directory structure that reflects the desired legend. Specifically I'd like the Group(s) to be titles and their contained layers to legend items. ...
0
votes
2answers
21 views

Esri JSAPI Legend Not Appearing

I am stumped on an Web App that I have been working on. I am using Esri JSAPI and can not figure out where I have gone wrong with the Legend. The app runs, but no legend appears anywhere. I have ...
1
vote
0answers
13 views

Display Legends on esri map using javascript [duplicate]

I have different module like distance calculator,radius search and more. Each pages I need to show Legends div so that user can identify places by images on map(or identify the layers).
1
vote
2answers
53 views

How to ireate over text of legends on QGIS and change that with fields from a Shape

I'm using 2.8.3 version of QGIS, I need change the text of legend, this is because I want to concatenate two or more fields from a Shapefile to compose this text. Can I iterate over text of legends ...
1
vote
1answer
37 views

How to add legend heading to a map layer in QGIS/ geoserver?

I am trying to publish some layers in QGIS (version 2.14.0 Essen) to create WMS in geoserver. In ArcMap I can define legend heading . I have not encounter any option in QGIS. Since I am learning ...
1
vote
1answer
42 views

How to publish SVG point style to Geoserver from QGIS?

I used train svg for a point layer (C:\OSGeo4W64\apps\qgis\svg\transport\transport_train_station2.svg) and have used the GeoServer Explorer Plugin to publish the layer on geoserver. But I run into ...
0
votes
1answer
25 views

Custom labels when matching to symbols in a style? (ArcGIS 10.3)

In ArcGIS 10.3 is there a way to automatically label symbols based on a field in my feature class table? I matched species observations with marker symbols in a style using species abbreviations. ...
1
vote
1answer
43 views

How to call Legend end points of multiple layers published from Geoserver?

I have map services published from ArcGIS server being called from Angular- Leaflet app and we are displaying the legend (controlled through map controls) from ...
1
vote
0answers
18 views

How can I change layer names in my legend when using layers with representations? Arcgis 10.3.1

When using a Feature Class layer with symbology converted to a representation there is no option in the symbology tab of the layer's properties to enter legend text. I can't see any options in legend ...
1
vote
1answer
43 views

Dynamic Legends in ArcGIS Pro?

I just tried to use Dynamic Legends in ArcGIS Pro 1.2 and have not been able to find them in either the application or its documentation. I expected to find them as something like an Only show ...
1
vote
2answers
61 views

ESRI ArcMap Legend Formatting

Is there a way in ArcMap Legend Properties to make the legend above look like the picture below?
2
votes
1answer
51 views

programmatically populating the QGIS Legend

So I have a function in a utility class that creates my Legend for the composer. It looks something like this: def addLegend(self, c, r, L, tree_root): L.model().setLayerSetAndGroups(tree_root) ...
4
votes
0answers
25 views

Qgis Python - Legends in Horizontal

I have successfully added legends in Map using Qgis QgsComposerLegend () python programming .(using Qgis python console) but legends are added vertically.I wanted to place legend horizontally. If you ...
0
votes
1answer
49 views

Adding shapes and/or icons to legend using Leaflet within R?

Is it possible, using Leaflet within R, to make a legend in such way that includes a set of icons or shapes and their corresponding value?
1
vote
0answers
25 views

ESRI Javasacript API Legend digit: Modify Layer Names

I am using the ESRI Javascript API Legend Digit in a map application and I would like to alter the display names as they appear in the legend. I'm accessing map services with cryptic names like ...
0
votes
0answers
32 views

QGIS Server: how to get WMS GetLegendGraphic in HTML?

On MapServer you can get HTML content based legend graphic with WMS GetLegendGraphic. On QGIS we can have only PNGs. It would be nice to have the same behaviour on QGIS Server, with an HTML Template ...
1
vote
1answer
28 views

Change anchor point using ArcPy

Is it possible to changed the legend element anchor point using arcpy? This is the default anchor point: and i want this anchor point loaction: I know how to changed the legend element position ...
2
votes
1answer
58 views

How to sort layers within groups with Python?

After running a longer script (Qgis Console), all I want to do is sort the layers within my groups; since some of them are buffers and the 'biggest' buffer is now on top. I've tried stuff based on: ...
0
votes
0answers
33 views

Map to KML tool issue: legend is cut off in Google Earth

I am facing this issue with MAP to KML tool in ArcGIS Desktop (10.2.2): I have created the legend in Map Layout as indicated here then exported to KML. But the legend is partially cut off in Google ...
1
vote
0answers
25 views

Showing only legend items that are actually displayed within current map extent using ArcGIS API for JavaScript?

I'm using TOC/Legend widget as a default legend panel in my ArcGIS based JavaScript API web app. It works great, beside now i want to filter this legend panel based on users current map extent. The ...
3
votes
0answers
64 views

LegendGraphic gray color from external SLD file

I'm trying to add legendgraphic from a WMS layer with an external SLD file wich is generated dynamicly. The legend is added but the colors from SLD file are all gray. The WMS layer is colored by SLD ...
2
votes
1answer
34 views

Dashes instead of “to” in mapinfo thematic legend

The thematic legends for ranges are automatically set to the word "to", for example "10 to 20" "20 to 30" etc. I need to write it with a dash instead: "10-20", "20-30". Can I change the default ...
4
votes
1answer
77 views

Is it possible to change the legend so the symbol is on the right side?

Is it possible to change the legend arrangement so the symbol will be in right side and the label description will be in the left side? The QGIS default is label description in the right side and the ...
0
votes
0answers
25 views

How to show a legend of a invisible layer in ArcGIS javascript?

Using the JavaScript API for ArcGIS, I'd like to show the legend of a DynamicMapServiceLayer that's not visible. Is this possible? The result would be a static legend that's always there, no matter ...
2
votes
2answers
59 views

Adding more than one legend in QGIS Print Composer?

I'm using QGIS 2.8.4 and I can't seem to figure out adding more than one legend to my Print Composer. Say I want a larger map and then an inset map -- showing perhaps a different classification/color ...
0
votes
1answer
117 views

How to create a continuous scale with distinct/custom color and value breaks with ggplot2 map

As stated in the title, I'm trying to create a continuous scale with distinct color and value breaks within the ggplot2 package in R. I'm using some dummy code to illustrate my problem: ...
2
votes
1answer
75 views

Creating legend in separate page using ArcMap?

Is it possible in ArcMap 10.2.2. to create a layout that shows the legend of the map on a separate page? A.k.a have two pages in layout view? So first page: full view of the map, second page: ...
1
vote
1answer
104 views

Error when trying to plot legend for geom_point with ggplot2

Here's some mock code to go along with my problem: #read in libraries library(ggmap) library(sp) library(raster) library(ggplot2) #read in country shapefile, project, fortify for mapping with ...
1
vote
1answer
70 views

Customize Legend Geoserver

I am showing a legend coming from a geoserver. The SLD defining the layer is scale depending. Calling the GetLegendGraph like this results in a legend that shows both scales. I read about the ...
1
vote
1answer
45 views

How to to get current legend column count using arcpy?

I can change the numbers of columns in the legend using arcpy.adjustColumnCount(column_count). However, in my particular case I would like to know how many colums there are in the legend in the ...
2
votes
1answer
42 views

“Others” Appearing in CartoDB Legend

I've imported a SHP via zip folder, and it appears to import correctly in the Data View. However, in Map View, when I select the Category option one of my twelve items is listed as "Others." In ...
2
votes
0answers
71 views

Altering legend labels in Matplotlib

I have a choropleth map which displays crime percentage change. It is plotted from a geodataframe and the choropleth intervals are determined in the background by Python. Unfortunately, the first ...
6
votes
4answers
1k views

Can someone help me identify this part of the map?

I'm sure 1 is a road, but what are those bumps on the side? I'm guessing 2 is a footpath. I have no idea what 3 is, if you don't know what it is, fine, let's leave it at that. I searched for what ...
1
vote
1answer
29 views

getSymbol of FeatureLayer

I'm working with the arcgis javascript API on a webmap. I have a feature layer on some server which I'm consuming in my webmap and now I want to get the different symbols/icons of that layer one by ...