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
votes
1answer
26 views

How to label line features dynamically with its length? [closed]

I need to label a line feature with its length dynamically so the displayed length will be updated as I edit the line geometry. Is this possible in either QGIS or ArcGIS?
3
votes
2answers
95 views

Leader lines that only appear when labels is at a particular distance from point

Is it possible to build an expression (or set the style) so that it will not generate a leader line when a label is within x-distance of a feature, but will generate a leader line when a label is ...
8
votes
1answer
228 views

Place label along line near start and end of line in QGIS

I have four fields managing the numbering of the start and end of road sections. I created two label rules, one for the start and one for the end of the road sections. I set the position of the ...
0
votes
2answers
31 views

Labeling just a few specific features within a point dataset [closed]

I have a dataset with 95,000 points/features in and all I want to be able to do is label just a few specific features! I have worked out how to label individual ones using 'Rule-based labeling' and ...
0
votes
1answer
73 views

Rounding numbers in a Python Label Expression

I'm having trouble rounding a percentage number using a label expression in Python. Just displaying the label as shown below is fine. def FindLabel ( [Deaths], [PercentageDead] ): if ([Deaths]) ==...
0
votes
1answer
36 views

Adding delta symbol in field cell for shapefile in QGIS

I'm just trying to add a delta symbol to label a feature for a shapefile in QGIS. I do this by typing the label in the appropriate cell during an editing session. I've tried copying and pasting Δ and ...
4
votes
1answer
112 views

Group points by expression to create pie charts in QGIS

Is the any way to group multiple points by attribute to make pie charts that shows types by locations? I have a layer with groups of points with two fields (group and type). Every group of points is ...
1
vote
1answer
33 views

Save MapContent issue with latitude/longitude lines

All labels for longitude lines at bottom and latitude lines on left and right of the map look fine when viewed in JFrame like the one used in https://docs.geotools.org/latest/userguide/tutorial/...
0
votes
2answers
33 views

Turn on labels for an ArcGIS dynamic MapServer layer

While I am generally knowledgeable about using the ArcGIS Server REST API to work with dynamic MapServer layers, this is the first time I have tried to turn on labels. Below is a call for a tile that ...
0
votes
0answers
9 views

Remove or disabling an item from Places menu within Google Earth

How can an item from the Places menu be removed or disabled while still displayed on the map? For example: Remove the yellow "Simple placemark" from the Places menu while keeping the yellow pin ...
2
votes
1answer
26 views

Clip text label in GeoServer

How can I auto clip text and append dots on a label if the current text is too long in GeoServer? Like in GoogleMaps: I only used AutoWrap option.
0
votes
1answer
24 views

Is it possible to draw labels behind other layers

According to my information, GeoServer always draws all labels at the end, over all other layers. Can we configure a label so that it lies behind another layer for example with surface geometries? ...
0
votes
0answers
32 views

How to remove duplicate labels using ArcPy in ArcGIS Pro

I have a script that uses AddDataFromPath() to add a layer from ArcGIS Online that is regularly updated to a map in ArcGIS Pro. My script then updates and displays the labels using listLabelClasses(). ...
1
vote
1answer
19 views

Using Python to label points with format dependent on date of measurement in ArcMap

I have a database of wells and water level measurements which I would like to label in a stacked manner with the ID on top and the measurement below it. If the measurement is from 2020, it should ...
0
votes
0answers
36 views

How to use the QgsLabelingEngineSettings() class to set labeling engine parameters in QGIS 3

I am writing a script in the Script Editor in QGIS 3.12, where I want to use the QGIS Python API (PyQGIS) to set parameters of the labeling engine in QGIS. I tried to use the QgsLabelingEngineclass, ...
0
votes
0answers
19 views

Problem getting labels when exporting GeoTIFF

I am exporting some maps to GeoTIFF in Arcmap 10.7 using a python script but, although the script works properly, I don't get the labels of the layers that are in the DF. This is the script I am ...
0
votes
0answers
51 views

QGIS2WEB Scaling fonts

I want to export a map using QGIS2WEB which mostly works fine apart from labels. I have some numbers I want to display inside circles. I have tried all the settings I can think of but I can't get the ...
1
vote
0answers
42 views

Using The Labeling Engine API vs. The simple labeling interface API in QGIS 3

I am working on a project where I am to label city maps. I want to label roads and buildings with text, and some point locations with symbols where I use SVGs and TrueType font. As labeling result, I ...
1
vote
1answer
122 views

Latitude labels location on map

Following Label coordinate position of Grid lines explanations I was able to create latitude lines every 10 degrees with labels. The values of the latitudes are drawn following the prime meridian (0 ...
2
votes
1answer
32 views

Set meridian label position and orientation

I have followed Label coordinate position of Grid lines to be able to draw meridians and parallels with labels. The meridian labels are placed at the Equator line and oriented in the direction of the ...
0
votes
2answers
110 views

Label placement overlapping

Is there a way to prevent labels from 2 different layers (province and city names)? This map of Argentina looks a bit messy as some labels are overlapping and become unreadable.
0
votes
0answers
51 views

arcgis pro labels disappear when importing symbology from .lyr file

I normally work with ArcMap 10.5 on a desktop, but with working from home have been using ArcGIS Pro 2.4. I had previously exported .lyr files of some layers from ArcMap and saved them to the laptop ...
0
votes
1answer
34 views

Labeling numbers on points in a row close together

In my map I have 76 points aligned on a row. Now I would like to force label each point with an attribute number. I don't mind how far the label is from the point as long that it is shown but of ...
0
votes
1answer
73 views

Getting field value in Print composer label

I am using QGIS print composer. I have so many images to export with a specific label. The text of the label is existing in a field of a layer. I have tried to use this expression attribute( ...
0
votes
0answers
54 views

Wrongs values returned using the Expression String Builder from the legend items

I want to use the Expression String Builder from the legend items in order to label items with another field. The legend has to be dynamic because I'm using the "Topological coloring" algorithm with a ...
1
vote
2answers
98 views

Qgis 3 - Rule-base labeling combining to backgrounds

I have a pointlayer with no symbology, but is labeled by numbers 1-74. The labels is styled with a circle background. For some of the points I need to keep the circle, but add a small SVG-symbol to ...
0
votes
1answer
21 views

Labeling feature class using ArcMap

I work with ArcGIS Desktop (latest version). I have a feature class called "space" that should be labeled. The label should look like this [room number] + "/ n" + [person] (python). But my problem is ...
3
votes
1answer
77 views

QGIS Data defined labels within a single layer - prioritize display

I am creating a world map where I want to make sure that certain countries with an incident are ALWAYS labelled automatically but the other countries are labelled ONLY when there is space to fit the ...
0
votes
0answers
26 views

Print Username in print composer of QGIS

Is it possible to use any expression to get the username of machine/computer and path of project while printing the documents in print composer of QGIS.
0
votes
1answer
32 views

Custom layer styling in QGIS [duplicate]

In QGIS, Can we render a layer's label as HTML to be able to style label partially? For example, a feature's label including two attribute, an attribute will render bold while the other one will ...
1
vote
2answers
279 views

Leaflet GeoJSON style and labeling

I'm trying to add a GeoJSON polygon layer from a file, give it a specific style and show the label (ToolTip) but couldn't find a way to do it in a single function call . I only found different code ...
6
votes
1answer
264 views

Styling substring of label with different style without creating two separate label rules?

This question has been asked in the past but those questions were either not answered or suggested solutions that required multiple labels separated by newlines and placement rules to simulate a ...
1
vote
0answers
42 views

Adding Text and defined placement to a label in SLD (from QML(QGIS))

I've created a beautiful rule-based Labeling format in QGIS 3.12. 1) I have added text to the labels. for example using the value : 'Beton' then the word Beton is added to the line 2) I also used ...
4
votes
1answer
72 views

Plotting a value above the line, at a certain distance from begin and end point

I am using QGIS 3.12 I am trying to find a way to plot a value above the line, at a certain distance from point 1 to the right, and at a certain distance from point 2 to the left ? The value is ...
7
votes
3answers
390 views

How to set vertical text direction in QGIS

I have some Chinese labels to display on a map and I want them to be vertical, as the picture shows. In another word, I want to rotate the label while keeping each character upright. How could I ...
0
votes
0answers
48 views

Why is QGIS not recognising altitude from CSV file?

I used the Google Earth method for creating a KML file of points with latitude, longitude, and altitude as necessary information. After that I converted the KML file to GPX and then to CSV, through ...
0
votes
0answers
30 views

Repeating feature labels

I believe this should be a very simple task, but I'm struggling with why it's not working - I'm simply applying street name labels to line features, I want the labels to repeat every 2000m. I've gone ...
0
votes
1answer
127 views

Coloring labels in color of features automatically in ArcGIS

I have map project in ArcMap. My labels on the map are one color. I want to color the labels in color as polygons, where the labels are places.
6
votes
4answers
804 views

Mask Labels in QGIS 3.12

New feature in QGIS 3.12 does not seem to work. And it looks different from shown in changelog https://qgis.org/en/site/forusers/visualchangelog312/#feature-selective-masking This is how it actually ...
0
votes
1answer
22 views

Issues with ArcGIS Pro and Python for Labeling Point Shapefiles

I am trying to take two separate columns of data and create a stacked label where the bottom line (Benzen_1Q_2019) will be red and a larger font, while the top line (Well_ID) will be a dark grey color ...
2
votes
1answer
56 views

Creating labeled points for polygon in OpenLayers?

We use Vue.js and OpenLayers 4.6.5. I need to create one new feature of polygon type from existing point features that are actually used as coordinates for that polygon. The issue is these points have ...
6
votes
2answers
178 views

Getting text name of current project CRS in QGIS Layout

I'm want to display the current project projection in a QGIS layout. Right now I can get QGIS to display the current EPSG number like below: But what I want to do is get QGIS layout to print the ...
7
votes
1answer
126 views

Simplifying label geometry in QGIS

I have a bunch of linear data (trails) stored in PostGIS and visualized in QGIS for cartographic production. Many trails have switchbacks, and are generally very "weavy", which makes for difficult ...
3
votes
1answer
158 views

Multi-labelling with different colors in QGIS 3.10

I would like to create a multi-field label based on an expression where the different fields will have different colors. Using an icon font, this will allow me to get this kind of result (done with ...
0
votes
1answer
43 views

Multiple labels for only selected features of one layer and multiple colors

I have a point layer in my QGIS project that displays a big number of addresses of a number of cities. In the map for each feature, I would like to display two values: The housenumber and the number ...
3
votes
1answer
222 views

QGIS character spacing in label inserted in print layout

I normally insert labels directly through Layer Properties, which allows one to vary character spacing. However, I need to insert labels in Print Layout for a particular project and cannot find a way ...
0
votes
0answers
12 views

Match land lots' label number with the parcel's label number above it

So, I want to match my Lot_Code with the Building Parcel number label. At first, I try to "Select by Location" as shown in the picture, but not all the Land_Lot inhabited by the Building Parcel are ...
3
votes
1answer
320 views

QGIS 3.10.3: label callouts are not appearing

The 3.10 changelog mentions that label callouts are now available. However I have not been able to get them to display, no matter what values and options I enter in the Layer Styling > Callouts ...
0
votes
0answers
54 views

QGIS rule-based symbolizsation - label just one rule

I have a line layer. I have created a rule-based symbology, with two rules. Now I want to create a labeling for just one of the rules? Right now the labeling is always visible in both rules. This is ...
0
votes
1answer
44 views

Labeling by using different columns

I try to label a layer by using a rule based labeling. What I specifically try to do is to find an expression which says: "If column 1 shows the attribut x then label layer "Test" by the attribute of ...

1 2
3
4 5
37