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

Questions tagged [labeling]

Rendering values from attribute tables as text on maps near their feature. For questions about legend labels use the [legend] tag instead.

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

Overlining text label in ArcGIS Desktop

I would like to know is there anyway to overline a text label like this in ArcGIS10.3.
2
votes
1answer
41 views

How to set priority of labeling?

My first map shows typical two-language map in Finland. I have used first rule green (finnish name) and after that rule magenta (swedish name). Labeling looks now a quite fine but still I want to add ...
0
votes
0answers
9 views

Labels on a different layers [closed]

Is there any way to have the labels on a different layer than the line work? When I bring information into AutoCad I want to be able to freeze the names not the lines.
1
vote
0answers
38 views

Defining buffer size when labeling text in QGIS?

I need to set label buffer size to near zero but I dont want to overlap labels. How to define buffer size when labeling text? Currently I am using labeling settings which is allowing all available ...
0
votes
0answers
29 views

Labeling using Arcade in ArcGIS Online

Advice on using Arcade to make "mimic" the capabilities of Maplex in ArcGIS Desktop or is there a template or "standard" for label placement and scale ranges using Arcade? To specify most of the ...
2
votes
1answer
53 views

Fine-tuning curved text positioning

I'm trying to label features using the geometry generator (QGIS 3.8). I used the following expression to build a simple circle : buffer(centroid($geometry), 500) In Placement i used Using Perimeter (...
8
votes
4answers
583 views

Labeling lines that are not within polygons using field calculator [duplicate]

I have two features. One line feature and another polygon feature. I want the line feature label not to appear when it is within a polygon similar to the one in the figure. That is, I want the label ...
0
votes
2answers
44 views

Labels with callout lines and save style for other data

I want to create a labeling with callout lines, therefore I use the geometry generator, like in this tutorial: https://gist.github.com/kgjenkins/1af82a8ffdc3c99bb886e6cd9cdc298f It works fine and I ...
1
vote
0answers
32 views

Display labels set from within QgsProcessingAlgorithm in QGIS 3.x?

I'm writing a simple QgsProcessingAlgorithm and I need to set some labels (to display the azimuths of the sides of a polygon). I can set the labeling expression alright (the expression is properly set ...
0
votes
0answers
17 views

Annotation displaying differently in map than in text properties box of ArcMap

I am using ArcMap 10.5. I created an excel spreadsheet with fields and lat longs that I used to Add XY Data, convert to shapefile, label, then convert labels to annotation stored in the map document. ...
3
votes
2answers
57 views

Rotating legend item labels in QGIS Layout Manger?

I want to create horizontal legend in QGIS (v 3.8.0). Is it possible to rotate legend item labels in Layout Manager?
4
votes
0answers
38 views

Displaying images as part of multiattribute labels using QGIS

I would like to display images referenced in an attribute column as part of a multiattribute label, so that I can eventually print them with the map. I do not want to display geotagged images, since ...
2
votes
0answers
28 views

Get position/rotation of free labels in QGIS

I want to export the position and rotation of labels with placement "Free" as I need them in Mapbox, which has inferior label placement compared to QGIS. I've tried with various polygon-to-point ...
1
vote
1answer
59 views

Problems with labels while using Value relation

I'm using the value relation widget to populate fields from a .csv-table with values corresponding to a chosen value. I don't know why, but the label caption displayed on the map is showing the key ...
0
votes
1answer
50 views

Labels not displaying after calling arcpy.da.SearchCursor

I'm attempting to create labels for a feature class that labels each feature "[ParentFeatureName] - [ThisFeatureID]". I found a code snippet on Esri support that should fit the bill (with the variable ...
1
vote
0answers
34 views

Labeling feature with table using ArcMap?

Is there a way to write an expression that puts the variables into a table like in the sample image? I can do it manually like in the sample but I will be making about 150 maps, so it would be way ...
0
votes
0answers
11 views

Is there a way to automatically prevent the QGIS print/layout composer from letting grid labels overlap?

I am currently using QGIS 3.6.1 and have just discovered the magic of the Atlas functionalities. Unfortunately now that almost everything is automated I need to find an automated way for QGIS to know ...
2
votes
2answers
124 views

Label with different fonts and sizes from a field in QGIS 3.8.3

I received a shapefile from Arcmap. It has a column for label representation. Here's an example: 'PP3<FNT name ="SymbolMono BT" size ="11">g</FNT>gc2'. In Armap the codes are replaced and ...
2
votes
1answer
87 views

Shorten leader-line for labels with geometry-generator

QGIS 3.8, Win 10. I have labels that are connected with the points they represent with a leader-line. The line is generated with geometry generator (going from the point-layer to the position where I ...
0
votes
0answers
42 views

Take color from other layer with data-override/expression

QGIS 3.8, Win. 10. In addition to a question asked earlier, I want to set the color of text-buffers to adapt to the color from another layer in the background. I have a shapeburst-style background (...
1
vote
0answers
40 views

Define color for label-buffer with data-defined override/expression

In QGIS 3.8 (Win 10) I have a Point-Layer with labels in a certain distance and leader lines, created with geometry-generator. The leader lines in some cases cross below the label and are masked by a ...
5
votes
1answer
44 views

Restricting label/line drawing to 45 deg. lines?

I've followed this tutorial to be able to move label positions and draw lines to connect them to the label dots, but I'd like to restrict the line drawing to 45˚ angles. Is there a way to do that? I ...
1
vote
1answer
35 views

Labels not loading using Arcpy

Has anyone every had any issues with ArcGIS not loading the labels that are set via ArcPy? I've only inserted the code that labels two created layers that are made earlier in the script. # uses the ...
4
votes
2answers
78 views

Label polyline with vertex numbers

In QGIS 3.4.8 I can label vertices with their vertex number by using the following expression for a Font marker symbol: @geometry_point_num But, the expression only seems to count the vertices ...
0
votes
1answer
26 views

The same labels show up on different points across a layer

I am making a map of a bicycle tour I took on ArcGIS. I have created a layer called "Sleep Stops". Furthermore, I have created 3 label classes called "Name", "Favors", and "NotableFacts" I have ...
-1
votes
0answers
27 views

Creating segmentation masks for high resolution images?

I have some very high resolution satellite 30cmx30cm images. I am trying to label some things in the images using polygons or masks. How do I go about creating segmentation masks for this images? ...
4
votes
1answer
63 views

Clustering only if name attribute is same using QGIS?

I have a point layer on a world map with several attributes. Each point marks the position of a berth at a terminal in a port in a certain country. When I zoom out, it's getting too crowed so I ...
0
votes
1answer
23 views

Definition Queries for most recent date in ArcGIS Pro

I have a feature class containing sample results for locations that includes thousands of records. Many of these are overlapping and have the same location ID. I need to label each sample based on the ...
0
votes
1answer
46 views

Adding label to map layer by clicking feature or similar action in QGIS?

I have searched the web (including stack exchange) quite extensively and haven't found anything. I've tweaked the 'repeat' setting on the label position tab on a line layer to where it labels enough ...
1
vote
0answers
49 views

Multiple labels [closed]

I have followed tutorial for labelling from multiple columns, e.g. name and also grade. Looks correct in expression but nothing shows in output preview. Any idea where I am going wrong?
2
votes
1answer
65 views

Exporting shapefile to KML with labels

In QGIS, When exporting my point shapefile to KML, points label are not visible in Google Earth Pro. I follow these steps: In QGIS, my point shapefile has a name attribute Right click on the shape ...
7
votes
1answer
67 views

Rounding labels of raster values in QGIS 3.8

In QGIS 3.4 raster values were in label form rounded to 2 decimal places regardless of exact values of the given raster. Is there a possibility to reduce labelling of raster values in QGIS 3.8 to 2 ...
1
vote
1answer
28 views

Setting OpenLayers line labels by angle?

I want to write labels near linestring features on my map. I calculated but it works wrong. My layer style function is like following: layerFeatures = new ol.layer.Vector({ source: ...
1
vote
0answers
37 views

Labeling roads independent of the scale

I have the problem, that my labelled roads (name of the roads) changes when I also change my scale by zooming in or out. But I want a fixed size and position of the street names independent from the ...
2
votes
1answer
20 views

Fit Label to length of line feature at all scales

I have a shapefile with line features and an attribute table with placenames. Most lines are horizontal and they all represent label positions (orientation, length, location) on older, printed maps. ...
0
votes
2answers
32 views

Creating conditional stacked labeling in ArcGIS Pro?

I found a code example for what I'm looking to accomplish at Creating conditional stacked labeling in ArcGIS Pro? I want to display filter quantity and sizes for a school district per building in a ...
1
vote
1answer
36 views

QGIS Opacity issue with polygons and labels

I have a layer with a number of polygons. I can happily adjust the opacity of the polygons using the normal slider, but when I add labels to the polygons from the Attributes table the labels do not ...
0
votes
1answer
23 views

Labeling a GeoJSON with OpenLayers 5

I'm trying to put a label over a polygons. My polygons cames from a GeoJSON serialized by GeoDjango. I'm be able to categorize this polygons using the attribute "type" but I wanto to see the height as ...
0
votes
0answers
14 views

Label Formatting in ArcGIS Pro using Backgrounds?

I am formatting labels in ArcGIS Pro using the background tag . I'd like to simply increase the padding around my text(black area around my font in example) to improve legibility and spacing. Is ...
2
votes
6answers
132 views

Rule based coloured background for labeling in QGIS

I am a newbie working on QGIS 3.6 / Windows 10. I need to label a polygon layer which is categorised by colour. (pls refer to attached pic as a graphical reference) The labels need to have a ...
2
votes
0answers
34 views

Custom formatting coordinate grid using QGIS

I am custom formatting my coordinate grid. Is there a way to change the following formula so that the output comes with a decimal and suffix? substr(@grid_number, length(@grid_number) -6,5) The ...
1
vote
1answer
30 views

Show/mark not visible labels (colliding labels)

If "show all labels, also colliding" is not active, some colliding labels will not show up. So far so good, but I would like to know, how often and where this happens and maybe why. Something like a ...
0
votes
0answers
51 views

QGIS 3.8 labels placement

On my layer the setting of the labels is: But all the labels do not appear, as if there was a limit on the number. Sample with some features Sample with all features: some labels have disappeared ...
2
votes
1answer
71 views

Labeling features in given order in QGIS?

I want to sort the address numbers where would show only the bigger number and smaller value should be suppressed away. I have used earlier ORDER BY-method when using PostGIS but now it isn't ...
3
votes
2answers
36 views

Omitting certain style string labels in QGIS 3 rule-based labeling

I’m labeling airport taxiways. The taxiway labels are all strings but they tend to be one of three varieties and I would only like to show one of those. I’ve been trying to mess around with Rule-Based ...
1
vote
2answers
104 views

Advanced street name labeling QGIS 3?

I have problem where the street text elements overlapping place text elements in QGIS. Both elements are in separate layers. How to express in QGIS 3 that street name layer wont overlapping place name ...
0
votes
0answers
23 views

Labeling reference grid at centroid in ArcGIS Pro?

In ArcGIS Pro 2.3, is there a way to label the centre of the new reference grids with the grids name (as in picture below), or if there is no way to directly label, is there any method of turning the ...
6
votes
1answer
99 views

Stationing Callouts using VBScript Labeling in ArcMap?

I have a shapefile that I'm trying to produce a specific label for using VBScript. I'm using the values in the [MEASURE] field. "PI: " & INT([MEASURE]/100) & "+" & (ROUND(([MEASURE] - INT(...
1
vote
1answer
29 views

pyqgis 3 vector layer labeling settings dialog

I am working on a pyqgis standalone application with the latest QGIS 3 libraries and in python 3.7. I would like to allow users to modify any vector layer's labeling style, I know in QGIS program, one ...
5
votes
1answer
188 views

Defining area not to show labels in using QGIS?

In a QGIS 3 layout is it possible to define an area (that's being used as an inset) where labels should not be shown? So I have I'd assume that Position -- Above Map labels would work but the ...