We’re rewarding the question askers & reputations are being recalculated! Read more.

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
2
votes
1answer
210 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 ...
2
votes
2answers
736 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 ...
2
votes
1answer
319 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 x,y....
2
votes
1answer
128 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 ...
2
votes
1answer
3k 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 ...
2
votes
3answers
3k views

Export/Save graphic created in ArcMap

I created a legend for a Map with ArcMap 10.2.2. I converted it to graphic and want to export or save it as an image. How can I do? Can't figure it out.
2
votes
1answer
1k views

What's the QGIS Legend Format Syntax to have thousands separated by commas?

I have numbers in the millions and would like to know what string to enter in the Legend Format box to have thousands separated by commas ex: 2,000,000
2
votes
1answer
959 views

How to customize the ArcGIS print legend text using javascript

Is there a way to customize ArcGIS print service so that it will not print the layer id and the string that is given in ClassBreakRenderer in the legend. var layer = new FeatuerLayer(url, { id: "...
2
votes
1answer
5k views

Spplot labels in R how to change

Can anyone tell me how to change the labels in a legend created by spplot in R? It is a typical vertical ribbon legend automatically generated by spplot. Based on color, it is labelled 1-7 but I ...
2
votes
1answer
2k views

How to EASILY add a map legend to a map in Geoserver?

I'm new to Geoserver and Neatline and somewhat to HTML coding! But, I am clueless as how to 'EASILY & Cheaply " include a simple legend on a map using a WMS statement. I have been able to use ...
2
votes
1answer
6k views

Adding and toggling legend with layer in OpenLayers?

I'm currently trying to add a legend to my map and to show/hide it, when the corresponding layer (an image layer) is shown/hidden. My approach was to add a custom button with a .png of my legend. That ...
2
votes
1answer
623 views

How to move the QGIS Layerpanel/Dockwidget programmatically

i'm working on a QGIS-plugin and want to move the default LayerPanel/Dockwidget to somewhere else programmatically. More specific: i want to move it into a tab of my tabwidget. Is this possible? How ...
2
votes
1answer
87 views

removeGroup() in QGIS 3

I am updating a plugin from QGIS 2 to 3. I need to iterate through the groups (the names are dynamic) and remove them with their respective child layers. I need to get a list of groups and then ...
2
votes
1answer
63 views

Polygon fill outside of stroke in print composer

For some reason the polygon fill is outside of the stroke in QGIS print composer. My stroke width is set to 0.18 which I would like to keep constant. Is there anyway to fix so that the stroke goes on ...
2
votes
1answer
244 views

Making long labels visible in a legend

How do I handle map legend with tens of classes using QGIS? I searched for instructional videos and previous post relating to the question but could not find any helpful material. The legend text in ...
2
votes
2answers
459 views

Same colour palettes for two different maps in ggplot2

I am constructing two ion concentration maps in the UK using ggplot2. The dataset used for mapping are lzn.kriged1 and lzn.kriged2 which basically has the same structure: > str(lzn.kriged1) Formal ...
2
votes
2answers
264 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 ...
2
votes
1answer
381 views

Updating Layer tree after changing symbology with PyQGIS

When I change symbology for a given QgsVectorLayer (QGIS 2.14.16 LTR) by r=iface.activeLayer().rendererV2() r.symbol().symbolLayers()[0].setColor(0,0,255,255) as shown here: and refreshing the map ...
2
votes
1answer
487 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;} ...
2
votes
1answer
117 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
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. ...
2
votes
2answers
1k views

Layers Labeled “Override” in Printed PDF Legend

I have a Javascript function that creates a GraphicsLayer, adds some features to it, and then adds the layer to my ArcGIS Web Map. When I use the Print Widget to print my map I see the layer show up ...
2
votes
1answer
213 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
2answers
2k views

Adjust labels in CartoDB choropleth legend

CartoDB allows the user to change the legend values for the left label and the right label. However, I would like to add values to the three middle color values. Is there a way to do use within the ...
2
votes
2answers
333 views

QGIS legend without print composer

I'm trying to export a series of images using the TimeManager plugin. I'd like to have a legend on each, to demonstrate why my datapoints are sized the way that they are (i.e. this circle size ...
2
votes
2answers
1k views

Print composer - legend - graduated

I have a map with graduated symbology, with 328 unique values. I would like add a legend to my map (as in the picture), illustrating that light blue indicates low values and dark blue high values. I ...
2
votes
1answer
222 views

QGIS Print Composer - Display Symbols for Empty Classes?

I am working on a map of mortality rates for several racial/ethnic groups and I have created custom classes to encompass the rates instead of the QGIS classes created through its various modes. This ...
2
votes
1answer
188 views

How can we retrieve the values ​​of the intervals in the legend in R

I have an elevation model plotted in R Code: library(raster) data(volcano) r <- raster(volcano) plot(r, col = topo.colors(20)) Plot: how can we retrieve the values ​​of the intervals in the ...
2
votes
1answer
736 views

How do I get the legend from a ArcGISDynamicMapServiceLayer using esri javascript api?

New Code: I updated the code a bit to more a recent recent version of the api, but ashima was correct in that I was not passing my layer as an array. Fixed that and it worked map = new Map("map", { ...
2
votes
3answers
310 views

Remove item from legend on a several mxd's

I used this code from this question here: Remove item from legend using ArcPy? However I keep getting an error at the following line: legend = arcpy.mapping.ListLayoutElements(mxd,"LEGEND_ELEMENT")[...
2
votes
2answers
233 views

Placing layer name beside their symbols in legend using representations of ArcGIS for Desktop?

I want to place the layer name of my feature class (styled with a representation) beside (right hand side) its symbol in the legend of my map in ArcMap 10.1. I know that the format can be changed via:...
2
votes
2answers
1k views

Create a common scale for different raster layers in GRASS, SAGA or QGIS

I have a number of layers that represent the temperature variability of the water in a lake. They have been generated trough interpolation and have different values as they represent temperatures ...
2
votes
2answers
1k views

Displaying representation symbology description in legend of ArcGIS for Desktop?

When a layer with Representations is turned on, how do you change the 'Description' in the Legend. The setting is normally under the symbology tab and it is not visible when Represenations are turned ...
2
votes
1answer
3k views

Get data to display on the map legend?

I am trying to use the Legend widget from this link below to build a legend that displays our layers in the map: https://developers.arcgis.com/en/javascript/home.html I have added the legend widget ...
2
votes
1answer
435 views

Using multiple LayerIDs in a Legend

This should be simple, but I cannot find any documentation on how to do it. I have a legend that is bound to my map that contains several layers. I do not want all of the layers to appear on my Legend ...
2
votes
2answers
2k views

Loading legend of MapServer in ArcGIS Server with ArcGIS API for Silverlight?

I have published a mapserver on my ArcGIS Server 9.3. I am developing a silverlight application using ArcGIS Silverlight API. Now I can load my map into my application and also the list of my layers ...
2
votes
1answer
51 views

QGIS Mutually exclusive legend within a shapefile

I have a shapefile with 30 different categories/symbols which I would like to make mutually exclusive. I am able to make the shapefile itself mutually exclusive by adding it to a group, but not the ...
2
votes
3answers
182 views

Size-related point in QGIS

I want to map the absolute increase/decrease of the population of a city. The amount of people that increased/decreased is represented by a size-related point. If it's negative I want to have it in ...
2
votes
3answers
232 views

Freezing legend on map composer so that it stops updating when changing symbols on map?

This seems like a counter intuitive question, but is there a way to freeze the legend so that it stops updating itself in the print composer? My auto-update box is unticked for the legend, but the ...
2
votes
1answer
2k 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 ...
2
votes
1answer
329 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 ...
2
votes
2answers
862 views

Is it possible to make a copy of legend in ArcGIS without losing properties?

I want to make duplicates of my legend in ArcGIS 10.0 that have identical formatting/properties. Is there a way to copy+paste while preserving properties or a way to save legend properties as a model ...
2
votes
1answer
863 views

Export the legend into its 100% size using Print Composer

I am trying to export the legend into an image using Print Composer into its 100% size as it is in the composer window. To be sure it is the intended size I want, I clicked Zoom to 100%: But upon ...
2
votes
1answer
402 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 ...
2
votes
1answer
51 views

Why is my legend in QGIS using cached data?

I have a legend... multiple legends as a matter of fact. Even though I clear them out and start from scratch, I am getting old cached data of what my color ranges used to be, instead of what they've ...
2
votes
1answer
971 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 ...
2
votes
1answer
2k views

Showing positive and negative values in legend of ArcMap?

I want to draw this Legend by ArcGIS 10.2. This legend starts with a big blue circle and decreases in size till 0, then in 6 its bigger and red. I know its related to symbology and multiple attributes ...
2
votes
1answer
1k views

Continuous raster legend in QGIS map composer [duplicate]

Is it possible to make continuous raster legend in QGIS? Something like in ArcGIS???
2
votes
2answers
149 views

Is it valid to adjust quantile buckets to “nice” numbers for better readability?

I'm making a map about terrorist attacks and fatalities in CartoDB. For data clustering I'm using quantiles. The calculated buckets are 16, 32, 50, 97, 700. Is it okay to adjust the quantiles to make ...
2
votes
1answer
636 views

Legend label failed to send to print service using ArcGIS javascript?

I am try to print my map with legend to PDF format; however, the legend label in the PDF is saying Override 1 instead of the label I specified in class breaks. There are other maps I can print ...