The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [legend]

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

Filter by
Sorted by
Tagged with
3
votes
1answer
654 views

QGIS Natural Breaks with raster file

I know it is possible to use natural Breaks legends with vector files in QGIS. Is this possible also with raster files? Actually I want to reclassify raster files by using Natural Breaks.
3
votes
0answers
144 views

Legend and Attribute Table change throughout map composer

I'm using QGIS 2.18.3 (Las Palmas) For a project I have about 15 maps with the same extent, where each map displays a different attribute. I have followed Automating Atlas to create maps for all ...
3
votes
0answers
110 views

QGIS Print Composer Legend: Polygon symbol not closed

The legend of my map doesnt't match the symbology of my polygon layer, the polygons are not closed. Here a screenshot of the layer windows: And here one of the legend from the print composer: If I ...
4
votes
1answer
155 views

Include map overview details in a legend?

I'm creating a map to show BRUV sites in different marine zones. There are 6 zones (created an overview for each - please see attached image). The zones are individually displayed in smaller map ...
2
votes
2answers
924 views

Adding group in Legend in QGIS Map composer?

There is a Map composer with created map. I want to "Add group" to Legend - it appears in the Legend Properties, but not in Legend on the map. I am using QGIS 2.18.8. This problem was also in 2.16 ...
7
votes
2answers
649 views

Make part of legend label italics either for layer header or items in QGIS Print Composer

I am using QGIS 2.18. I want to make PART of a legend label/heading italic within print composer when creating a map layout (for example make part of my label italic if its a botanical name and keep ...
9
votes
1answer
5k views

How to assign colors to specific raster values using R

I am using the levelplot function of the awesome rasterVis package to create a map whose values diverge around zero. I am plotting a raster file using a red to blue palette, but I am trying to assign ...
2
votes
1answer
872 views

Fine-tuning horizontal legends in QGIS

I made a map with a horizontal legend to show 10 categories in QGIS 2.18.6 (see below), and here comes some questions. Hopefully I can have some suggestions here: First, I indeed create the legend ...
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)...
3
votes
1answer
691 views

Interpreting raster values generated by QGIS Heatmap plugin?

I have generated a nice heatmap (point density) based on a point layer using the QGIS Heatmap plugin, set up as follows: I calculated both outputs as shown in the screenshot below: 'Scaled by Kernel ...
4
votes
1answer
909 views

How can I flip over the values in my raster legend

I want to flip over the values in my legend so that I have Low : 0 at the top, and High : 199998 at the bottom. I have manually edited the text in the table of contents, however this doesn't change ...
1
vote
1answer
303 views

A simple label for an entire MapServer mapfile?

I want to incorporate a simple text label into a mapfile-based map, such that the file's resulting images always display a specific text string (ideally in white over a black background) along the top ...
2
votes
1answer
481 views

How to create a bubble legend in Carto?

I have generated a 'bubble' map in Carto: Custom CSS: #layer { [capacity >= 70000] {marker-width: 90; } [capacity >= 60000][capacity < 70000] {marker-width: 80;} ...
1
vote
1answer
53 views

Reordering different feature classes fom different layers in ArcMap Legend

I have 6 layers in my TOC. 2 are polygon, 2 are line, and 2 are point feature classes. TOC looks like this: Well (water) - point Pump (Gas) - point Pipes (Water) - line Gaspipes (Gas) - line Gas ...
2
votes
1answer
112 views

Manually sorting features in ArcGIS according to field other than what is being symbolized?

I have a hexagon grid with the dominant species of tree listed in each cell. I want to symbolize the tree type but put them in order of percentage of dominance in the legend. So a table like this: ...
2
votes
1answer
246 views

Categorizing multiple entries in QGIS?

I am trying to categorize a polygon layer with several buildings, by the number of floors. I want to aggregate by classes like this way: 1 floor = 1 to 2 floors; 2 floors = 1 to 2 floors; 3 floors = ...
6
votes
2answers
3k views

Making legend items start in new column in ArcGIS Pro?

In ArcGIS Pro 1.3.1, I have just looked for the ability to start legend items in a new column. This functionality is present in ArcMap's Legend Properties on the Items tab which appears below: Has ...
2
votes
1answer
2k views

Adding a Layer Control Legend based on geoJson properties

I have a Leaflet map app in which I am having difficulty getting the L.Control to function properly. The app pulls points based on data from a geoJson file. The geoJson data has a property "Type" (...
2
votes
0answers
45 views

Unwanted changes in layout of data-driven pages during export to JPG by ArcPy? [closed]

I'm using a python script to export a set of maps created with ArcMap's Data Driven Pages (DDP). Everything was working well until I added a new layer to the map - it automatically added to the legend,...
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 ...
4
votes
1answer
267 views

QGIS: Displaying total length of lines in print composer legend

In the print composer (also in the layer selector) I can choose to automatically display the amount of objects in that category in square brackets. That is useful for point features/layers. But in the ...
2
votes
1answer
3k views

show/hide button for leaflet legend

Is it possible to add a simple show/hide button on the leaflet map which will allow the user to see the legend on choice? Here is my code for the legend: var legend0 = L.control({}); ...
1
vote
1answer
221 views

Geoserver raster legend in reverse order

If you get a legend from a geoserver raster the minimum value will be on top, the maximum at the bottom. <sld:ColorMapEntry color="#FFFFFF" quantity="0" opacity="0" label="0 mm"/> <sld:...
1
vote
0answers
82 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
1answer
108 views

Is there a way to control the legends of cartographic representations with Python?

I have a ArcGIS feature class with 3 cartographic representations. Two of them represent the features with line offsets. These representations are determined based on multiple fields. One field ...
0
votes
2answers
182 views

Strange symbol in style file

I have a geological style file Biblioteca_CPRM_v2. But when I open it it appears like this Should look like with this I guess it may be something in style fonts. Any idea?
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?
4
votes
1answer
396 views

Manage space in legend print composer QGIS

I am struggling to figure out how to manage space in the legend. I have extra space between some items in my legend, which I would like to remove: How can I manage these spaces? I built my legend ...
1
vote
0answers
684 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
321 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 ...
2
votes
1answer
6k 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
2k 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
3k 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
280 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
392 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
86 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
770 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
305 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:...
5
votes
2answers
284 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
593 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
224 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
409 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
328 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
306 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
306 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
91 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
583 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
186 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
464 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
75 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> <...