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.
2,329
questions
3
votes
2
answers
366
views
QGIS - Duplicate Labels
I have a dataset of points with data at different depths:
e.g as a csv file as follows:
"ID","DEPTH","VALUE"
"BH01","0.5","10"
"BH01","2.0","50"
There will be multiple points with the ...
1
vote
1
answer
440
views
Label placement over other features and labels in ArcGIS Pro
I need place labels regardless of collisions with other layers. I use ArcPy and CIM. I need to place the label in the center of the polygon. At the same time, I need it not to change its position or ...
1
vote
1
answer
159
views
Deleting Custom Label Placements in ArcGIS Pro
I was doing some trial and error by creating Custom Label styles and placements and have achieved what I set out for. Problem is, I've got a few 'bad' custom label placements I want to delete and only ...
1
vote
1
answer
1k
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 ...
0
votes
1
answer
39
views
Ignore labeling when field has specific word - ArcMap 10.8
Looking to add a function of my labeling expression to not label feature with the word 'TO". For example, some roads are named '5th TO I-10'. I am using Python as the parser with advanced checked....
1
vote
1
answer
337
views
Downloading and importing labels for CanVec Named Features (Code 1580010) layer (Natural Resources Canada)?
I used the CanVec symbology toolkit (described at Canvec Symbology in ArcGIS Desktop?) to symbolize all the downloaded data but now I am wanting to download and import labels or a procedure that I ...
2
votes
1
answer
836
views
Use multiple colors in the same OpenLayers label
I made the following code that assigns a style to the field labels.
Now I would like each word or group of words in the label to be a different color previously selected by the user.
For example if we ...
3
votes
3
answers
6k
views
How to export labels from QGIS to CAD?
When using the export function via Project -> Import/Export my labels do not appear in CAD afterwards. I checked the "Export as MTEXT" box and tried using different scales. But I cannot ...
6
votes
1
answer
257
views
Using Arabic labels in QGIS
In QGIS 3.30 I am trying to render labels in Arabic. When I turn on the labels, the Arabic text appears mirrored compared to how it is correctly written in the attribute table.
Does anyone have any ...
0
votes
1
answer
357
views
Making Chart label and ranging vertical axis in Google Earth Engine
Does anyone know how to make labels place in the same position, though it is on or in the graphic? And how to change the range of vertical axis. In the following picture, we can see the range of ...
0
votes
1
answer
49
views
Display symbols only when labels are displayed
On the map I have symbols (points) and labels for all municipalities with more than 10.000 inhabitants. Due to the fact that some parts of the desired area don't have municipalities with more than 10....
4
votes
1
answer
247
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 ...
3
votes
1
answer
118
views
Labeling with comma as in QGIS Attributes table
In QGIS 3.22 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 labelled separated by periods. Please help!
...
0
votes
0
answers
32
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. ...
2
votes
1
answer
59
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 ...
4
votes
2
answers
110
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 ...
1
vote
1
answer
35
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 ...
5
votes
2
answers
236
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 ...
3
votes
1
answer
71
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?
1
vote
1
answer
58
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 ...
0
votes
0
answers
18
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. ...
1
vote
1
answer
52
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 ...
0
votes
0
answers
45
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 "...
4
votes
1
answer
83
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 ...
1
vote
0
answers
12
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 ...
4
votes
2
answers
1k
views
Creating different kind of outline for many polygons in QGIS
Is it possible in QGIS 3.4 Madeira to change stroke width on number of polygons?
But I want only to outer boundary be different thicker line and I want to inner boundary remains thinner.
Example:
All ...
0
votes
0
answers
65
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 ...
1
vote
2
answers
542
views
Change color of top of interstate shield in ArcGIS Pro
I would like to know how to change the color of the top of an interstate shield text symbol in ArcGIS Pro. The default interstate shield symbol is a blue shield with a red top. In the text symbol ...
2
votes
2
answers
173
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' ...
1
vote
1
answer
262
views
AGOL Published Service - Changing Label Decimals
I published a service from ArcGIS Pro and would like to change layer decimal places for the label in AGOL. Option A is to republish and correct the labels in ArcGIS Pro but wanted to see if there is ...
4
votes
2
answers
231
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 ...
0
votes
1
answer
186
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 ...
4
votes
4
answers
4k
views
Generating chainage nodes and labels along line each 10 meters in QGIS
I have a line defined by a start and end node. I’d like to insert a node every 10m spacing and label it with the chainage (distance along the line).
I thought I could insert nodes every 10m then ...
0
votes
1
answer
83
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. ...
2
votes
4
answers
2k
views
How to customize polyline label offsets in QGIS?
I have a polyline layer in QGIS representing hectometers along a railroad. I have added labels to this layer representing the hectometer number:
However, the project I am currently working on ...
1
vote
0
answers
38
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. ...
4
votes
2
answers
312
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 ...
3
votes
2
answers
888
views
Strip map with horizontal labels in ArcGIS Pro
I've created a strip index page for my map series in ArcGIS Pro using the Generate Rectangles Along Lines tool. My problem is that the horizontal labels do not rotate with the map frame on the layout. ...
0
votes
0
answers
49
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&...
0
votes
1
answer
47
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 ...
4
votes
1
answer
103
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' ||...
4
votes
1
answer
186
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 ...
3
votes
1
answer
119
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) +...
12
votes
3
answers
29k
views
How to label GeoJSON polygons?
I'm using Leaflet combined with GeoJSON features. Is there a way to label GeoJSON features (in this case - polygons)? It should get labels from
feature.properties.name
This is my code where I ...
1
vote
0
answers
16
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 ...
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 ...
0
votes
0
answers
25
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( ...
2
votes
1
answer
48
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&...
7
votes
1
answer
658
views
Showing labels as they will be printed/exported in my print layout?
I set up a print layout for a map I want to print in QGIS. Some of my layers have labels on them. When I zoom in and out in the screen, without changing anything else on the print layout, some labels ...
0
votes
1
answer
83
views
Preventing labels from vector overlapping raster using ArcMap
I have vector file of say Sewer lines with diameter as their labels. Against some of the sewer, georef. images are placed. While displaying all together, line labels do appear over the raster file.
I ...