Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

Questions tagged [legend]

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

123 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
1
vote
2answers
228 views

Issue with QGIS 3.4.4 Atlas legend not showing all map items

I have a layer within my project that has been filtered to show the associated point with the associated Atlas feature: But when in composer view and there are both point types within an Atlas ...
1
vote
0answers
166 views

How to edit a legend for WMS map in layout

I'm working on a project in QGIS and I'm trying to edit a legend for a WMS map in a layout (see pic below). From what I read the legends for WMS maps are provided as images and therefore they cannot ...
1
vote
0answers
29 views

Set the same font in QGIS legend as in map

I want to use the same fonts in the legend that are used on the map (different feature = different font). Is it possible? I only get one font for all items.
1
vote
1answer
161 views

Rounding numbers in QGIS raster legend?

Is it possible to have the numbers in the raster legend automatically rounded off? In the example below I'd like the labels to be 8, 29, 51 and so on. I know I can manually edit the labels, but is ...
1
vote
0answers
128 views

Legend for OpenTopoMap in Leaflet

I want to use OpenTopoMap as background map in Leaflet. I can't find information about the colour encoding of heights to create a legend. Does anyone know the correspondence between colours and ...
1
vote
0answers
71 views

How to export vector layer's legend separately in QGIS

I have a vector layer with QgsRendererRangeV2() objects. I searched to get legend belongs to the vector layer and found this: legend = QgsComposerLegend(c) legend.model().setLayerSet(mapRenderer....
1
vote
0answers
175 views

Use harmonized world soil database (HWSD) in QGIS ie load .blw, .hdr and .stx files coming with .bil raster

I am trying to use the data of the HWSD in QGIS. See: http://webarchive.iiasa.ac.at/Research/LUC/External-World-soil-database/HTML/ How do you get the same result in QGIS as in the viewer ? More ...
1
vote
1answer
650 views

How to remove single class from ArcGIS legend for graduated polygons?

I have the following legend item: I would like to remove the class in the red circle from the legend. In QGIS you can simply delete or remove it. How can one do this in ArcGIS without affecting the ...
1
vote
0answers
67 views

Forcing legend entry to display markers in QGIS

Is there a way to force the patch in the legend to include a loosely spaced marker symbol in QGIS print composer? I'm using a large, loosely spaced marker symbol to represent wetlands in a map I'm ...
1
vote
0answers
183 views

Invert the legend scale representation [in R environment]

Through the following code, cols <- (heat.colors(255)) plot(raster_sum3, col=cols[round(seq(1,255,length.out=10))], legend=TRUE) # raster of the study area plot(site_3003, add=TRUE) # site ...
1
vote
0answers
59 views

How to create a complex legend in qgis?

I would need to create a complex legend divided into many sub-sections that does not correspond to different layers but to different rule-based styling objects. It seems to me that this possibility is ...
1
vote
0answers
511 views

Export map with legend using openlayers3

Is there any one who has an idea about how to export a thematic map that is accompanied with a legend (picture) using openlayers3? I searched in the openlayers documentation but I get a map without a ...
1
vote
0answers
142 views

Creating a legend in r

I have a data set comprising a number of debris surveys around Australia. I wanted to aggregate these counts by grids of 10km by 10 km (approximately) and found a very useful post here: Aggregating ...
1
vote
0answers
84 views

Displaying representation symbology (lines with markers) in ArcMap legend?

I have a polyline feature class with numerous cartographic representations of line types. Some of these representations only have a line component (see top-half image below) while other ...
1
vote
0answers
39 views

ArcGIS Runtime .NET does not make a GetLegendGraphic request

I'm using ArcGIS runtime SDK .NET to populate maps with WMS Layers This is a bit strange. If I load a WMSLayer on the map without specifying any layer, I see how it starts to recover all the legends ...
1
vote
0answers
72 views

Filter legend entry for raster layer QGIS

Is it possible to use the "Filter legend by Map content" button, or achieve the same functionality with a raster layer? I've got a map that has a dozen different raster layers, but am only displaying ...
1
vote
0answers
108 views

Mapserver GetLegendGraphic via expression

I am trying around this for a while now. But can't find any answer. So I try it here. What do I have: Mapserver 7.0.6 What do I want: Obtaining a single legend graphic for a class without text and ...
1
vote
0answers
215 views

Automatic refreshing of Styles and legends in QGIS?

I am a new QGIS user. I come from an Arcgis background, but in my current work for a public administration I must use QGIS for interoperability. As an ArcMap user, I am used to certain "comforts", ...
1
vote
0answers
233 views

refreshLayerSymbology raster layer legend

When I modify raster colors with PyQGIS, the legend in the layout layer is not update (color and value). The function refreshLayerSymbology() in my code don't do the job. I had try this : # BBOX ...
1
vote
0answers
285 views

Logarithmic legend for raster in QGIS

I would like to have a logarithmic scale legend for my raster, anyone know how to do this in QGIS?
1
vote
0answers
273 views

ArcGIS Online Print Template Legend Override

I have question that some of us in the forum raised in Stack Exchange in regards to the appearance word override in the legend (map). It seems the the map issued the legend (ArcGIS Online Basic Viewer)...
1
vote
0answers
117 views

Make a legend of connected attributes in ArcGIS Pro

I am having some trouble with ArcGIS Pro to create a legend. I have some x-y data plotted, with colours according to "unique values" and the size of the symbol as a "connected" attribute to another ...
1
vote
0answers
83 views

Control legends from multiple data frames simulataneously

Is it possible to control the symbology of all legends contained in multiple data-frames (but on a single layout) simultaneously? I want them to all have the same style, font etc.
1
vote
0answers
124 views

Legend widget not loading all layers on inital load esri javascript api 3.20

When using the legend widget (esri JAPI 3.20), not all the layers show up when my map loads. I have to zoom a level first then they all show up. Any fixes?
1
vote
0answers
685 views

Dynamic Legend in Openlayers 3

I have a javascript page that was built with qgis/webappbuilder. The legend is currently built with an array listed as follows: var group_environmental = new ol.layer.Group({ ...
1
vote
0answers
323 views

Print Composer Legend Issues

I seem to be unable to successfully create a legend in print composer. The legend eventually appears after some time, but crashes out when I attempt to edit the titles, layers etc. Today I have ...
1
vote
0answers
21 views

Would like to have a WMS with colored polygon features but not a legend

This is in ArcMap 10.3. I am creating a WMS with a service definition file (I would like to keep the style how my WMS displays the data) - No problem. I have a feature dataset of polygons which I ...
1
vote
0answers
381 views

LayerList Legend onload visible all Layer

I am using LayerList widget and have some problem with Legend when the LayerList is loaded the first time. Actually I have a lot of Group Layers and some of them are turned off but inside the group ...
1
vote
0answers
184 views

Alignment of the contents of a legend in MapInfo

Is it possible to change the alignment of the numbers of the ranges in a legend in MapInfo? (without having to "tease" the layout with a text box on top as in "MapInfo legend editing for right to left ...
1
vote
0answers
88 views

TOC with secure services

I have secured map services with AGS. I also have the proxy.config, proxy.ashx, and web.config in my application. My map layers display OK using the proxy. When I try to display my legend using the ...
1
vote
0answers
205 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
0answers
260 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 "...
1
vote
0answers
114 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
138 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 ...
1
vote
0answers
47 views

Accessing feature legend style name using QGIS?

I have a vector layer classified by some combination of field values. I want to add a field for each feature, filled with the legend style name of the element. How can I do this? via Function Editor?...
1
vote
0answers
721 views

Dynamic legend for tiles in Leaflet

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 me right now. So, I created ...
1
vote
0answers
151 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
53 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
256 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 ...
1
vote
0answers
70 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: http://<...
1
vote
0answers
30 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
124 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
245 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
315 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
630 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
58 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
218 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
3answers
124 views

Keep the symbol in the Layout Map but do not show it on the Legend?

I am trying to find a solution to not display the name and the symbol on the Legend on my ArcMap Layout but I do want to keep the symbol in the Layout . Here is the screenshot I have ArcGIS Desktop ...
0
votes
1answer
29 views

Size Legend for Carto VL

I am trying to construct a legend based on size using Carto VL, and am struggling to implement the solution posed in this Github thread. https://github.com/CartoDB/carto-vl/issues/1260 I built a ...
0
votes
0answers
28 views

QGIS map legend rendering problem

The maps look good, and the legend symbols match the maps. Once converted to .pdf the map legend symbols degrade to basically nothing. Horizontal red line patterns, or any colored line patterns for ...