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
11 views

Expression Builder/Data Defined Labels Equally Spaced along Y Axis

I want to create a series of labels that are organized vertically but equally spaced so they do not overlap. I am using some data defined expressions to organize them along the X axis just fine. ...
Rami Stucky's user avatar
2 votes
1 answer
47 views

QGIS: Displaying labels outside polygons for line features inside using field values

How can I display labels for line features in a QGIS line layer, where the label should appear outside a polygon if the line feature is inside the polygon, and otherwise appear as it is? I have ...
Anup Kumar Mohapatra's user avatar
1 vote
1 answer
26 views

How do I insert labels or annotate the points in a plot with multiple things?

I'm trying to make a simple study area map which consists of basin boundary shapefile, sampling points and river shapefile. Here's the dataframe of the sampling points: And here's the code to plot ...
mfirdaus_96's user avatar
4 votes
2 answers
105 views

Why QGIS expression display double at concave sections?

I am trying to display the vertices of a polygon with vertex number. In symbology, I have used the Marker line and font marker. . When the Line offset is -5 positive the text 'P7' is displayed far ...
neogeomat's user avatar
  • 8,370
1 vote
1 answer
52 views

Conditional Label Expression in ArcGIS Pro

I have a set of wells I am trying to label with contaminant data using python. I'd like the well name and constituents stacked but also formatted a certain way. This is what I have so far: def ...
Jeff Fitzgibbons's user avatar
5 votes
2 answers
218 views

How to curve text in QGIS layouts

I am wondering if there is a way to curve text inserted as text boxes in QGIS print layout. I am familiar with how to curve layer labels. But in this case, I want to curve text that is not tied to any ...
André's user avatar
  • 51
0 votes
0 answers
17 views

Simple label display for Z in XYZ is not showing up

I have a DEM that I converted to XYZ point features. I am trying to label each point using its Z attribute. I had something similar work fine a few months ago, but now I am unable to display the Zs. ...
Steve Miller's user avatar
1 vote
1 answer
48 views

Control labels connector position on line feature

In QGIS, how to control where the the connector line should join the line feature ? It seems to automatically adjust to either the middle or an end of the line feature, depending on the label's ...
greg's user avatar
  • 67
0 votes
0 answers
37 views

Using resolved values as a label in child table using only the defined Value Relation

I have a "Value Relation" defined to a parent table from a child one in QGIS 3.34.3: The attribute table shows the resolved value (species name) correctly: Same when I use the "...
swiss_knight's user avatar
  • 10.2k
3 votes
1 answer
64 views

Setting image as font filling in QGIS

Is it possible to use an image as a label font filling to have a result like in the following examples with national flags?
SirB1's user avatar
  • 183
0 votes
0 answers
10 views

Label conflict attribute prioritization in ArcGIS Pro

Is it possible to resolve label conflicts within a feature class using an attribute value? I have two points whose labels would overlap. These points have different numeric attributes and I'd like to ...
Elana's user avatar
  • 1
0 votes
0 answers
63 views

Covering labels in QGIS

I am struggling with a problem regarding labels, namely wanting to cover them using Mask. Unfortunately I can't remove or block them, which causes a lot of extra work. The problematic issue is in ...
Łukasz Maćkiewicz's user avatar
2 votes
2 answers
164 views

Conditional labeling in QGIS

I'd like to create a rule-based label in QGIS and wrote the following expression, but somehow it doesn't work - could someone tell me what's wrong? if( "FLN" > 0, "FLN" || '\n' ...
KodakAsis's user avatar
4 votes
2 answers
228 views

How to count points in percentage that are within an extension defined by two pairs of coordinates

Starting from a points geometry layer, my goal is to count points in percentage that are within an extension defined by two pairs of coordinates corresponding to the corners: The initial situation is ...
Ingrid Ingravida's user avatar
4 votes
1 answer
81 views

Offset QGIS label for vector field markers, rotate and anchor them so they are fixed regardless of scale

Working in QGIS 3.34.3 Prizren and have a points layer visualized as 2 blue vector field marker arrows (visualized by angles called angle rbear & lbear respectively). The grey arrow is the 3rd VFM ...
massivedaikon's user avatar
1 vote
0 answers
31 views

Labels not converting properly from SHP to KML [closed]

Since the last ArcGIS Pro Update (running 3.2.1), when I convert an SHP to KML, the labels are not populating correctly. I have everything set up correctly with the pop ups, the title, and the labels. ...
Danielle's user avatar
0 votes
1 answer
73 views

QGIS: Label angle and offset based on line symbol applied to point geometry

I have a line layer which is my project axis (red line in the picture). Along that layer I have created points with a spacing of 100 meters. Those point geometries are represented as line symbols. ...
Markus Lang's user avatar
4 votes
2 answers
309 views

Draw a line separating north and south quadrants passing through the centre point

I have a layer with irregular polygons. I use the expression point_on_surface($geometry) to calculate the centre of gravity: I would like a Geometry Generator expression to draw a line separating the ...
Nil Aspinall's user avatar
0 votes
0 answers
48 views

(QGIS) Creating a rule to hide labels based on their appearance on a list or array

I'm creating maps for a project, and I'm handling sensitive data. I have a list of species I can't display on maps. I would like to create a rule that checks if the value in column "species_name&...
Niles's user avatar
  • 1
0 votes
1 answer
46 views

QGIS Define fixed label placement offset from symbol bounds

I have the graduated-styled objects in QGIS by size. Now, when I want to place the label always next to the symbol on the bottom right, some labels appear partially inside of the symbol, and the other ...
Geographos's user avatar
  • 4,077
4 votes
1 answer
99 views

QGIS how to prevent label text from wrapping

I have a polygon layer and am using single labels with an expression that creates a three line label using three fields: Label expression: "name" || '\n' || "report" || '\n' ||...
Tom Mackie's user avatar
4 votes
1 answer
179 views

Display only one label for overlapping points in QGIS

I have a point layer with some overlapping points but I want to display only one label per symbol. For line and polygon symbology there is the "Merged features" option to agglomerate ...
dmjf08's user avatar
  • 1,263
3 votes
1 answer
114 views

QGIS: show attributes of different colums in legend

I'd need to classify and display on a map different land cover symbols by its Corine Land Cover codes, but in the meanwhile I'd like to show them in legend as symbol (based on UDSCOD) + code (UDSCOD) +...
SirB1's user avatar
  • 183
1 vote
0 answers
15 views

Can I create leader lines in ArcGIS Online?

I have scripted labels in ArcGIS Online that display various attribute values. I have a box around the labels but also would like a leader line that points to the feature. Is this possible? I have ...
Bear's user avatar
  • 23
2 votes
1 answer
103 views

QGIS 3.22 - Label with comma as in attributes table

Good evening, I would like to label an area with decimal values. In the attribute table, the values are displayed separated by commas, but the areas are labeled separated by periods. Please help! ...
stefan's user avatar
  • 87
0 votes
0 answers
85 views

Labels automatically changing position from main view to Print Composer

I am working on a basic river map and when switching to the Print Composer, many of my labels are randomly moved. And not only they are changed on the default view on the Print Composer, but they keep ...
Trikelians's user avatar
0 votes
0 answers
23 views

QGIS 3.30 organize labels with callouts for point-features in a circle around the map center

My hope is to get labels with callouts for a point-layer spreading towards the edges of the canvas. I thought about make_line ( $geometry, closest_point ( overlay_nearest (make_circle( ...
René's user avatar
  • 1
0 votes
0 answers
29 views

Dynamic SVG Parameters yields only "?"

I have a folder with SVG files, which have the same name before the .svg extension as objects in a corresponding field of the attribute table of a point layer (place_town). I want to add specific city-...
Schorsch's user avatar
3 votes
1 answer
113 views

Insert label in layout with expression QGIS

I'm using the following expression that works correctly and labels a layer of points with the count function: case when "GRUP" = 1 then aggregate('points','count', "VAUEX", "...
emblematica's user avatar
2 votes
1 answer
42 views

QGIS labels missing when creating XYZ-tiles and using "offset from point"

I have an issue with some of my labels missing when I generate XYZ tiles in QGIS. I have tested a lot and it seems like they disappear when I use the label placement function "offset from point&...
Pia's user avatar
  • 21
4 votes
1 answer
127 views

QGIS expression to label the highest value that is nearest or within a polygon

I have a points geometry layer 'POINTS' with the field "ALTITUDE". And I have a polygon geometry layer 'POLYGONS' with the field "TERRITORY". I would need a labeling expression to ...
emblematica's user avatar
5 votes
2 answers
155 views

Drawing radius for minimal_circle and diagonal for oriented_bbox in QGIS

Based on the expressions: minimal_circle(collect($geometry)) oriented_bbox(collect($geometry)) I would like to use two expression that: For the minimal_circle draw the radius and label its length: ...
emblematica's user avatar
0 votes
1 answer
35 views

Overlapping labels from two layers. Looking for rule that labels from one layer overrule labels from the other

I am not a developer and I am asking for help to create a rule on label hierarchy across two layers. Specifically, I have a layer with rivers and a layer with towns. In case of an overlap of labels ...
Schorsch's user avatar
2 votes
1 answer
105 views

Basemap rotation - keeping labels facing down

I'm using QGIS Hannover 3.16.3. I often use Google basemap layers from the XYZ tiles. When rotating the maps the place names rotate with them. Is there a way of stopping this? Perhaps an alternative ...
Tom 's user avatar
  • 21
2 votes
1 answer
54 views

Border background of label wrapping individual letters

Using Qgis 3.28.14 I am trying to visualize labels with a background and setting the border of the background. The result I am having is wrapping each letter instead of the entire label How do I get ...
geotyr's user avatar
  • 426
1 vote
1 answer
78 views

Point shapefile has duplicate labels in QGIS

I have a point shapefile with a attribute table which has many rows. In the 'Location_Names' column there are occasional duplicates since some people live in the same location. Consequently, there are ...
Lina's user avatar
  • 223
0 votes
0 answers
29 views

QGIS Text Italics parallel with longitude

I'd like to italicize text labels in QGIS such that each character's vertical lines are parallel to the longitudinal line in a Robinson projection. I can't find a good example of this online to ...
Andrew Brysiuk's user avatar
4 votes
1 answer
192 views

Labelling a Map

I have a map I have made using python, matplotlib, cartopy and shapely. It has a coast, county borders, lakes and rivers. I also shade in districts, in the form of polygons, on the map in order to ...
Baz's user avatar
  • 77
0 votes
0 answers
22 views

Rebuilding labeling from ArcGIS Pro to ArcGIS Online

I have multiple layers in an ArcGIS Pro project with vbs scripted labeling. I have created a Web Map on ArcGIS Online that uses these feature classes. I wish to rebuild the labeling in ArcGIS Online ...
Bear's user avatar
  • 23
2 votes
1 answer
83 views

Create label expression that sums an attribute for features in a group?

I have pipes that have been assigned to a group (1, 2, 3, 4, etc). Each pipe also has a "Length" attribute. I am working in Pro 3.2.0 For each pipe group, I want to have a single label that ...
Zipper1365's user avatar
2 votes
0 answers
67 views

Existing Algorithms for label placement with callouts

I am thinking to answer the question here: Label placement with callouts in QGIS. I want to implement a kind of algorithm in python that will create 2 different columns [X and Y] that will be the ...
eagleadmiral's user avatar
1 vote
0 answers
40 views

QGIS rule-based labelling based on active symbology

I have a layer with rule-based symbols and rule-based labeling. Only one symbol group is supposed to be active at a time and the corresponding label should be activated. Can I link the labels to the ...
Dominik's user avatar
  • 11
2 votes
0 answers
64 views

Calculating label size with calculateLabelSize of QgsPalLayerSettings in PyQGIS

I want to calculate label size for specific features in the layer. I found calculateLabelSize function in QgsPalLayerSettings. When I use it QGIS crashes. Here is my code (I run it from the code ...
BlackTesta's user avatar
7 votes
2 answers
207 views

Defining extent to limit labeled area in QGIS

I have a road layer and "NAME" field. I activated labels, but I don't want to show the labels outside the raster in map canvas (not layout). The raster area is my study area (you can see a ...
Kadir Şahbaz's user avatar
1 vote
0 answers
35 views

QGIS layout; Sum values in layout attribute table only in map window

I have produced a layout showing the polygons of grass verges to cut, and have placed an attribute table listing name and area (in m2) on the layout. I have selected 'show only features visible within ...
Jex's user avatar
  • 11
3 votes
1 answer
182 views

Label placement with callouts in QGIS

If I create point data and label them with callouts, I have the following problems: The callouts will cross each other The Text is over the points It seems quite messy I want to automate this ...
eagleadmiral's user avatar
0 votes
1 answer
31 views

GeoServer SLD : Labels only showing in partial polygons

I have a GeoServer with a layer that is an SQL View containing a few polygons and a value. I made the SLD and I don't get why the label only shows up once in a while when the circle is partially out ...
James McGrath's user avatar
0 votes
0 answers
39 views

Label callouts problem

I'm using QGIS 3.34, I'm having difficulty with the option of label callouts. As part of my work, I want to produce a map with buildings and their addresses. There are buildings that have several ...
Jacqueline Tatiana BENITEZ's user avatar
1 vote
0 answers
112 views

How to force all labels to show but change distance from point in QGIS?

I'm hoping to set-up layer styling in order to show all labels but without overlap. I'd ideally like to do this where label move further away from the symbol if there is no space close to the symbol. ...
Anomalous Exploration's user avatar
0 votes
0 answers
63 views

How to Label Every Corner of a Polygon Layer

I have a township and range polygon layer on my map and I want the section number to be labeled in every corner (4 labels per feature). I've gotten the labels to generally place in corners by using ...
Nahotnoj's user avatar

1
2 3 4 5
47