All Questions
2,798 questions
3
votes
1
answer
159
views
QGIS scale-based callouts
Is it possible to have scale-based callouts?
I want to display callouts if I zoom out and the scale is larger than 8000.
I have tried rule-based labels and checked the scale range and set the minimum ...
0
votes
0
answers
78
views
Applying also the labels, assigning a .qml style file to a layer with PyQGIS
I'm working on QGIS 3.36 and I'd like to apply a .qml style file to a layer. Writing the following instructions of my code, the aspect of layer changes as I want it, but it doesn't load the labels ...
1
vote
1
answer
54
views
Setting precision for decimal values when labeling layer with PyQGIS
I am currently working on a project in which I need to turn on the "RESULT_PRE" field label so this is the code but the field holds decimal values and I want to give a precision of 3 digits. ...
0
votes
0
answers
19
views
Using VBScript Function "FindLabel" is not displaying the labels on Mobile Map Application
I created a Map with layers in Pro, one of the layers I used VBScript Function "FindLabel", when I created a Mobile Map App the labels of this layer is not showing on the MMPK file.
I tried ...
0
votes
1
answer
51
views
Labelling with unique value and concat
I would like to configure the labels so that they can meet these conditions:
a label by unique "MeasurementPointName"
for each unique value "MeasurementPointName" + "JarNam&...
0
votes
1
answer
22
views
Generating grid from polyline feature
I'd like to create a polygon grid based on polyline features, but I'm not sure which geoprocessing tools I need to use.
In the attached image I selected 3 different groups of polylines (each group has ...
1
vote
1
answer
26
views
Customizing label frequency of waterway river layer obtained by QuickOSM in QGIS
River labels of a 'waterway_river' layer obtained by QuickOSM are most of the time too redundant per river (see Image 1). You can reduce the number of labels with the label rendering option "...
1
vote
1
answer
53
views
Making multiple label placements for single feature in point layer in QGIS
I have a layer of points with placenames (2000+ features). I use subsets of the data for many projects (various themes that need different placenames, variable map scales for the same project, a main ...
0
votes
0
answers
21
views
Setting txt layer labels to different colours depending on values [duplicate]
I have found Setting different colors based on value when labeling using QGIS which should do what I want but I don't see the formula Icon highlighted in the answer.
QGIS version is Firenze.
This is ...
0
votes
0
answers
27
views
How to add label on each data point based in webgl points layer
I am building a webgl layer using WebGLPointsLayer. I want to add label on each data point. I have used FlatStyle and FlatText to build the style, because we want to apply filter to filter data based ...
2
votes
1
answer
63
views
The labels option "categorized" is not appearing in the properties' label tab
I have a fairly simple vector layer with the boundaries of federal, state, private, and tribal owned land. I want to color code based on these attributes, but when I go to the properties for that ...
0
votes
0
answers
12
views
Setting Rotate Label tool pivot/anchor point in QGIS 3.x
In older versions of QGIS 2.x, I recall the pivot/anchor point for interactive label rotation was the origin point of the selected parent symbol, seen as the red dot inside the middle of the 28 label ...
1
vote
0
answers
33
views
QGIS 3.34 How to avoid this coordinate overlap in the layout composer
I'm using PolyStrip and Atlas to generate some maps from a canal project, then using the angle of the plugin to orientation to the map in layout composer. But some grid coordinates just overlay ...
0
votes
1
answer
21
views
QGIS The grid line did not show in the layout
I'm currently working on a project using QGIS 3.38.2-Grenoble on windows 11. The data come from a DTM raster file that I exported to QGIS CRS: EPSG:3824 TWD97. The CRS for the grid I'm also using the ...
2
votes
2
answers
48
views
gdal_rasterize giving different pixel values
I want to count the number of polygons (in this case, protected areas) within a raster cell grid of a specific resolution. To do so, I have tried different approaches in R but, due to the database ...
0
votes
2
answers
42
views
Can't select Bold [closed]
I have a text in the layout, but can't select the bold option. I can do it through html, but the boldness ins't enough.
What is the problem?
I have the 3.36.1 version.
1
vote
0
answers
35
views
Print layout label using attribute table entry using QGIS
I am trying to populate a text label in a print layout with a value from a field in the attribute table for a single selected feature.
In my project I have one layer. I filter this layer down to a ...
1
vote
1
answer
39
views
Community Basemap Labels on top of other layers
I am trying to place the labels for the Community basemap on top of other layers in my map. With some basemaps, there is a reference layer that is added and you can place it at the top of the ToC and ...
0
votes
0
answers
43
views
Rendering only one label using QGIS
How do I render only one label per feature? (One Av. Bennett instead of 4).
I am using QGIS version 3.36.3 and the function merge connected lines to avoid duplicate doesn`t seem to exist.
1
vote
1
answer
89
views
Placing a label below a point in PyQGIS
I'm working on Python Console with Qgis vers. 3.36. I would place some labels below some points. I saw just in this forum other question about this issue, but I think the way how to act in this case ...
7
votes
1
answer
96
views
How to label the sum of a field in another layer based on proximity
From two layers with point geometry, I use the following expression to draw a line from the 'POINT_LAYER_2' layer to the 'POINT_LAYER_1' layer.
make_line($geometry,overlay_nearest('POINT_LAYER_1',$...
2
votes
2
answers
83
views
Making label same color as feature using PyQGIS
I created a rule-based symbology with the following code:
symbol_10 = QgsSymbol.defaultSymbol(lyr_10.geometryType())
renderer = QgsRuleBasedRenderer(symbol_10)
# Definindo as regras: rótulo, expressão,...
0
votes
0
answers
40
views
QGIS 3.28 - Point cluster symbology sum attribute
I'm with some trouble to label this cluster map and need help showing the sum of the 'count' attribute. I'm using this expression aggregate( @layer_name,'sum',"count",filter:=intersects($...
1
vote
0
answers
35
views
Labels defined with QGIS Expression and custom function not rendering in QGIS
In QGIS 3.34.5 I have a vector layer in QGIS with a large amount of attributes.
I want to generate labels that only show relevant attributes. To do that, I define a PyQGIS function that takes a ...
3
votes
1
answer
97
views
Setting labels to be the "Blocking" type using PyQGIS
I'm trying to apply the Blocking label on a layer using PyQGIS but with no success. I also would like to be able to set the obstacle weight as well.
Here is my code so far:
from qgis.core import ...
0
votes
0
answers
61
views
QGIS - Convert labels to annotation
I have the following question:
In QGIS 3.26, is there an option to convert labels to annotations, just like ArcMap does?
I have searched and have not found an answer to my question. What I found was ...
4
votes
1
answer
147
views
Preventing labels from being placed too close to other features in the same layer in QGIS
I am working on a QGIS project where I need to prevent labels from being placed too close to features within the same layer. My aim is not just to avoid label overlaps, but to ensure that labels are ...
1
vote
0
answers
35
views
QGIS Label Placement Engine Ignoring Straight Lines
I've been digging into the label placement engine in the new QGIS version (3.38.2-Grenoble) and it's doing something odd: It doesn't seem to even suggest candidates on certain parts of line strings, ...
0
votes
0
answers
24
views
QGIS Layout Template - Draw Coordinates Buffer
Is there a way to create a buffer (e.g. 2cm) to prevent the coordinates drawn around the edge of a map from overlapping with each other or other features in the layout? I have experimented with ...
0
votes
1
answer
39
views
In ArcGIS Pro I wish to bold numeric values in my label based on if they are above a certain number [closed]
I wish to bold numeric values in my label based on if they are above a certain number in an ArcGIS Pro feature class. I am currently using vbscript for my labeling expression but am open to Arcade, ...
0
votes
0
answers
46
views
QGIS : "Labels settings" vs "text font" symbol libraries : how to use them distinctively?
Using the QGIS symbol manager, I defined a green text font :
I defined as well a red buffer label settings :
And now, i want to use them in my project :
I used the red buffer label settings. All is ...
0
votes
1
answer
40
views
QGIS showing extra vertical lines when using Natural Earth graticules
3.36 and trying to use the graticule shape file from natural earth for the area around the United Kingdom using the CRS EPSG:27700
I filtered the built in world shape file for the UK and then changed ...
1
vote
0
answers
53
views
Getting rid of the light grid lines when exporting map as SVG/PDF in QGIS
I have already tried changing the layer grid options in the Layout Settings and enabling the "Disable tiled raster layer exports" Setting in the Export Menu.
In the screenshot, you can see ...
2
votes
1
answer
74
views
QGIS - Create layout grid with lines at specified coordinates [closed]
I am using QGIS 3.34.7 (LTR), my project and layer CRS are EPSG 4326 (WGS84).
I have a need to create a 0.5 x 0.5 degree grid in a layout, one each of the x and y grid lines should intersect a ...
0
votes
0
answers
16
views
Grid Overlay widget to experence builder aplication
maybe someone is trying to move the Grid overlay widget from Web-app builder to the Experience-builder application and share it with me?
2
votes
1
answer
108
views
Position labels dynamically based on their point feature values
In QGIS I go to the layer properties and in the labels/positioning section in the 'Offset X, Y' field I click on 'Defined data overwrite' and enter the following expression:
'array("...
0
votes
0
answers
24
views
Sequential numbering with a prefix by grouped attributes [duplicate]
I need to label different groups of attributes sequentially. So for example I may have attributes with IDs A,B and C and I need to be able to pick out the 'A' group and number them with the same ...
2
votes
1
answer
78
views
Using the "tab distance" feature in QGIS labels
I want to define the distance between two fields in a label. It seems like "Tab distance" would be helpful for this but I don't know how to call the tab value in the label.
Screenshot of ...
2
votes
1
answer
63
views
Creating dynamic (more advanced) grid in QGIS
I have a scenario with a grid that I just can't get right with the default "create grid" function. The desired grid output is as the following:
I would like to create a grid that has offset ...
0
votes
0
answers
78
views
Extent Indicators and labels using ArcGIS Pro
I am looking for a way to show labels without extent indicators cutting through them in layout view. My current workaround is to transform to text and move manually.
Is there another way?
3
votes
1
answer
105
views
Drawing line defined by start and end points within attribute table in QGIS
I am creating a map with multiple labels. For these, I am using Points with Symbols because I have to be able to control the placement very strictly.
I would like to add attribute fields to the Point ...
5
votes
4
answers
491
views
When labeling, "Wrap on character" drops the wrap character
At 3.34.8, I have a polygon layer field containing the names of numerous Wilderness Areas, such as:
Sierra de las Uvas Wilderness
Broad Canyon Wilderness
I would like to label these polygons so that ...
0
votes
1
answer
47
views
QGIS crashes when I set the labels
I'm writing a script for QGIS, using the Python console. I noticed that when the script processes the rows about the label settings, when I delete the layer "terrFiltrati", QGIS crashes and ...
1
vote
1
answer
66
views
Show settlement labels on a map based on population and settlement density in different areas
Is it possible to show settlement labels based on population and settlement density in QGIS 3.36?
I have two layers of settlements:
Biggest Cities Layer: This layer contains the largest cities, which ...
0
votes
1
answer
44
views
Arcade labels not drawing in ArcGIS Online
I have a hosted feature service view that I would like to customize a label expression for.
I want to concatenate an abbreviation of one field with another field. I'm doing this in the Visualization ...
3
votes
1
answer
79
views
QGIS Labeling expression to format a values list in a series of 2 columns of 2 records
From a layer of overlapping points (identical coordinates) containing the field "RC", I'm using the following expression to make the label of unique values:
array_to_string(array_distinct(...
1
vote
0
answers
47
views
Adding data-driven command in PyQGIS
I want add to my code line which add option placed label based to data. I would use string in_mask(0) as string, because i want hide labels under the mask.
layer = QgsProject().instance()....
1
vote
2
answers
108
views
Labeling a multiline layer in QGIS
is there any methode to create a line next to my multiline feature indicating where it starts and ends and display the length (available as one of my fields) on it at the same time? Since my line is ...
1
vote
0
answers
49
views
Place labels as close to centroid as possible without collision in QGIS
In QGIS, I want to print a map to a PDF and use labels for my polygons with the following criteria:
Show all labels
The labels do not collide
The labels are placed as close to the centroid of the ...
1
vote
1
answer
90
views
Change labeling font color for different unique values in the same label class using ArcGIS Pro
First of all I am very new to ArcGIS Pro and it's my first GIS software.
I'm aware you can change the symbol for unique values in a label class, but can you change the color of the labeling so that it'...