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
15 views

Show/mark not visible labels (colliding labels)

If "show all labels, also colliding" is not active, some colliding labels will not show up. So far so good, but I would like to know, how often and where this happens and maybe why. Something like a ...
0
votes
0answers
34 views

QGIS 3.8 labels placement

On my layer the setting of the labels is: But all the labels do not appear, as if there was a limit on the number. Sample with some features Sample with all features: some labels have disappeared ...
1
vote
1answer
46 views

Labeling features in a given order within 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 ...
3
votes
2answers
30 views

Omitting certain style string labels in QGIS 3 rule-based labeling

I’m labeling airport taxiways. The taxiway labels are all strings but they tend to be one of three varieties and I would only like to show one of those. I’ve been trying to mess around with Rule-Based ...
1
vote
2answers
76 views

Advanced street name labeling QGIS 3?

I have problem where the street text elements overlapping place text elements in QGIS. Both elements are in separate layers. How to express in QGIS 3 that street name layer wont overlapping place name ...
0
votes
0answers
19 views

Labeling reference grid at centroid in ArcGIS Pro?

In ArcGIS Pro 2.3, is there a way to label the centre of the new reference grids with the grids name (as in picture below), or if there is no way to directly label, is there any method of turning the ...
6
votes
1answer
94 views

Stationing Callouts using VBScript Labeling in ArcMap?

I have a shapefile that I'm trying to produce a specific label for using VBScript. I'm using the values in the [MEASURE] field. "PI: " & INT([MEASURE]/100) & "+" & (ROUND(([MEASURE] - INT(...
1
vote
1answer
25 views

pyqgis 3 vector layer labeling settings dialog

I am working on a pyqgis standalone application with the latest QGIS 3 libraries and in python 3.7. I would like to allow users to modify any vector layer's labeling style, I know in QGIS program, one ...
5
votes
1answer
184 views

Defining area not to show labels in using QGIS?

In a QGIS 3 layout is it possible to define an area (that's being used as an inset) where labels should not be shown? So I have I'd assume that Position -- Above Map labels would work but the ...
2
votes
0answers
29 views

Changing vertical and horizontal position for specific label in QGIS?

I want to to change vertical and/or horizontal position of a specific label by editing the label properties. For that I put the desired layer into edit modus and clicked on the "change label" button, ...
2
votes
0answers
42 views

QGIS 3.8 label disappearance during XYZ Tiles generation

I make my own basemap with QGIS 3.8. On the map there are labels with X,Y coordinates. When I create XYZ export with QGIS processing tool, on the result some labels disappear. What is the reason for ...
3
votes
2answers
58 views

Using print composer name in a label

I want the title (a label) of my map in print composer to automatically contain the name I've given the print composer and also the date that it was created. For example I want it to say 'Really cool ...
2
votes
1answer
36 views

Rule-based labeling moved and overlapped

When I move my labels with the move label tool my double rule-based label is overlapping. I have tried to change the settings of its position but it is not possible to affect it once its moved. Any ...
0
votes
0answers
43 views

Some labels disappear depending on zoom (scale dependent vis is turned off)

for one layer I have an issue with a very few select labels disappearing depending on zoom level. See label "3" on the right in below screenshots. "Scale dependency" is inactive and "Show all labels" ...
5
votes
2answers
132 views

How to add text on top of symbols for vector layers in QGIS

I read the QGIS 3.2 Changelog and saw a new feature to add text on top of symbols for vector layers. Does anyone knows how to do this?
0
votes
1answer
57 views

Using Arcade in ArcGIS Online to customize labeling?

I am trying to clean up the labeling for a city zoning map using ArcGIS Online. To do this I need to trim the property address to only the numeric values, which has been accomplished, but due to ...
0
votes
0answers
38 views

Converting Python to Arcade in ArcGIS Online?

The following python expression can trim street addresses for labeling in ArcMap. I need to convert the expression to Arcade so I can retain the same labeling scheme when pushing my feature layer ...
1
vote
1answer
54 views

QGIS Label Expressions [duplicate]

I'm trying to create a label that will show the following: MP 23.6 The "23.6" is a double type column in my table, the "MP" is the text I want to add in front of it of the number (milepost). I am new ...
3
votes
1answer
52 views

Setting a Background Color with RVBT field with python

I'm trying to set the color of a background of a layer. To do this i created an attribute "Color" with the RVBT numbers associate to each feature. As in the picture, i want to set the color with those ...
2
votes
1answer
46 views

Turning one column to multiple columns in Attribute Table?

This is kind of a two-part question to see which route would be more efficient. I'm trying to display a label in a shortened version, but the info is all in one column: Township 1 South Range 20 ...
1
vote
2answers
30 views

Pixelated result using SVG as label background?

I have points that are labelled with a 2-digit numeric attribute, shown by default with a circle background (white fill, coloured outline of 1 map unit, buffer of 1 map unit beyond the label). I have ...
2
votes
0answers
19 views

Moving individual labels & rule-based labelling in QGIS

I have been playing around with labels and came to a problem. Hopefully someone can pinpoint whether I'm doing something wrong or there is a systemic hurdle in Qgis. Are you allowed to move labels ...
7
votes
2answers
115 views

Positioning multiple attributes separately in a label

I'm using QGIS I've got a basemap with the Texas landgrid for all of the counties in the Permian Basin. There are various attributes associated with the sections in the grid, but I only need 2 to ...
1
vote
0answers
36 views

If Then Statement, Python Label expression, ArcGIS Pro

I'm trying to create a Python label expression in ArcGIS Pro for a parcel layer where I only want to label the parcel when a street number in the Address field is present.If a street number is not ...
2
votes
1answer
43 views

How to set label color with setCustomProperty in QGIS2?

I can set most font properties like this: layer.setCustomProperty("labeling", "pal") layer.setCustomProperty("labeling/enabled", "true") layer.setCustomProperty("labeling/fontFamily", "Noto Sans") ...
1
vote
1answer
21 views

Label Boundary Placement in ArcGIS

I am using ArcMap 10.5.1, and I am having trouble getting my labels to draw somewhere besides the center of the map in layout view. I am using Maplex. The problem is that I have a polygon from a ...
1
vote
0answers
15 views

label-style preview in QGIS

When I want to load a layer style, I can open the layer properties and in symbology I get a list of styles I can choose from. On the left of each style I get a small picture that shows me a preview on ...
0
votes
0answers
37 views

Changing date format for labels in ArcGis Pro with label expression?

I am trying to use an expression to convert my date field to a simple %d,%b,%Y format. Right now it is in "%Y%m%d %H:%M:%S %z" How do I do it properly using Python to do this in ArcGIS Pro? Q&...
1
vote
1answer
59 views

Setting placement labels on “Offset From Point” with OffsetX,Y parameters in PyQGIS?

I'm trying to set properties of QgsVectorLayer using QGIS 3. I want to put labels with "Offset from point" and define "Offset X" and Offset Y". I saw on the documentary that there is a class "...
1
vote
2answers
42 views

How to not show labels that are under polygons of another layer in QGIS 3.6.1

I am editing the polygon layer by adding new polygons and moving them to new locations. When I place a polygon in a new location I would like any labels from the two point shapefiles that happen to be ...
4
votes
1answer
90 views

Getting label feature with PyQGIS?

I need get the label text for each feature in a points layer. I can read feature attribute using: layer = QgsProject.instance().mapLayersByName('layer_name')[0] features = layer.getFeatures(...
1
vote
0answers
53 views

Showing labels of feature on the edge of screen

My QGIS only shows labels on the center area. How to show labels of feature on the edge?
0
votes
1answer
17 views

QGIS 3.4 Saving Label Text Size, Placement, Wrapping, As Template

Is it possible to export & save formatted labels as a template in a file that can be opened in future projects? Ideally, it would save my manual label placement, text size, wrapped characters/...
2
votes
1answer
48 views

Getting label quadrant using PyQGIS?

How can I get the specified quadrant of a label using PyQGIS? The print statements below return 1 and 0 no matter which option I pick in the dialog. palyr = labeling.settings() print(palyr....
2
votes
1answer
38 views

Using multiple colors for labelling that depend on values in QGIS?

I would like to do labelling like this (3 rows): Location_name Time People My csv has 5 features Location_name Time AM/PM People A/K Based on the value of "AM/PM", I want the ...
1
vote
0answers
58 views

Show/Hide labels of Vector Tile layers on button click

I have displayed vector tiles layers with "application/vnd.mapbox-vector-tile" format in Open Layers 3.While creating vector tile I have applied only image style. I want to display labels for existing ...
2
votes
0answers
31 views

Labels location on print view way off IN QGIS

I'm having a weird issue with labels. I have two point layer files showing cities. They are both labelled using the same parameters (Around Point, 2mm from centre, etc.). They both show up fine in ...
6
votes
3answers
230 views

Creating second map without labels using QGIS?

I want to remove the labels in the second, smaller map. So far when I switch off all the labels and refresh only the smaller map, of course, the labels are not shown. But it seems like QGIS updates ...
0
votes
1answer
16 views

Geonetwork overlapping labels

the labels in GeoNetwork are defined as: <element name="gmd:codeSpace" context="gmd:RD_Identifier"> <label>Namespace</label> </element> but the problem is we also have a ...
1
vote
0answers
31 views

Why are the labels not showing when I load a .qml file in a standalone pyqgis script?

The first image is the final output that I have when I run my standalone script. The second Image shows the grid that I made and the sample labels that I want to put on my final output. I saved the ...
0
votes
0answers
20 views

Line to feature from label in ArcGIS Pro?

I want to have a line from each label to the features it labels. I am trying to a label a lot of features in a small space and need it to be clear which label coresponds to which feaure. How can I ...
0
votes
1answer
17 views

Are easements normally marked on county property maps? [closed]

There is a main gas line easement on the edge of our land, but the gas company is concerned about where the garden is. Would the line be marked well enough on a county map to say where the easement is?...
4
votes
4answers
173 views

Placing data-defined labels both by expression and manually

In my project layers (QGIS 3.6.2) I use data-defined label placement. I am trying to set up the placement as follows: By default, the placement chosen in Label Settings is used (in my case, "around ...
0
votes
1answer
31 views

Labeling Ortolines with GeoTools

I want to add labels with geocoordinates on the grid of the map. I have previously asked you this question and you have shared some code with me (How can I label the coordinate position of the grid ...
2
votes
1answer
23 views

Difference between Priority in the Positioning dialog and Z-Index in the Rendering dialog in QGIS

I studying the layer labeling options in QGIS and encountered two options which seem to be the same. If I understand the QGIS documentation correctly, the option "priority" within "Positioning" ...
0
votes
1answer
32 views

1:n relations in label expressions & general syntax

I've got a colleague who wants to create a (concatenated) label based on a 1:n relation between some shapes and related tables. They asked me if this was possible in QGIS - and I think it should. I ...
0
votes
1answer
48 views

Capitalizing and changing font/color in Label Expression using Python Parser of ArcGIS Pro?

Currently Using ArcGIS Pro 2.3.2 and Python. I am currently trying to label Road names, which are all uppercase in the database. I'm unable to edit the database but would like to Capitalize the road ...
2
votes
1answer
52 views

Import labels into QGIS

In ArcGIS, when I want to Label my layer, there are a number of label styles I can choose from. I would like to have that Feature in QGIS as well. For example, when I label my layer in a certain ...
1
vote
1answer
15 views

Including rotated label alongside stacked label in ArcMap?

I am trying to replicate the label that I have attached an image of. Is this possible in ArcMap? So far I have stacked 3 labels but am unsure how to: Create 3 individual boxes around the stacked ...
1
vote
2answers
253 views

OpenLayers: Keep text style label in visible polygon area

I have a feature with a polygon and a text attribute. The text attribute is displayed via a text-style above the polygons center. Nothing special and so far so good. The current behavior: I can move ...