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
1 vote
0 answers
15 views

Labelling / symbolizing layers using QGIS [closed]

I'm realizing the same analysis on specific layers on QGIS. I need to display a specific information (like showing code "xxx", then "yyy", then "zzz" etc.) and export ...
user avatar
  • 119
0 votes
0 answers
29 views

Create reference number based on direction of line

I'm looking to label a series of lines based on a direction of the trail rather than any cardinal direction (east to west, north to south, etc.) in QGIS 3.4 for Windows 11. For example, let's say I ...
user avatar
0 votes
0 answers
17 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 ...
user avatar
  • 1
1 vote
0 answers
13 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(...
user avatar
  • 859
4 votes
1 answer
120 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 ...
user avatar
1 vote
1 answer
44 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<-...
user avatar
  • 133
0 votes
2 answers
53 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 ...
user avatar
0 votes
1 answer
16 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
user avatar
1 vote
1 answer
55 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) { ...
user avatar
  • 197
2 votes
1 answer
32 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 ...
user avatar
1 vote
0 answers
50 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 ...
user avatar
1 vote
0 answers
43 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 ...
user avatar
1 vote
1 answer
32 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 ...
user avatar
  • 21
0 votes
2 answers
40 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 ...
user avatar
  • 601
-1 votes
0 answers
18 views

Appearing and disappearing exact feature and label in same feature class using Data Driven Pages in ArcMap

I have a feature class with many features in this layer and iam using data driven pages I want to just appear the selected feature and the label (length) , and disappear all other features and all ...
user avatar
4 votes
2 answers
58 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 ...
user avatar
  • 81
7 votes
3 answers
202 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 ...
user avatar
  • 71
0 votes
0 answers
14 views

labeling line on qwc2 - bad position

We use QWC2 to show lines of our energy-network. The lines are labeling with the name of the line (e.g. M30001 or M10001 like the screenshot). Unfortunately, the label is every time at the frame of ...
user avatar
  • 11
0 votes
1 answer
37 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. ...
user avatar
  • 3
2 votes
1 answer
70 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 ...
user avatar
  • 23
1 vote
1 answer
25 views

When moving layer labels the labels connect

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 ...
user avatar
  • 13
1 vote
1 answer
33 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 ...
user avatar
2 votes
1 answer
19 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 ...
user avatar
1 vote
1 answer
33 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 ...
user avatar
0 votes
1 answer
56 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?
user avatar
  • 1
0 votes
0 answers
15 views

QGIS: Exporting labeling information to PostGIS point layer

In order to comply with a given data model which is exported from a PostGIS schema, I need to export a set of label attributes (object id of labeled object, label text, label position, label ...
user avatar
  • 133
0 votes
1 answer
20 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 ...
user avatar
3 votes
1 answer
145 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?
user avatar
1 vote
1 answer
34 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 ...
user avatar
2 votes
1 answer
35 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 ...
user avatar
1 vote
0 answers
66 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 ...
user avatar
2 votes
1 answer
64 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 (&...
user avatar
1 vote
2 answers
54 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/...
user avatar
  • 443
1 vote
1 answer
59 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 ...
user avatar
2 votes
1 answer
58 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 ...
user avatar
0 votes
1 answer
34 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 ...
user avatar
2 votes
0 answers
55 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 ...
user avatar
  • 21
0 votes
0 answers
32 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 ...
user avatar
2 votes
0 answers
49 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 ...
user avatar
  • 21
0 votes
1 answer
27 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 ...
user avatar
  • 301
0 votes
0 answers
12 views

Making roads and labels appear or disappear based on scale using QGIS [duplicate]

On most maps, labels disappear the further one zooms out. For instance, on a local scale one can see labels for local roads and small towns, but on a national scale one can only see highways and major ...
user avatar
  • 1
0 votes
1 answer
37 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 ...
user avatar
  • 41
2 votes
1 answer
44 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 ...
user avatar
  • 333
0 votes
1 answer
72 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" ...
user avatar
0 votes
0 answers
12 views

Ordnance Survey geopackage opname_gb.gpkg labels

Ordnance Survey geopackage opname_gb.gpkg labels QGIS Tisler: QGIS version 3.24.1-Tisler ; QGIS code revision 5709b824 ; Qt version 5.15.2 ; Python version 3.9.5 ; GDAL/OGR version 3.4.1 ; PROJ ...
user avatar
0 votes
1 answer
67 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: ...
user avatar
  • 3,604
0 votes
1 answer
34 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,...
user avatar
  • 1
3 votes
1 answer
83 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). ...
user avatar
2 votes
1 answer
29 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?, ...
user avatar
0 votes
0 answers
32 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 ...
user avatar

1
2 3 4 5
43