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
0
votes
0answers
13 views

Different label class if field ends in a 'C' [on hold]

If a field ends in a 'C', then I want to label differently than if a field ends in anything else.
5
votes
1answer
40 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 ...
1
vote
1answer
33 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
71 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 ...
0
votes
1answer
23 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
0answers
19 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. ...
4
votes
1answer
58 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 ...
0
votes
1answer
18 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
1answer
38 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 ...
1
vote
0answers
49 views

Multiple labels [closed]

I have followed tutorial for labelling from multiple columns, e.g. name and also grade. Looks correct in expression but nothing shows in output preview. Any idea where I am going wrong?
2
votes
1answer
53 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 ...
7
votes
1answer
51 views

Rounding labels of raster values in QGIS 3.8

In QGIS 3.4 raster values were in label form rounded to 2 decimal places regardless of exact values of the given raster. Is there a possibility to reduce labelling of raster values in QGIS 3.8 to 2 ...
1
vote
1answer
26 views

Setting OpenLayers line labels by angle?

I want to write labels near linestring features on my map. I calculated but it works wrong. My layer style function is like following: layerFeatures = new ol.layer.Vector({ source: ...
1
vote
0answers
36 views

Labeling roads independent of the scale

I have the problem, that my labelled roads (name of the roads) changes when I also change my scale by zooming in or out. But I want a fixed size and position of the street names independent from the ...
2
votes
1answer
20 views

Fit Label to length of line feature at all scales

I have a shapefile with line features and an attribute table with placenames. Most lines are horizontal and they all represent label positions (orientation, length, location) on older, printed maps. ...
0
votes
2answers
29 views

Creating conditional stacked labeling in ArcGIS Pro?

I found a code example for what I'm looking to accomplish at Creating conditional stacked labeling in ArcGIS Pro? I want to display filter quantity and sizes for a school district per building in a ...
1
vote
1answer
35 views

QGIS Opacity issue with polygons and labels

I have a layer with a number of polygons. I can happily adjust the opacity of the polygons using the normal slider, but when I add labels to the polygons from the Attributes table the labels do not ...
0
votes
1answer
23 views

Labeling a GeoJSON with OpenLayers 5

I'm trying to put a label over a polygons. My polygons cames from a GeoJSON serialized by GeoDjango. I'm be able to categorize this polygons using the attribute "type" but I wanto to see the height as ...
0
votes
0answers
13 views

Label Formatting in ArcGIS Pro using Backgrounds?

I am formatting labels in ArcGIS Pro using the background tag . I'd like to simply increase the padding around my text(black area around my font in example) to improve legibility and spacing. Is ...
2
votes
6answers
123 views

Rule based coloured background for labeling in QGIS

I am a newbie working on QGIS 3.6 / Windows 10. I need to label a polygon layer which is categorised by colour. (pls refer to attached pic as a graphical reference) The labels need to have a ...
1
vote
1answer
27 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
47 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 ...
2
votes
1answer
59 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 ...
3
votes
2answers
34 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
87 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
22 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
99 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
28 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
185 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
31 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
55 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
46 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
165 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
92 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
45 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
59 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
49 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
39 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
21 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
120 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
44 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
46 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
43 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
73 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
47 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 ...