The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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

Labeling features in given order in QGIS?

I want to sort the address numbers where would show only the bigger number and smaller value should be suppressed away. I have used earlier ORDER BY-method when using PostGIS but now it isn't ...
72
votes
5answers
38k views

Displaying coordinates and inputs as LatLon or LonLat?

I'm trying to get a sense if this is an issue for others or every input/output should be labeled so user is not confused and just go with it? I think almost everyone pronounces it as "LatLon". Who ...
2
votes
0answers
34 views

Custom formatting coordinate grid using QGIS

I am custom formatting my coordinate grid. Is there a way to change the following formula so that the output comes with a decimal and suffix? substr(@grid_number, length(@grid_number) -6,5) The ...
-1
votes
2answers
579 views

Writing MapInfo Label Expression to label lots in format Map-Lot (017-001) with just Lot

I am trying to label map lots in this format Map-Lot (017-001) and I was wondering if there was a label expression that would allow me to only show the lot number and not the map number.
2
votes
1answer
39 views

How to set priority of labeling?

My first map shows typical two-language map in Finland. I have used first rule green (finnish name) and after that rule magenta (swedish name). Labeling looks now a quite fine but still I want to add ...
3
votes
1answer
45 views

Overlining text label in ArcGIS Desktop

I would like to know is there anyway to overline a text label like this in ArcGIS10.3.
0
votes
1answer
23 views

Definition Queries for most recent date in ArcGIS Pro

I have a feature class containing sample results for locations that includes thousands of records. Many of these are overlapping and have the same location ID. I need to label each sample based on the ...
0
votes
0answers
9 views

Labels on a different layers [on hold]

Is there any way to have the labels on a different layer than the line work? When I bring information into AutoCad I want to be able to freeze the names not the lines.
1
vote
0answers
38 views

Defining buffer size when labeling text in QGIS?

I need to set label buffer size to near zero but I dont want to overlap labels. How to define buffer size when labeling text? Currently I am using labeling settings which is allowing all available ...
5
votes
1answer
170 views

Multi-field labeling of shapefile with PyQGIS?

I wrote the following code in order to draw the line labels with multiple fields. However, the label do not appear automatically in QGIS and I have to switch the "Layer Properties/Labels", and toggle ...
2
votes
1answer
52 views

Fine-tuning curved text positioning

I'm trying to label features using the geometry generator (QGIS 3.8). I used the following expression to build a simple circle : buffer(centroid($geometry), 500) In Placement i used Using Perimeter (...
2
votes
2answers
718 views

QGIS 2.18 QuickMapServices basemap labels shrink when exported to PDF from Print Composer

For the love of all that is good on this Earth does anyone have a fix for this? When I export my print composer map in anything greater than 120 DPI the street labels from the ESRI Transportation ...
0
votes
0answers
28 views

Labeling using Arcade in ArcGIS Online

Advice on using Arcade to make "mimic" the capabilities of Maplex in ArcGIS Desktop or is there a template or "standard" for label placement and scale ranges using Arcade? To specify most of the ...
0
votes
1answer
26 views

The same labels show up on different points across a layer

I am making a map of a bicycle tour I took on ArcGIS. I have created a layer called "Sleep Stops". Furthermore, I have created 3 label classes called "Name", "Favors", and "NotableFacts" I have ...
0
votes
1answer
46 views

Adding label to map layer by clicking feature or similar action in QGIS?

I have searched the web (including stack exchange) quite extensively and haven't found anything. I've tweaked the 'repeat' setting on the label position tab on a line layer to where it labels enough ...
8
votes
4answers
583 views

Labeling lines that are not within polygons using field calculator [duplicate]

I have two features. One line feature and another polygon feature. I want the line feature label not to appear when it is within a polygon similar to the one in the figure. That is, I want the label ...
1
vote
0answers
32 views

Display labels set from within QgsProcessingAlgorithm in QGIS 3.x?

I'm writing a simple QgsProcessingAlgorithm and I need to set some labels (to display the azimuths of the sides of a polygon). I can set the labeling expression alright (the expression is properly set ...
0
votes
2answers
44 views

Labels with callout lines and save style for other data

I want to create a labeling with callout lines, therefore I use the geometry generator, like in this tutorial: https://gist.github.com/kgjenkins/1af82a8ffdc3c99bb886e6cd9cdc298f It works fine and I ...
3
votes
1answer
99 views

Symbolising with one expression and labelling with another using QGIS?

Edit - I forgot that I had posted this until I was searching for information on this. I have 2 land type layers (soil, vegetation types etc), one of the layers shows the land types for entire ...
0
votes
0answers
17 views

Annotation displaying differently in map than in text properties box of ArcMap

I am using ArcMap 10.5. I created an excel spreadsheet with fields and lat longs that I used to Add XY Data, convert to shapefile, label, then convert labels to annotation stored in the map document. ...
3
votes
2answers
57 views

Rotating legend item labels in QGIS Layout Manger?

I want to create horizontal legend in QGIS (v 3.8.0). Is it possible to rotate legend item labels in Layout Manager?
4
votes
0answers
38 views

Displaying images as part of multiattribute labels using QGIS

I would like to display images referenced in an attribute column as part of a multiattribute label, so that I can eventually print them with the map. I do not want to display geotagged images, since ...
0
votes
1answer
201 views

Filter diagrams with atlas coverage layer in QGIS

Please advise how I can hide diagrams outside of the coverage layer when using QGIS atlas function. I can do this for polygons,rasters etc without problem but whatever I do I cannot hide diagrams from ...
0
votes
0answers
2k views

Moving labels with “easy label engine” tool of QGIS

I am using QGIS 2.6 and looking for an similar tool like "converting label to annotation" as you can find it in ArcGIS Desktop. The "easy custom labeling" Tool in QGIS seems to come close to the ...
0
votes
1answer
50 views

Labels not displaying after calling arcpy.da.SearchCursor

I'm attempting to create labels for a feature class that labels each feature "[ParentFeatureName] - [ThisFeatureID]". I found a code snippet on Esri support that should fit the bill (with the variable ...
0
votes
1answer
81 views

Changing label placement (anchor point) using ArcPy?

arcpy let user automatically turn on the label, use label expression to save our time. is there a way how to change the position of the label like we use to do on label properties like screenshot ...
2
votes
0answers
28 views

Get position/rotation of free labels in QGIS

I want to export the position and rotation of labels with placement "Free" as I need them in Mapbox, which has inferior label placement compared to QGIS. I've tried with various polygon-to-point ...
7
votes
3answers
302 views

How to create a label containing values from different layers in QGIS

I have several layers which are stagged on each other. I need to create a label (or text-window / description, doesn't matter) which should contain values from different layers. Creating a regular ...
1
vote
1answer
59 views

Problems with labels while using Value relation

I'm using the value relation widget to populate fields from a .csv-table with values corresponding to a chosen value. I don't know why, but the label caption displayed on the map is showing the key ...
0
votes
1answer
38 views

Preventing ArcMap from labeling when creating grids?

I am using the Create Polygon Grid Wizard to make a large number of grids. Is there anyway I can stop ArcMap from drawing the grid labels as they are created? It seems to take much much longer to ...
0
votes
0answers
27 views

Creating segmentation masks for high resolution images?

I have some very high resolution satellite 30cmx30cm images. I am trying to label some things in the images using polygons or masks. How do I go about creating segmentation masks for this images? ...
1
vote
0answers
34 views

Labeling feature with table using ArcMap?

Is there a way to write an expression that puts the variables into a table like in the sample image? I can do it manually like in the sample but I will be making about 150 maps, so it would be way ...
0
votes
0answers
11 views

Is there a way to automatically prevent the QGIS print/layout composer from letting grid labels overlap?

I am currently using QGIS 3.6.1 and have just discovered the magic of the Atlas functionalities. Unfortunately now that almost everything is automated I need to find an automated way for QGIS to know ...
2
votes
2answers
123 views

Label with different fonts and sizes from a field in QGIS 3.8.3

I received a shapefile from Arcmap. It has a column for label representation. Here's an example: 'PP3<FNT name ="SymbolMono BT" size ="11">g</FNT>gc2'. In Armap the codes are replaced and ...
4
votes
1answer
748 views

Layer labels not showing properly on the composer

I'm currently working on a map for the different brazilian biomes. I have to label them and show it on my final map, but when I'm working on the composer, this happens: That's the exact size of my ...
2
votes
1answer
87 views

Shorten leader-line for labels with geometry-generator

QGIS 3.8, Win 10. I have labels that are connected with the points they represent with a leader-line. The line is generated with geometry generator (going from the point-layer to the position where I ...
0
votes
0answers
42 views

Take color from other layer with data-override/expression

QGIS 3.8, Win. 10. In addition to a question asked earlier, I want to set the color of text-buffers to adapt to the color from another layer in the background. I have a shapeburst-style background (...
1
vote
0answers
40 views

Define color for label-buffer with data-defined override/expression

In QGIS 3.8 (Win 10) I have a Point-Layer with labels in a certain distance and leader lines, created with geometry-generator. The leader lines in some cases cross below the label and are masked by a ...
5
votes
1answer
44 views

Restricting label/line drawing to 45 deg. lines?

I've followed this tutorial to be able to move label positions and draw lines to connect them to the label dots, but I'd like to restrict the line drawing to 45˚ angles. Is there a way to do that? I ...
7
votes
4answers
2k views

Change font size of label with data defined expression in QGIS?

I am trying to change the font size of the feature labels based on attributes from a field. I can't find an example of how to do this. I believe I can do this by setting up a data defined ...
3
votes
3answers
1k views

Move Label Not Working

I'm using QGIS 3.2 and want to manually move a few labels on a layer but when I try to use the move labels tool I can't move them. I can however rotate and change them using those tools. I looked in ...
0
votes
1answer
201 views

Creating label with number circle and field “1v” in ArcMap?

How to create a label which combines a circle number and field "1v" in ArcMap? For example: I need, a line the labels. My code label expression is: Function FindLabel ( [TOTAL_VIV] ) FindLabel = "&...
2
votes
1answer
1k views

Saving custom labelling (template) so it can applied to other feature classes?

I sometimes work with large NTDB datasets, and was just wondering the best way to go about saving all of my custom labelling. Is there a way I can save all of my custom label classes so I can apply ...
1
vote
1answer
35 views

Labels not loading using Arcpy

Has anyone every had any issues with ArcGIS not loading the labels that are set via ArcPy? I've only inserted the code that labels two created layers that are made earlier in the script. # uses the ...
4
votes
2answers
78 views

Label polyline with vertex numbers

In QGIS 3.4.8 I can label vertices with their vertex number by using the following expression for a Font marker symbol: @geometry_point_num But, the expression only seems to count the vertices ...
1
vote
2answers
112 views

Connect multipart polygon with lines to one label

I have several one-part and multipart polygons that I want to label. I Set X and Y values to move the label to a certain position and want to connect the label to the polygon using the following ...
4
votes
1answer
63 views

Clustering only if name attribute is same using QGIS?

I have a point layer on a world map with several attributes. Each point marks the position of a berth at a terminal in a port in a certain country. When I zoom out, it's getting too crowed so I ...
2
votes
1answer
508 views

Labelling using PyQGIS? [closed]

i want to label a point layer with those values exceeding a set of variables attribute table as follows 'loc field'(text),'a'(float),'b'(float),'c'(float) variables as follows vara = 5, varb = 3, ...
2
votes
1answer
65 views

Exporting shapefile to KML with labels

In QGIS, When exporting my point shapefile to KML, points label are not visible in Google Earth Pro. I follow these steps: In QGIS, my point shapefile has a name attribute Right click on the shape ...
2
votes
5answers
1k views

Labeling map logically? [closed]

How would you label this map logically? I will preempt the question, with the statement it is for a fire truck, so we really have to worry about seeing the address numbers at 3 am with one contact ...