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.

2
votes
1answer
5k views

How do I show just the color ramp in legend without values?

I'm using ArcMap 10.3.1. Is there a way to show, on the legend, just the color ramp as a single patch instead of with each group of values? I don't really need to show those values on the legend. ...
1
vote
1answer
1k views

Creating QGIS legend showing different size points from set scale field?

I have created a map with different sized points based on another attribute using the set scale field in QGIS v2.8.4. See map image. I am trying to create a legend like this previous thread showing ...
8
votes
2answers
2k views

Is it possible to change legend symbols in the QGIS print composer legend?

I have some layers with very complex data-defined symbols. If I use a legend in the print composer these symbols are not drawn correctly. Is there a way to change the legend-symbols with pyqgis, so I ...
1
vote
2answers
263 views

How to show single title for double CSS stroke in map legend

I am using CSS for styling roads in my geoserver. Here is my css : /* @title HSAMB Roads*/ * { stroke: #333333,#00CC00; stroke-width: 3px, 1px; z-index: 0, 1; ...
2
votes
1answer
350 views

How can I get legend from Arcgis MapServer url

İs it possible to get legend item from arcgis mapserver or feature url. For example http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Specialty/ESRI_StateCityHighway_USA/MapServer I can use ...
1
vote
1answer
76 views

Inserting legend title in Geonode?

How can include a title legend (instead of legend) in geonode? I have tried with everything but I can't do it.
6
votes
1answer
699 views

Opacity / Transparency in raster legend QGIS

I have a classified raster with three classes. One of them has to be hollow. I added a legend which looks like this. Apparently, the opacity level - in this case 0% - is not transferred to the ...
1
vote
1answer
280 views

Removing Objects from Legend on Webmap

I am trying to remove a couple elements from my webmap legend (the rest service title and the world map). Here is what my legend code looks like: var legend = new Legend({ map: map, layer:...
4
votes
1answer
239 views

Preventing Symbols offset in map from being offset in legend of QGIS?

I've been searching for a solution to this, but cannot seem to find an answer. I have a map where some stacked markers have been offset to be visible on the map. This makes their symbol offset in the ...
5
votes
1answer
541 views

Setting layer name in composer legend as “Hidden” using PyQGIS?

Is there a way to hide a layer name in the composer legend using pyqgis as we do from the legend properties (see picture)? The only way I've found so far is by changing the layer name in the composer ...
5
votes
2answers
205 views

Why does QGIS legend does not take the indentation?

I created a legend with refinement in QGIS print composer. As you can see (picture 1) in the item properties for the legend the items are hierarchical indented. picture 1 But in my map the ...
6
votes
1answer
385 views

Accurate way to show values of each classification range in the legend in QGIS?

What is the best and most scientific way to represent data in the legend? For example, in the picture below (my data), picture 1 is the actual data (too long in my idea), picture 2 is a rounded ...
3
votes
1answer
284 views

GeoServer: Legend title with single feature layer

Been working with GeoServer for some time now. While working with the publishing tab of the layer, I noticed a problem. Every time that I set the default style with a single featured CSS style, the ...
0
votes
1answer
290 views

Leaflet WMS layers - Legend control not working

I'm having difficulties making my legend control work. I've loaded 3 WMS layers from Geoserver and declared their legends. I grouped the layers as Overlays and I have 2 basemaps. I found a code and ...
1
vote
1answer
301 views

Carto legends are missing when embedded?

I've been using CartoDB at work to create maps and then embed them on our website. This has been working fine until recently, when the platform switched to Carto Builder. Now, when embedding maps on ...
2
votes
0answers
78 views

Making legend appear using arcpy.mp? [closed]

New to programming here. My legend (bottom left corner) keeps showing up blank even though there is technically a legend element there. Am I missing something in my code? I've included the relevant ...
5
votes
2answers
520 views

How to change legend orientation in QGIS?

I created a legend in the print composer and the default layer orientation is How can i change the legend elements orientation like in ArcGIS? I seeked in the Item properties but didn't found any ...
1
vote
1answer
180 views

Changing legend window in Carto new editor? [closed]

I have created a map with an automatic legend window. I'd like to move the window to the lower right corner. I tried to edit the CSS but I cannot figure out how to do with the new editor.
7
votes
1answer
420 views

Displaying percentages next to legend items in ArcMap?

I'm using ArcMap 10.4.1 and I have a map showing points on a map. Each point represents a measurement of a specific radio frequency and has an attribute of signal strength. The legend displays ...
1
vote
1answer
70 views

Display CSVLayer in Legend via ArcGIS Javascript API

I have everything working in my code, except that the features of my CSVLayer will not show up in my legend. Any ideas on how to do this? The code is below: <!DOCTYPE html> <html> <...
-2
votes
1answer
662 views

How to reclassify to make sense of the percent slope map

I managed to make my slope map for a school project, in what is supposed to be percent, but how do I make the values make any sense? I need a legend where I classify the different values in 0-5%, 5-10%...
1
vote
1answer
2k views

Symbols disappear when exporting map in Arcgis

I'm trying to export map using ArcGIS. Here's how the map looks in the layout view in Arc, and that is how i would like to keep it : And this is how the map looks after exporting it as JPEG: Can ...
2
votes
1answer
431 views

Color ramp with legend based on attribute calculation in QGIS

Using the attribute table below, I want calculate a new field using the formula (field3+field4+field5+field6)/field7. Field 7 will be always larger than the addition of fields 3 through 6, so the new ...
2
votes
1answer
198 views

Austrian-hungarian map: Franzisco-Josephinische (3) Landesaufnahme - Legend

Currently I work with the Franzisco-Josephinische (3) Landesaufnahme (Austria-Hungary) map in area around Lake Neusiedel. There are some map sheets around Vienna with the scale of 1:12.500 In the ...
5
votes
1answer
153 views

ArcGIS: Legend patches turn black with negative contrast

I have a problem I've never seen before in ArcGIS (Desktop 10.4). When I use the Image Analysis Window (or symbology settings), the raster DEM in the background changes accordingly... HOWEVER when I ...
2
votes
0answers
503 views

How to use filter legend by map content for more maps [closed]

I have QGIS 2.10.1. I have 31 maps in print composer. Each maps is vector layer which involves a lot of polygons with ID. The problem is when I want to use legend and need to show only polygons ID ...
0
votes
1answer
97 views

Geoserver get legend raw data

In geoserver is possible to generate a JSON or XML file with the information necessary to generate a legend in client? I want to customize further the legend beyond the capabilities of ...
1
vote
2answers
175 views

Geoserver legend spacing

I want to know if is possible to change spacing of a normal (not raster) legend in Geoserver: I need to add more space between the squares and the text. There are dx,dy,mx,my parameters but they ...
6
votes
2answers
5k views

How to hide/toggle legends with layer controls in Leaflet for R

In the package leaflet for R, you have the ability to toggle layers on and off with the addLayersControl() option. If you use legends for each individual layer, however, these layers are not toggled ...
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 ...
0
votes
1answer
412 views

Qgis2web legend

I want to export a vector layer using the Qgis2web plugin. I styled it with the Leaflet opportunity as the legend with categories is included. However when I want to export a layer with points sized ...
1
vote
1answer
768 views

Trying to add Legend (and Layer List eventually) to map for Dynamic Service Layers using Javascript API for ArcGIS

Looking for some help regarding adding a Legend to my GIS application. I'm using the Javascript API for ArcGIS. I think it's a problem with my div tags. <html> <head> <...
1
vote
0answers
354 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 ...
8
votes
0answers
213 views

Hide layer name in map legend using python in QGIS 2.16 [duplicate]

I am trying to render the layer in QGIS as a map using python console. I am using QgsComposerLegend() for drawing the legend in the map. Is it possible to make the layer name hidden in the map ...
1
vote
1answer
600 views

Adding map legend displayed on Google Earth? [duplicate]

My colleague sent me an *kml file with a map legend and said it was exported from AgLeader software. I am using ArcGIS to convert my shapefiles into *kml files and I've tried both "layer to kml" and "...
1
vote
1answer
679 views

Export picture marker symbol in legend in ArcGIS

I used a picture marker symbol (from JPG file) in order to represent a point layer with unique values symbology. this is the symbol in the map: My problem is when i export the map to a JPG file, ...
0
votes
1answer
93 views

Carto legend colours not showing in embed?

Carto legends are showing no colours in the bullets after manually adjusting colours in the HTML window -- but only in IE. No issue in other browsers. Has anyone else seen this?
1
vote
0answers
56 views

How do I create this legend? [closed]

I am trying to update an existing map in my organization without the original .mxd or feature classes. Its going OK, but the legend is beyond anything I've seen. There's the typical ArcMap legend, ...
0
votes
1answer
166 views

Using MapInfo to create legend which shows points within named polygon?

I've created a map which shows some pupil post codes as points on the map and it also contains a layer which shows Wards within the city. I would like to create a legend or table which shows how ...
0
votes
1answer
56 views

ArcMap bookmarks for legends, scale bar etc

I am exporting several GIS dataset maps from a set of several files I have. My images show always the same geographic area. My problem is that, moving from one image to the other one, the legend, ...
12
votes
2answers
1k views

Should Legend entries be singular or plural?

In a map legend should the entries be singular or plural? What is correct? Road or Roads? A Google image search for "map legend" lead me to conclude there is no consistent way of having a legend ...
3
votes
0answers
700 views

Inconsistent word wrapping in legend of ArcGIS Desktop? [closed]

I have been using word wrapping for my legends in ArcGIS 10.3. I have had some success with this, but am getting errors in the way the labels are displayed. Here is a pic of the settings: The ...
14
votes
1answer
661 views

How to control the arrow length of vector field markers in the layer list legend?

In QGIS 2.14.5 LTR (and recently in QGIS 3.0) I've set up a beautiful map design with a graduated renderer and vector field markers for each value range (arrow length is directly proportional to ...
3
votes
1answer
328 views

Choosing layers to dump in legend for a standalone application

I'm writing a standalone application using QGIS API to export maps automatically as pdf. When I'm building my QgsComposition, I have an issue: I have already built a list with the layers I want to ...
5
votes
2answers
440 views

Arranging top of columns in legend

I'm using ArcGIS 10.3.1 Standard License. I have a legend item that I would like to split across two columns. Below is the output. What I would like to have is the top of the second column align ...
2
votes
2answers
2k views

How to only display active layers in legend?

In QGIS, in the Print Composer's Legend function, how do I make it so that the Legend automatically displays only the active layers (i.e. the layers that are checked and therefore displayed on the map)...
5
votes
3answers
601 views

Group legend in ArcMap basing on field value

I'm using ArcMap 9.3.1 and have a point feature with an attribute table like this: What would be the easiest way to generate a legend like this? Generating different tables (feature classes) for ...
1
vote
1answer
566 views

Display Legend on my legend div

I am trying to display legends of all layers of map service in my legend div, for that I have written and tried some code. But not displaying, please suggest someone where is problem in my code. <!...
3
votes
3answers
984 views

How to create point symbols with smooth color gradient fill and associated legend?

I like the feature heatmap as a layer style, but it doesn't have any symbolism in the legend at the compose manager. So I took a print screen from a characteristic part of the heatmap and now I am ...
1
vote
1answer
105 views

Range missing in MapInfo legend

Is it possible in MapInfo (Version 10) to show in the legend all the ranges created in a thematic map even though the record count for one specific range is 0? I have to create several thematic maps ...