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
0 votes
0 answers
36 views

Automatic Label positioning next to Line Layer in QGIS

My labels are always right on the line they are related to. I can´t find an option to automatically position them next to the line and not right on it. I think I tried all the options. I work with ...
Nina's user avatar
  • 1
1 vote
0 answers
37 views

Style rule based on qgsfunction not working in QGIS 3.22 #92

I'm using a QGIS style based on a function which returns the value of a layer variable passed through a pyqgis plugin : @qgsfunction(args="auto", group="toto") def color_trajecto(...
dmjf08's user avatar
  • 1,045
5 votes
1 answer
346 views

Parameters of the coordinate system for calculating the rotation of labels along latitude lines

I'm making a map of a rather large region and I need to set the angle of rotation for the labels so that they are parallel to the lines of latitude. I do it in three steps: I take the central ...
Vsevolod Tsukanov's user avatar
1 vote
1 answer
624 views

Map View in R: Labelling Name for Polygon in Map

I have created following choropleth map for cropland. The code I used is:- library(mapview) library(dplyr) library(sf) setwd("C:/Users/lenovo/Desktop/IEM") Province3Miscellaneous<-...
Walker's user avatar
  • 163
0 votes
2 answers
130 views

Placing labels at some distance from line when using callout

I want to label my lines, but I want to place the labels so that they don't overlap with the line, and preferably even with some distance to the line. I want have added callouts to show what label ...
Mads Skjern's user avatar
0 votes
1 answer
186 views

Show only one label for multiple points with same value in ArcMap

I have polygon shapefile which has same id . doesn't look nice with the normal label display I want show one block (multiple polygon ) by same name
Abdulrahman Barakat's user avatar
1 vote
1 answer
557 views

Changing label position based on circle marker radius in Leaflet?

I have a circle marker var circle = L.circleMarker(latLngCoords, { radius: 5, weight: 1, color: 'black' }).addTo(map); that changes the radius based on the map zoom: map.on('zoomend', function (e) { ...
LAffair's user avatar
  • 243
2 votes
1 answer
126 views

Filtering an aggregate function in a many to many relationship to only records related to current record in QGIS

I have two tables related as an N-M relationship: Sites: id, geometry Jobs: id, jobnum, ..... Sites_Jobs: id, site_id, job_id I want to define a label for the Sites layer that displays all the ...
Andrew Toole's user avatar
3 votes
0 answers
213 views

Merging vector tile polygons for perimeter labelling in QGIS

I'm working on recreating a base map style inspired from Mapbox Outdoors in QGIS. For this, I am using the Mapbox Terrain vector tileset as a Vector Tileset in QGIS. I can style features and add some ...
Titouan Launay's user avatar
1 vote
0 answers
73 views

Change color of a line segment from a new point layer

i have a shp with an infrastructure and I was wondering if I can change the color of its segments after doing a snap of a point from a new layer on a the line vertex. The infrastructure has start and ...
Matt Marston's user avatar
1 vote
1 answer
529 views

Adding a column to a Google Earth Engine feature collection and add names to it using ID

I am new to Google Earth Engine(GEE) and I think my question may have a very simple answer. We can easily assign names to a point shape file by using Arcmap and Field Calculator but I don't know how ...
Hesam's user avatar
  • 21
0 votes
2 answers
83 views

Substituting label using QGIS

I want to modify my labels "CA Vex Eté Mé (Cou)" with the substitution option (my qgis version is 3.22) I don't understand why for this label it doesn't work. Is it related to parentheses ...
fcka's user avatar
  • 799
4 votes
2 answers
71 views

Labels Background - one per letter and not one per label when using curved placement in QGIS 3.20.3

When using Background on labels I expect it to show one homogeneous background, but instead I get one background per letter. It only occurs when I use "Curved" placement for the label. Is ...
JoanB's user avatar
  • 81
7 votes
3 answers
450 views

QGIS labels with multiple rule based icon

I'm learning QGIS. I have drilling locations showing on a map with a specific SVG icon (D1 and D2). I also have my labels showing the name of the soil sample taken in each drilling and the ...
c morin's user avatar
  • 71
1 vote
1 answer
621 views

Forcing label text into one line using ArcGIS Pro

I've encountered this problem where my labels are split between two or three lines, making them quite tall instead of wide. Is there a way to force them into one line? For instance, I have: 9. ...
Quercu's user avatar
  • 13
2 votes
1 answer
477 views

Using many label colours in ArcGIS Pro

I would like to label a polygon feature class by 1 attribute class; however I would like the colour of the text of the label to change dependent on the value of the attribute class I know that in ...
Solomon's user avatar
  • 23
1 vote
1 answer
131 views

When moving layer labels they stick together

in my qgis project i have a layer with multiple points. I labelled all of these points different and suddenly when i move the layers they "connect" all on the same spot and i cant split them ...
Domenic's user avatar
  • 13
1 vote
1 answer
70 views

Is it possible to overline labels / text / strings in QGIS 3.x?

I would like to overline the denominator in these fractions. Underlining the numerator would result in too short a line when the numerator is shorter than the denominator. The numbers in this image ...
user99006's user avatar
2 votes
1 answer
22 views

QGIS misidentifying fields attribute type

In trying to build a simple expression to sum data into clusters I've used the following statement: sum('MTO heat map_Total','MTO heat map_Grouping') The value 'MTO heat map_Total' is an integer ...
Mark Clarabut's user avatar
1 vote
1 answer
105 views

Labels in QGIS 3.22.4 are not showing up for two polygons

I am delineating forest stand types and need each stand labeled. Stands 2 through 7 show labels, but for some reason unbeknownst to me, stands 1 and 8 are not showing. I have Googled the heck out of ...
Anna Hubbard's user avatar
0 votes
1 answer
105 views

QGIS contour layer

I have a contour layer with 50m interval for the sea and the land. I want to keep only the labels for the sea, specificaly I want to appear only the rates<=0. Do you know any expression to do that?
Eva's user avatar
  • 1
0 votes
1 answer
86 views

Convert labels to annotations is messing up the label format

Has anyone else experienced this before? For a few of the projects I've been working on (but not all, so this doesn't happen all the time) I have features that I want to label with these fairly large ...
Chandler Pod's user avatar
3 votes
1 answer
184 views

How to remove rectangle around label

I am using QGIS 3.16.10 Hannover. Whenever I activate a label it also shows a lot of rectangles around the label. Does any one know how to remove them?
Lars.nature 's user avatar
1 vote
1 answer
141 views

QGIS Print Layout expression for selected features in project

I have a selected feature in the project that is symbolised differently. I can see it in the print layout, but the is_selected expression returns a false. I need to label only this feature in a text ...
Philip Viljoen's user avatar
2 votes
1 answer
128 views

Categorizing field and summing attributes for label in QGIS

Using QGIS, my goal is to group "FSA"s (postal code or zip code ordering) into larger regions, and have data labels labelling these larger regions. The labels themselves would be the sum of ...
Mark Clarabut's user avatar
1 vote
0 answers
424 views

QGIS Add dynamic text in layout from selected feature's attributes

I have a layer called ERVEN with property details from which I select a property/ies. I create an automatic layout from a plugin. In the layout, I need to add dynamic text. The text will be certain ...
Philip Viljoen's user avatar
2 votes
1 answer
158 views

Get coordinates on click without using QgsMapToolEmitPoint

I have a code that reacts to a mouse click. I click on the label of an object and get the ID of this object. Everything works perfectly. But I need to do all the same when some other tool is active (&...
Vsevolod Tsukanov's user avatar
1 vote
2 answers
170 views

MapServer : background buffer around labels ( GEOMTRANSFORM 'labelpoly' )

I'm struggling on MapServer trying to create better and smoother background buffer around labels using GEOMTRANSFORM 'labelpoly' function documented here https://mapserver.gis.umn.edu/mapfile/...
Nono's user avatar
  • 453
1 vote
1 answer
688 views

Round and truncate numeric label in ArcGIS Pro

I have a numeric field that I'd like to use as a label in ArcGIS Pro, but would only like to show the first two digits of that field. For example, The value in the table is "7,903,043" but I ...
Paul Foster's user avatar
2 votes
1 answer
214 views

QGIS: Layout Manager->Legend->Format numbers

In a layout, I have a legend with concentrations that are very low values with high precision. The preferred option is scientific notation. I employed the recommended expression in Is it possible to ...
Dallon Weathers's user avatar
0 votes
1 answer
205 views

I need label expression in python to stack labels for points present at same geometry

I have a data set that has stacked points. I need to display the labels as one. The dataset has locations that only have 1 point and some that have 2 or 3 stacked points. I’d also like to be able to ...
Dilshad Raza's user avatar
2 votes
0 answers
113 views

Combining labels for multiple points in ArcMap

I have a data set that has stacked points. I need to display the labels as one. I've seen this solution Can labels for overlapping points be combined/merged into one label? but it only works for a ...
Ryan's user avatar
  • 21
3 votes
1 answer
143 views

One label with different fonts

I managed to have a decent result and I am seeking a better way to do it. Please see the image below. So far, to achieve the result in the image, I have tried: Rule-based labeling: It's basically two ...
Guillaume Royer's user avatar
2 votes
0 answers
154 views

PyQGIS - QgsPalLayerSettings - Vector Labels Scale Visibility

I've created a script to automate loading layers from different sources. This includes dxf files that have a LineString layer and a Point Layer. For the dxf files I want to turn off the symbols for ...
sparker's user avatar
  • 21
0 votes
1 answer
47 views

Eliminate label duplicates of spatially close objects

I am using a MapTiler vector basemap. It is showing labels for all streets, including highways. These highways often use multiple objects and each object gets their own label. Especially on bigger ...
e-shirt's user avatar
  • 511
0 votes
1 answer
131 views

Using lblClass.expression to outline labels in ArcPy with ArcGIS Pro

I'd like to add outlines to my labels using ArcPy. This seems simple enough by modifying Esri's Background text formatting tag, but I haven't been able to make it work. My code works just fine (minus ...
Daniel's user avatar
  • 61
2 votes
1 answer
91 views

QGIS dynamic calculations in a label

In order to show a label with different values, I use "concat". Now, I want to show a label with the numbers from that field, multiplied by a number (or the value from another field). I want ...
Gilles's user avatar
  • 333
0 votes
1 answer
110 views

QGIS Regex expression label

I'm trying to use regex expression to label my layer in order to show the parcel number. Here is some examples of what i'm looking for : From this "53042A0027/00M002", to "A27M/2" ...
Florian Marlière's user avatar
0 votes
1 answer
238 views

QGIS multiple CASE WHEN doesn't work in rule-based labelling

I have the rule-based labelling provided for my labels, inside which I want to make other distinctions. Unfortunately, the multiple CASE WHEN seem to be not valid, as I get an error: Parser Errors: ...
Geographos's user avatar
  • 3,759
0 votes
1 answer
523 views

ArcGIS Pro: Control which cities are labelled on the basemap

I am creating a zoomed in map of a city (Nottingham, UK), and on the layout I have an extent indicator, showing where Nottingham is found in relation to the rest of the UK. On the extent indicator map,...
Rose's user avatar
  • 1
3 votes
1 answer
158 views

Making marker label rotate with marker using QGIS

I have an arrow marker (svg) that I use for photo location and direction on maps. Under the arrow I want a label that is the number of the photo (photos by number are located elsewhere in a report). ...
Mathew Gibson's user avatar
2 votes
1 answer
181 views

Keep labels upright when QGIS map rotated in layout relative to canvas

I have the following in my canvas: I have rotated it to fit in my layout: I have attempted several methods, e.g. Is there a way to interactively rotate labels in QGIS using any of the edit tools?, ...
MonkeyCousin's user avatar
1 vote
1 answer
341 views

Can't create Auxiliary Storage layer in QGIS in order to move labels

When I try to move a label for a point in a layer called 'Places', I am prompted to choose a primary key, but when I select the fid column, I get the error 'Unable to execute 'CREATE TABLE IF NOT ...
Matthew Law's user avatar
0 votes
1 answer
111 views

Bulk rotate of the label for point layer in QGIS

I would like to have all the labels rotated for my point layer. To be honest I need this in a batch process. If for example, I have 2 points in a row I would like to have all the labels rotated for ...
Geographos's user avatar
  • 3,759
1 vote
1 answer
330 views

Match label color to polygon color

I have a polygon layer in which I'm labelling each polygon on the map. I am trying to figure out how to make the label colour match that of the underlying polygon (with a white buffer around the label ...
grego's user avatar
  • 973
4 votes
1 answer
145 views

Curved labels on curved arrows

I have straight lines in a metric CRS, connecting two points. So each line has exactly two vertices. I want to display these lines as curved arrows with curved labels above these arrows. QGIS version ...
MrXsquared's user avatar
  • 31.2k
0 votes
1 answer
384 views

Using Arcade labelling to sum area of an attribute for a specific a project

I'm struggling to create an expression to sum the total area of a project for a certain attribute. The areas are continuous so I'd like to be able to create a label that had both the features acres ...
MoeS's user avatar
  • 71
0 votes
0 answers
48 views

SLD style - pointN: position the label in the lower left corner

I am trying to position the label in the lower left corner. The idea is to get the vertex using the pointN function. But the label is not showing anywhere. Validation and legend preview is OK. Here ...
ncica's user avatar
  • 892
1 vote
2 answers
73 views

Automatically making labels go in certain location of Legal Land Locations in QGIS [duplicate]

I am working on a project in AB, Canada, and I am trying to find a good way to show quarter sections on my map. Each quarter section (as the name implies) has four sections. Is there anyway I can make ...
Erioderma's user avatar
  • 375
5 votes
2 answers
145 views

QGIS defining the nth character where the label could be wrapped

I have the labels, which include a few of the same characters "/". Unfortunately, I cannot simply use the "Wrap on character" option, because it wraps everywhere where this ...
Geographos's user avatar
  • 3,759

1 2 3
4
5
45