Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [legend]

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

1
vote
0answers
67 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 ...
0
votes
0answers
109 views

Copy legend from ArcMap A to ArcMap B with different scales and/or paper size?

I have a question for you and what is the best practice for me to copy the legend from another ArcMap A to ArcMap B. They are in the Layout View. it has different scale like in 1: 77,000 to 1:55,000 ...
0
votes
1answer
29 views

Legend properties for a raster: how to get rid off one value?

I have a raster in ArcMap, which has the values 0,1 (it was derived from Raster Calculator) I want to put in the Legend only the value 1. I put no color and no line to value 0, but I have this big gap ...
0
votes
1answer
443 views

Wrapping layer names or headings in ArcMap legend?

I've been struggling with this for a bit now but I cannot seem to find a way to wrap either layer names or headings in a legend. I can see how to wrap descriptions, labels, and make multiline legend ...
0
votes
0answers
110 views

How to change Legend labels in ArcGIS

I am preparing layout in ArcGIS 10. I have duplicated data frame to have 2 images of the same area on single page. When I enter the legend, labels are in too small digits (24). I want it to bigger ...
0
votes
1answer
76 views

Can we insert Legend with only features that are in a shapefile? [duplicate]

I want to insert legend which have 40 labels data, since, the imported symbology have 90 labels, all the labels are getting inserted in the legend. I do not want to remove them manually from the ...
0
votes
1answer
84 views

Making a map with 8 different rasters of the same place but with only one legend in QGIS [closed]

I have 8 raster images of a farm that are changing with respect to time. I want to create one map as shown in the attached image which will show the 8 raster images with only one legend to represent ...
1
vote
0answers
34 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 ...
2
votes
1answer
1k views

Making legends for each layers and switching between them using Mapbox GL JS?

I created a map using Mapbox GL JS with several layers using this example At the same time I don't have any spatial knowledge in Javascript. It's restrict me to create legends for each layers. The ...
1
vote
1answer
86 views

Present polygon features in legend with custom symbology

I wonder if there is any way to represent a polygon feature in the legend with a custom symbol. I can think of several ways but the problem is that the legend must be dynamic, only showing objects ...
1
vote
0answers
64 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 ...
-3
votes
1answer
410 views

Deleting legend entries on QGIS? [duplicate]

In QGIS I have deleted features from the attribute table and the map but the labels still remain in the legend. How can I remove them?
1
vote
0answers
83 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 ...
3
votes
0answers
186 views

PyQGIS update/refresh composer legend [duplicate]

I am trying to modify the data source of a raster layer in python, then update my composer and finally save it. To modify my data source I found what is needed here: https://geogear.wordpress.com/...
0
votes
2answers
2k views

Categorical Legend raster plot - R

I have the following RasterLayer containing categorical values for each pixel. I am using the following code to plot it par(xpd)=FALSE plot(LC, legend=FALSE, col=c("lightcyan3","royalblue","...
3
votes
0answers
282 views

Creating “heatmap” based on data with legend in QGIS?

I am new to QGIS. I need to make a map that looks like a heatmap, but is based on data values, not point concentrations, and with a legend. I was able to make a heatmap based on data values, but not ...
2
votes
0answers
194 views

Determine layer visibility with PyQGIS

From some other posts I found that i can determine a layers visiblity by something like #assume lyr_name the layers name to determine visibity for l = QgsMapLayerRegistry.instance().mapLayersByName(...
2
votes
2answers
373 views

Combining two layer symbologies into single legend item using QGIS?

In QGIS 2.18.13 on Windows 10, I have symbolized a polygon with two layers on top of either other; the bottom layer is a solid fill color, and the top layer is a BDiagonal (hash). The two layers ...
1
vote
0answers
189 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", ...
2
votes
2answers
242 views

QGIS map composer changing legend position when exporting atlas as images

I am having an issue when exporting atlas map series to image. In each map the position of the legend is jumping around by a few cm. I have the position referenced under item properties to the bottom ...
1
vote
1answer
292 views

R - cartography package - position of legend?

I'm using the cartography package in R to plot a choropleth map. However, I have a problem placing the legend, which can be placed by means of the legend.pos argument, but which always overlaps with ...
2
votes
0answers
132 views

QGIS Composer Legend Filter by Map Content Not Showing Item

I'm trying to filter a composer using the Filter by Map Content Button. It works for the most part. There is a line layer that doesn't fit completely in the map window that gets filtered out, I'm ...
1
vote
2answers
115 views

Display combinations of multiple fields containing same data type for each feature class point

I am trying to display small mammal trapping data in ArcMap 10.3.1. I am dealing with a point feature class. There are 3 relevant fields in the attribute table, one for each night of trapping, ...
2
votes
0answers
443 views

Legend is not displaying all active features/layers in ArcGIS Pro using ArcPy? [closed]

I created a script tool that positions the north arrow, legend, scale bar, and title in a layout; and then zooms to a bookmark and exports the layout as a PDF. But when I go and look at the PDF, the ...
1
vote
1answer
51 views

Creating type of ranking map on ArcGIS Desktop?

I wanted to create a ranking continuous legend ...but everytime symbology come in class interval with different box of colour ramp .
5
votes
2answers
890 views

Creating Custom Symbology Patchs for ArcGIS Pro Map Legends?

Does anyone know if it is possible to create a custom symbology patch to be applied to a map legend in ArcGIS Pro? I know this was possible in ArcGIS Desktop within the legend properties dialog, ...
0
votes
1answer
191 views

Displaying bar legend for point data in ArcMap?

I often work with large point feature classes that I'm symbolizing with the full 32 classes of graduated colors. Is it possible to add a simple, horizontal color bar into the legend in such cases (as ...
0
votes
1answer
261 views

Pyqgis - Removing a layer from the composer legend [closed]

I am developing a script to print different map views of a QGIS project. I want to print all the vector layers in the canvas but I don´t want one of them to appear in the legend. I can`t figure out ...
4
votes
1answer
444 views

Changing legend item text with pyQGIS?

Using code I found at Go through items in a composer legend (QGIS 2.6) I can access the the layers in my legend fine. However, I have layers that are styled by category and I can't figure out how to ...
4
votes
1answer
3k views

leaflet create legend

I am following this video tutorial on how to create a leaflet legend. here is my full JS code function getCountyColor(popEst){ if(popEst>100000000){ ...
2
votes
0answers
350 views

Need to Add/Remove .png Legend with Leaflet Layers Control?

Supporting Links Website Location: http://bit.ly/2fXCiTH .JS File Location: http://bit.ly/2g56W0U Trying to accomplish I would like to have a specific .png legend associated to each individual ...
1
vote
1answer
60 views

Legend in storymap show correct hexcode colours in editor but not in final display

I have used some html/css code from here: https://blogs.esri.com/esri/arcgis/2015/12/16/enhance-legend-story-map-journal/ to display legends in a journal style storymap. The hexcodes are correct and ...
2
votes
1answer
272 views

QGIS Print composer: Point symbols not correctly displayed in legend

My problem: I have a point layer with a symbol size of 15958 meters. On the map they are all correctly displayed. When designing the map in the print composer and adding a legend, the symbols in the ...
0
votes
1answer
49 views

Print Service legend display null for polygon features

the print service of application works well, but after converting the map area to pdf , the legend shows null filled values for polygon features(as in figure for Build up area,Forest dense area). I ...
0
votes
1answer
355 views

Force Legend to Always display in ArcGIS Online Web App

Is it possible to force the legend in ArcGIS Online Web App (Web App Builder, not developer edition) to always display the legend. Perhaps in the JSON file somewhere?
1
vote
0answers
192 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
215 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?
0
votes
1answer
297 views

Missing icon within legend if layer has a complex styling with QGIS

I'm using a complex styling for a points layer in QGIS, including two markers and a Geometry generator to set up a line between points and labels (see style description in this post). The result is ...
8
votes
3answers
303 views

Move legend if it overlaps features within dataframe using ArcPy

Trying to find a way programmatically (arcpy) move the legend if it intercepts features within a data frame, in the scenario below, if the legend obscures the view of the AOI, then I want it to move ...
0
votes
1answer
498 views

How to create TOC icons from a geojson leaflet style

I have a leaflet map that shows a couple of geojson layers. The style for each layer is represented in a TOC by means of the plugin Grouped Layer Control. The TOC has the following aspect: The ...
1
vote
0answers
824 views

Generating Dynamic Legend with OpenLayers and GeoServer? [closed]

I am using OpenLayers 3 and GeoServer to create a map with multiple layers. I am able to generate legend for each layer from GeoServer using GetLegendGraphic and display them using the following: &...
1
vote
2answers
529 views

Symbology using multiple attributes in QGIS 2.18

Within a single polygon shapefile, describing the geological regions of Canada, I have 5 attributes I am hoping to combine to present a cohesive symbology. For the Legend I would like to display data ...
3
votes
0answers
156 views

ArcGIS Pro Legend Range Display

When creating graduated color legends, other than manually formatting value ranges under the symbology legend label, is there any way of automatically showing the full numeric value range in the ...
4
votes
1answer
1k views

How to get Legend Information from a WMS server?

I need to get the Legend Information from Geoserver in JSON or XML format, so that I can display it in my App in a custom way. I'm basically looking for something equivalent to https://resources....
1
vote
1answer
61 views

Using different fields for symbology and legend labeling and maintaining structure using ArcPy?

I have multiple fields in my attribute table so I want to use one general layer and apply to many fields (same range). The problem is everytime I apply the layer or it`s get the old field and apply to ...
0
votes
1answer
84 views

Removing identical items from grouped layers in legend of ArcMap?

I am using ArcMap 10.5 and in the process of creating a map template for people to use in my team. Part of the template is a map layout with a legend. The problem I am having is that I have some ...
1
vote
1answer
430 views

Can the histogram size in the legend of a tmap be adjusted?

Really enjoying tmap, and very happy to see the inclusion of histograms. Can that hist object be modified in any way? See below how the natural histogram object is somewhat squished. this_name = "...
3
votes
1answer
2k views

Where is the legend for graduated styling?

I created a map using graduated styling on a layer and there is a field for legend format and a column that says legend, but I can't find the legend anywhere. Does anyone know how to access it? (The ...
4
votes
0answers
352 views

How to create text buffer in the legend- QGIS 2.18?

I work with this polygon layer and this is my map composer: I used the labels with Text Buffer (yellow and red), and I try to find how I can make the same text buffer in the layer name in the legend. ...
6
votes
1answer
291 views

Print Composer with semi-transparent raster but full opacity in legend

I am trying to make a map with a semi-transparent (60%) raster layer overlying an areal photo (raster) base map. This works fine and looks good but when I add a legend to display the values of the ...