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
6
votes
1answer
5k views

Is there a way to set a fixed scale in QGIS?

In Arc, I am used to setting a fixed scale for the Data Frame, so when you zoom in and out the objects get larger or smaller. Is there a way to set a fixed scale in QGIS? At the moment, if you zoom in ...
0
votes
0answers
6 views

Image Segmentation tiff files for Object Detection

I have tiff files generated fro 12 bands of sentinel-2a data. I want to label each pixel of the tiff files as belonging to copper mine or normal. After labelling I want the image format to stay as it ...
1
vote
0answers
31 views

Labeling 2 different fields, stacked, with different fonts and colors

I'm using ArcGIS 10.6 I'm wanting to label some points features with the landing number and corresponding number of loads (I work in forest restoration). I want them to be stacked and have different ...
0
votes
0answers
20 views

When adding new features in QField 1.7.4, the label doesn't show up in the mobile project

Strange problem when working in the field on a mobile project: when I add a new feature in a point layer, the point is visible but the predefined label in the QGIS project doesn't show up in the ...
0
votes
0answers
56 views

Labelling point elevations of raster (DEM) using QGIS

I'm trying to create a map with spot levels using an underlying 1m resolution DEM TIFF file. My thought process so far is to create a grid of points with a height value field over the area of interest ...
4
votes
0answers
145 views

One-to-many labels in QGIS [closed]

The one-to-many relations in QGIS is OK with forms, works great. But how to labels or chart data with this one-to-many relations?
5
votes
1answer
282 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
2k views

How to show only some labels sharpmap

I am new to Sharpmap and GIS. Going through the sample code and building simple programs for better understanding. I have a water bodies layer. I want to display only a particular river. I used ...
1
vote
1answer
38 views

Exporting labels from QGIS shapefiles to AutoCAD with labels

I have shapefiles in QGIS. I want to import labels also in AutoCAD drawing. I tried to export DXF and open with autocad but labels not visible. How to import labels in AutoCAD?
2
votes
1answer
168 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 ...
4
votes
1answer
506 views

How do I limit the number of labels for similar objects in QGIS?

I'd like to reduce the clutter in this map by limiting the spacing or number of times that a particular label can appear. For example, the label 'US 15' should not appear within some set distance ...
2
votes
0answers
32 views

Multiple Text rows in QGIS divided by lines

My Problem seems rather simple but I had no sucess for over a day now. Basically I have multiple (polygon) shape files that need text information in them (or if the shape is to small outside of it ...
1
vote
1answer
35 views

Is there an OpenStreetMap label layer?

Is there an OSM label layer available? This same question was asked 7 years ago. I neither see such a layer in the OpenLayers plugin nor QuickMapServices. I'm working on a project with a 50% ...
0
votes
0answers
22 views

Failing to have visible features in ArcMap 10.5

How do I increase visibility of my map? Feature labels are too tiny and features are too blurred. I am using ArcMap 10.5. I tried to change the resolution to 3000 dpi but still didn't work out. I also ...
0
votes
0answers
20 views

Label data points in Leapfrog Geothermal [closed]

I have UTM coordinates for various geothermal spring locations. All of the springs have labels (1,2,3 etc) in the CSV file but I can't figure out how to display the spring# on my map. I have the ...
0
votes
1answer
128 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 ...
0
votes
1answer
106 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 ...
1
vote
0answers
62 views

Label not showing in QGIS 3

I created a line by importing a delimited CSV file and the line appears fine. I can add a label on the line by using the "begin" or "end" attributes but not the "Name" ...
3
votes
1answer
36 views

Unable to join double type data into a label expression

I'm struggling to include the field data from a double type attribute in a label. I've managed fine to pull in the data from the "Code" and "Features & Remarks" columns... I ...
3
votes
4answers
797 views

Filtering out labels surrounding active feature in Atlas

Let me put it this way, if I’ve tried data-defined rendering and the common featureid expression and it’s still not working - and I think one or both options should - what basic thing could I be ...
1
vote
1answer
32 views

How do I prevent labeling outside of the current atlas feature polygon?

I want to create an atlas which is based on region polygons. I use inverted polygons and rule based styles (inverted polygons) for the polygon layer with the rule $id = @atlas_featureid which works ...
2
votes
1answer
31 views

QGIS 3x label wrap line expression for individual record

I want to set the text wrap for the one label only. I prepared formula such this: CASE when "fid" = 12 then wordwrap (6) End based on the thread here: Labeling using 'wordwrap'...
5
votes
2answers
87 views

QGIS 3x setting scale-based label opacity

I would like to decrease the opacity of my layer when zooming out. I prepared something like this: Case When @map_scale>1750 Then (1 - transparency) * 255 End It doesn't work. The similar ...
2
votes
2answers
46 views

QGIS label text break in data attribute table

I would like to have my visible label text broken, which is too long. I found some solution here: How to split text attribute by characters in QGIS? but applying the expression to my example: left( ...
2
votes
1answer
36 views

Draw label outside polygon, if it not fit's inside (MultiPolygon, QGIS)

I would like to label polygons (parts of multipolygons) inside IF the label fits completely inside, else the label should be outside with a call out. I tryed that, as you can see in the screenshot: I ...
1
vote
1answer
22 views

QGIS 3x setting scale-based label color

I want to have a different color for my label when zooming out. I've prepared an expression, which is not valid CASE if(@map_scale>1750, (color rgb 128,128,128)) else "...
1
vote
1answer
33 views

QGIS auxiliary rotation of the label not working properly

I am using the rotation feature from the main panel at the top. Unfortunately it doesn't work properly for all the labels. I've categorized my labels, so now I have the "Black" category and ...
2
votes
1answer
55 views

Displaying label outside canvas/map extend in QGIS

The first picture shows my map with cadastre (black lines), points with label (orange squares/ red numbers) and a printframe (blue rectangle). The second picture shows what I want in print layout. It ...
0
votes
1answer
295 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
2answers
29 views

QGIS print layout labels size respective to polygon shape

I am working with a tax lot shapefile with attributes such as ownership, addresses, account numbers, etc. I am trying to create a map with the ownership name of each polygon. My problem is that some ...
1
vote
1answer
28 views

QGIS 3x combining auxiliuary label rotation with the expresion

How can I combine these 2 features in the expression box? "auxiliary_storage_labeling_labeldistance" and CASE WHEN "fid" = 31 Then 34.0 WHEN "fid" = 54 Then -62.0 ...
0
votes
0answers
13 views

Label appears completely different in Layout-view than in exported image in QGIS using maptiler plugin

I'm using the maptiler vector tiles plugin in QGIS to have a base map that I can style a bit. There is a problem however. I'm seeing this in the layout-view: I don't like that the line to the ...
6
votes
1answer
68 views

Categorizing label customization in QGIS

I need to set different font sizes and different colours for my text strings, which appear in QGIS 3.x labels. I found a solution at Setting different colors based on value when labeling using QGIS ...
6
votes
2answers
8k views

Setting different colors based on value when labeling using QGIS

I want to label my values in a specific color. They are all in the same shapefile which makes it complicated. For example: if value is 10, it should appear in blue if value is 15, it should appear in ...
0
votes
0answers
17 views

QGIS 3x Label doesn't move when moving the point feature

I want to move my label and basically set some expressions for it. Unfortunately since I started to use the data attribute table auxiliary columns for location and movement, my layer is not really ...
3
votes
1answer
58 views

Prevent marker from moving in QGIS when zooming

I was wondering how I can prevent the movement of my markers when zooming out in QGIS. I have this sample image of Auckland on a larger scale where everything seems to be ok: Then I zoom out a little ...
2
votes
1answer
67 views

QGIS expression for setting label visibility by scale

I am using QGIS 3.x and struggling with the labels and I would like to have some expression for setting the visibility of some layers based by scale. How can I make some of them disappear? I tried: ...
1
vote
1answer
33 views

Elevation lines label positions (select manually?) in QGIS

I have a layer of elevation lines in QGIS. Now I want to create a map that shows a certain extent of this layer and shows the labels for certain lines (ideally once for every line). So far, this isn't ...
3
votes
1answer
785 views

Changing the label color with the Expression Dialog in QGIS 3.4.1

I want to separate two labels and then coloring each one separately, using QGIS 3.4.1. So, I was trying to color a label within the Expression Dialog. However, I could not figure out how to wright the ...
1
vote
0answers
27 views

QGIS 3x switching off label callouts

I need my label callouts switching off. Basically I know how to do it. I am clicking on the label info ("Change label properties" I the main toolbar, then just switching off "Show ...
0
votes
0answers
15 views

Label properties not switching to selected layer for labelling

In ArcGIS Pro my labelling properties is "stuck" on one layer i.e. not switching to allow other layers, fields and classes to be manipulated (the field do not change based on the selected ...
1
vote
1answer
31 views

Set rule-based label then blocking

In QGIS I have a rule-based label. I ALSO want to set the blocking (prevent the label from being overlapped by other features / labels). However, when I try to do this, my rule-based labeling is ...
0
votes
1answer
42 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 ...
1
vote
1answer
41 views

Manually placed label still moving

I'm working with QGIS 3.14. First I created my two fields "x" and "y", then I activate them on the label/placement window and I begin to work on the map: I found that labels who ...
2
votes
1answer
142 views

Setting QgsLayoutItemLabel position by map coordinates in QGIS

I am making a layout export function and I would like to create a QgsLayoutItemLabel at a given latitude and longitude. But in QgsLayout the position is relative xy (150,100). Is there a way to ...
0
votes
1answer
70 views

Using Label Expression with multiple fields and assign different colors

I'm trying to use an expression to label a layer by using multiple fields, and assign different colors using QGIS 2.16. In ArcGIS I am able to achieve this using the following expression: def ...
2
votes
1answer
282 views

Improving Maplex placement when ArcMap callouts cluttered

I use ArcMap 10.2 to produce map document containing a lot of label boxes with line callout. Sometimes, I have so many labels that leaders come very matted. Then I use Illustrator to unravel. Is it ...
0
votes
2answers
620 views

Feature label not working in xhtml file

I have developed a jsf application with the OpenLayers API, using this example http://openlayers.org/dev/examples/vector-features-with-text.html. It works fine with html page, but when I change to ...
0
votes
1answer
34 views

QGIS: Export labels from layer to shapefile / Geojson

I am having trouble finding a way to export only the labels of a layer in QGIS to either shapefile or geojson format. I also tried to find a way to export both the geographic feature plus the label ...
2
votes
0answers
58 views

How to make labels be center justified in an OpenLayers Web Map? [closed]

I am trying to set the justification for some labels to be centered on the point. I am using Qgis2web to create a web map. Below is the relevant output code: var size = 0; var placement = '...

1
2 3 4 5
37