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
0answers
12 views

Labeling a joined (one to many) layer with the number of feature joined to it in ArcGIS Online

Using ArcGIS Online, I performed a one to many join with a buildings layer (one) and a table of internal cameras (many). This produced a layer showing buildings and allows me to scroll though all the ...
3
votes
2answers
67 views

Adjusting format labelling view through map scale

I am using 3.10 QGIS. I want to set the label view adjusting with map scale when zoom in zoom out. Here is an example. I want to make the zoom out, on the 2nd picture, label adjusting to the map ...
1
vote
1answer
18 views

Setting leader line properties of annotation feature classes

How does one go about setting leader line properties with an annotation feature class? When I reduce the size of the font of the annotation, the leader line stays the same size, so currently I have ...
5
votes
1answer
69 views

Label direction check

I want to visualize direction of river's course by an arrow placed next to the river's name label. I have an idea to place the blue arrow as a text in front of my label or at the end of my label, but ...
0
votes
1answer
14 views

Move polygon label on geoserver layer by css style

I wish to change label position of polygon in Geoserver layer (custom local osm map), like that: but I don't understand how. label-anchor: was ignored. my style: * { font-family: "DejaVu ...
1
vote
1answer
29 views

QGIS label text to raster

I created a multi-point shapefile and added number text to show as labels around the centroid of each point. Is is possible to rasterize the points and labels? I was thinking I could create a PDF and ...
1
vote
1answer
25 views

ArcMap labels that come from different fields

I am trying to make labels for a feature class called m_GraveLotSingle. I have a field that is called "Raised_Flat". If the field is "RAISED" I would like it to show the label of ...
1
vote
1answer
38 views

Leaflet GeoJSON Polygon Label Remaining in Frame when Zooming

I have a polygon layer being loaded into Leaflet in GeoJson format. When using the code below I'm able to get labels for each feature to appear at the center but they remain fixed there. I'd like for ...
1
vote
1answer
61 views

Add halo to label in QGIS print composer with a specific font (using HTML)

I am using HTML code to buffer a label in QGIS Print Composer, as described in Question 84324. Sadly, this code also changes the font and I can´t change it back using the font size dialog. I´m not ...
0
votes
1answer
52 views

Python 2.7 stand alone script for compounded with statement. Errors 'column specified does not exist - but it does

I'm writing a standalone Python script to use for labeling ArcMap 10.7 data. (Want to avoid label expressions for portability, etc). I'm attempting to use ID attribute to label based on ADMIN_ORG ...
3
votes
2answers
35 views

Limit number of data points rendered

I am trying to render cities on the map, using Geonames’ dataset (source). I have downloaded the top 10000 cities as a GeoJSON file, and loaded it into QGIS. However, when I zoom out, this shows too ...
3
votes
1answer
62 views

Labelling each single diagram sector with value in QGIS

I'm working with QGIS 3.10, using the diagrams function for vector layers. Is it possible to label each single diagram sector with an attribute / calculated percentage? I read this article: Label QGIS ...
6
votes
2answers
176 views

Removing two letters only if they appear at end of a field in QGIS labels

I am trying to remove the letters 'a' and 'o' only if they appear at the end of the field 'name' while labeling. For example, I'm working with names like: Ontario, Manitoba, Alberta, Quebec, Nova ...
2
votes
0answers
21 views

Labels not rendered at all scales of map composer, QGIS 3.10

Like the title states, my labels aren't rendered at all scales of the map composer. This makes it very difficult to move and position them since I can't always see where they are. Exporting the map ...
0
votes
1answer
33 views

Create a map label in ArcMap 8 with information from 3 fields

How do I create a map label in ArcMap 8 with information from 3 fields? I want a label to contains information from the following fields: Label, Land_Use, Acres. I want 3 line label. Top line has ...
0
votes
0answers
26 views

Why does QGIS try to jam some of labels to end of line geometry and not others?

My east-west (B) line is labeled as I would expect but the label for the north-south line (A) has the label stuck at the end. This is the result of the label engine and I think (??) I have tried ...
1
vote
1answer
30 views

QGIS hide labels in layer panel

I have a line layer with a rule-based symbology. For every rule I use a marker line. Can I hide single labels in my layers window? I don´t want two of the same labels. And I don´t want the markerline ...
2
votes
0answers
41 views

Multi-line and Multi-labels formatting in QGIS

I am trying to apply different text formatting (bold and italics) to multi-line labels in QGIS. I tried HTML tags as seen below, it show what I wanted in the preview below but it deosn't work on the ...
7
votes
1answer
131 views

Changing blending of contour label to multiply

I would like to label my maps like these in QGIS (image created using Photoshop): Image of contour label being shown on the contour lines with with white halo and then the colored raster layer above ...
4
votes
1answer
63 views

Labeling nodes with letters but removing last letter using QGIS

I want to label nodes of my polygon with upper letters. I got to the point where I am able to label them with the right style. What I still need to do is to dismiss the final letter because it ...
0
votes
0answers
16 views

Placing a label above a feature in 3D/Scene using ArcGIS Pro

Is it possible (using ArcGIS Pro, 2.5.1) to manually or by derived extrusion (i.e. from a DTM) set the height of a label to sit/float above a feature? I see you can use an extrusion but that requires ...
0
votes
1answer
24 views

ArcMap 10.7 Python Label Expression - compound. expression verified but will not label. Syntax issues

I have road ID labels in a string field that need to be parsed down. I'm using the python advanced label expression. I've removed the preceding '0s' successfully as well as some known text. I need to ...
1
vote
0answers
23 views

QGIS 3.4.11: Labels disapear from map when exporting as picture from the print composer

My question is basicly how to solve the issue mentioned in the topic. I have a map, where labels (city names) are visible both in the project and in the print composer. But when I export the map as a ...
1
vote
1answer
21 views

How to combine labelling with limited boundingbox when plotting a geodataframe

I am trying to plot a limited boundingbox of my geodataframe setting up some x and y limits to the ax. Everything works but the labelling. This is my piece of code and current result: fig, ax = plt....
0
votes
1answer
28 views

Overcoming zoom level problems for layer offsets in QGIS

In this question I was able to align some labels with polylines representing hectometer points along a railroad. I did this using custom expressions in the "data defined" portion of the labelling tab ...
2
votes
4answers
95 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 ...
0
votes
2answers
63 views

Labelling polygon with multiple values from Attribute table

What is a good way to put a list of names in one polygon feature? For example, I'm creating a County Facilities layer. There are cases when you have multiple departments in the same building. I don'...
1
vote
2answers
77 views

Manually moving multipart label results in disappearing labels

When I attempt to move a multipart label, all of the labels except for the one I am moving disappear. For example, when I move the lower "2-C" label (Figure 1) the upper two "2-C" labels disappear ...
0
votes
0answers
24 views

Force to Display All the Trail Names on a Map in QGIS

I have been testing ways to force all the MTB trail names to be visible on an OSM map I am styling in QGIS. I can see them as red unplaced labels and there is room on the map to display them yet they ...
0
votes
1answer
49 views

Getting elevation data from DEM

I'm trying to extract elevation data from a DEM file but I can't make it work. I want to extract contour lines from a given area, and label those lines with the proper elevation value. The problem I'...
-1
votes
1answer
24 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
90 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
158 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
32 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
34 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
76 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
27 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
8 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
20 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
19 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
17 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
17 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 ...
1
vote
0answers
32 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
41 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
35 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
76 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
28 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 ...

1
2 3 4 5
35