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.

374 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
7 votes
0 answers
175 views

Issues with atlas generator and labelling across maps/images

I have a lot of layers in my project and I am trying to use the atlas generator in the print composer to create a tiled map. Some of the layers have labels which have different configurations with ...
  • 4,380
6 votes
0 answers
203 views

GEE - Get date of ImageCollection mosaic

I have created mosaics by date from an ImageCollection and now want to label each mosaic with its corresponding date. This is my function to label the ImageCollection: var date_label_pos = ee....
  • 1,196
6 votes
0 answers
339 views

Change default label font for styling

Where can I change the default labeling font "MS Shell Dlg 2" to a different one? I don't want to change the default layout font (Options --> Generel Settings) Maybe there is a solution to use the ...
  • 804
6 votes
0 answers
465 views

Using attributes for output filenames in QGIS Process Modeler?

How can I use process inputs (eg: Table field) inside an expression for an output file when using Process modeler? I have a process which outputs a raster, whose output filename should be the value ...
  • 161
6 votes
0 answers
381 views

Orientating Contour Labels Uphill in QGIS?

I'm quite new to QGIS and I'm trying to style topographic contours. I have managed to style the lines the way I'd like but I'm having trouble with the line labels - I can't style them so the labels ...
  • 191
5 votes
1 answer
69 views

QGIS doesn't truncate labels of point features in print layout

I'm trying to create a map that is separated into two pages (say, a A3 layout). I want them to be exactly the same except of the range they cover, so I can later combine them into one larger map (A2). ...
5 votes
0 answers
39 views

QGIS: group labels from different lines below each other instead side by side

I have the following problem. I have a Linestring layer in QGIS. There are multiple lines drawn, sometimes overlapping each other. QGIS shows the label of the different lines next to each other. (...
  • 165
5 votes
0 answers
106 views

Do not show the label if it is outside the map canvas #42990

I wrote on the Qgis forum, but they suggested to to write here too. I'm having this problem on Qgis 3.16.6 that in 3.10.8 there wasn't. https://github.com/qgis/QGIS/issues/42990 Can you give me a ...
  • 143
5 votes
0 answers
481 views

Showing labels as they will be printed/exported in my print layout?

I set up a print layout for a map I want to print in QGIS. Some of my layers have labels on them. When I zoom in and out in the screen, without changing anything else on the print layout, some labels ...
  • 291
5 votes
0 answers
427 views

Styling the legend in QGIS with line layer

Working on QGIS 3.4.13. I have a vector line layer, there are rivers. I put a rule based symbology with two categories and different scale max / min for each category. I want to put style for the ...
5 votes
0 answers
581 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 ...
  • 51
5 votes
0 answers
8k views

Labels are not showing in QGIS

The coastline (the data I'm using) is including the small islands (Tarakan and Laut), I wanted to create two labels for these islands. The attribute table itself doesn't have specific names, so for ...
  • 487
5 votes
0 answers
275 views

Connectors do not appear automatically in easy custom labelling

I'm using the easy custom labelling plugin in QGIS 3. When I move a label away from its associated polygon a connector does not automatically appear as in QGIS 2.18. How do I get connectors to appear ...
5 votes
0 answers
541 views

Avoid duplicate labels on river sections and choose placements

I am trying to label rivers's names. The rivers include multiple sections. I have many repeats like "fleuve Loire ". How to avoid labeling repetition? "Merge connected lines to avoid duplicate ...
  • 757
5 votes
0 answers
596 views

Creating labels with table style

I'm trying to create a label in QGIS that is formatted similar to the "table" styled yellow labels in the image below. The image is from a map created in AutoCAD. I would like the labels ...
5 votes
0 answers
355 views

Specify position of curved label in QGIS?

From this answer in 2012 underdark stated: BUT you won't be able to have curved labels anymore if you move/rotate the labels manually, as far as I know. It's now 2016, and I noticed that I can ...
  • 3,277
4 votes
0 answers
146 views

How to rotate labels with an expression in QGIS 3.x

I have a layer with lines, and I am trying to rotate some of their labels that are displayed at 270º to get them at 90º like the rest, but the expression is doing nothing. Even fixing the expression ...
  • 343
4 votes
0 answers
243 views

Prevent labeling outside of a an inverted styled polygon

I have this situation: All layers are filtered to the region except the layer "bahnstrecken" who is missing that attribute. Instead I use the polygon "bundeslaender" (inverted ...
  • 2,137
4 votes
0 answers
88 views

Center my contour values in QGIS

In QGIS have an issue with my contour value labels being pushed to the edge of my map, instead of lining up at the center where they seem to have more space. Does anyone know why this happens for some ...
4 votes
0 answers
387 views

Rule-based labeling and the Data defined placement options are not working together (QGIS 2.12, 2.14)

After setting "Rule-based labeling" to my layer (new feature since QGIS 2.12), my data defined labeling is not working any more (see labeling tools on the right side): Going back to "Show labels for ...
  • 8,029
4 votes
0 answers
3k views

How to display ONLY local country names in google maps?

I am using google maps in an application where it is important that country labels display the country name in the local language. If you pass in certain language parameters that google maps ...
  • 41
4 votes
1 answer
1k 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 ...
3 votes
0 answers
61 views

QGIS - Label masks breaks layer on PDF export

I have a contour lines layer with index labels, which uses masks, it works correctly on the editor and composer as seen below When exported the layer goes past map boundaries and it's style breaks. ...
3 votes
0 answers
135 views

Merging vector tile polygons for perimeter labelling in QGIS

I'm working on recreating a base map style inspired from Mapbox Outdoors in QGIS. For this, I am using the Mapbox Terrain vector tileset as a Vector Tileset in QGIS. I can style features and add some ...
3 votes
0 answers
65 views

Problem of label positioning when exporting layer in another CRS in QGIS

I use QGIS 3.16 to visualise a layer of the countries of the world. The layer is saved with the WGS84 CRS (EPSG:4326). I have set all my labels through rule-based labeling and saved the coordinates of ...
3 votes
0 answers
100 views

Preventing labels from lower layers showing through layers that are on top - QGIS

I am creating a sequence of layers and layer groups - of geological units. Layers and groups higher up the sequence cover - partially or completely - lower layers or groups in the sequence, as they ...
3 votes
0 answers
152 views

Adding labels to contours created with the rendering option of rasters in QGIS 3.16

Is it possible to add labels to raster contours created using this option in the "Render Type" under "Raster symbology"? For reference, this is the dialogue:
3 votes
0 answers
876 views

QGIS expression for label text to display vertex coordinates of polygons

This question is inspired by Displaying vertex coordinates of a polygon or line without creating a new layer and especially by the answer by @JGH: https://gis.stackexchange.com/a/381130/88814 The ...
  • 48.2k
3 votes
0 answers
40 views

Evenly spaced labels for polyline layers

I'm using QGIS 3.8 and am attempting to label roadway segments (OSM) of varying length. By checking the "Merge connected lines" box and hiding features below a certain size, I can generally limit the ...
  • 300
3 votes
0 answers
414 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 ...
  • 31
3 votes
0 answers
122 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 ...
  • 123
3 votes
0 answers
114 views

Reproducing Paper Results for Land Cover Mapping of Satellite Imagery?

I am interested in training a neural network to perform pixel-based classification for land cover mapping of satellite data. In order to learn more about this interesting field I am trying to ...
  • 131
3 votes
0 answers
2k views

Removing duplicate labels in QGIS3

I have a layer (streets) where I want to remove duplicate labels and then set a display interval for the labels. This is relatively easy in ArcMap because removing duplicates is based on the label ...
  • 327
3 votes
0 answers
261 views

LegendGraphic and Label placement

I have to style some Rasters with SLD and get the legend from Geoserver to show it in my webapp. By default, labels are placed right to the Color Ramp. Is there any option, by using SLD or maybe any ...
3 votes
0 answers
123 views

Label only features that intersect a specific line

hello I have two lines layers in QGIS line1 and line2 with field my_field(line1) and label(line2). I have a global project variable label_filter=one now I want to create a base label rule,first I ...
  • 1,033
3 votes
0 answers
365 views

Label QGIS points layer with auto incrementing number count from 1

I have imported a CSV layer to my map and want to label the points with a numeric count from 1 upwards, counting just the visible points. I have almost found a way to do this using the ...
3 votes
0 answers
114 views

More than one QgsPalLayerSettings for a layer

Can more than one QgsPalLayerSettings object be defined for a single vector layer? For a line layer, I would like to put some text above the line, then some text below the line, not sure if this is ...
  • 1,085
3 votes
0 answers
216 views

Line should be invisible under label

I am creating a sea chart. The sea chart has ships lanes in a line layer. In the same layer, the safe depth of the ship lane is found in a column. I want to use this safe depth as a label on the ship ...
3 votes
0 answers
176 views

Avoid multiple labeling in qtiles / QGIS

After failing to start the slippy map tiles generator .py module (where to put globalmercator.py...?), i tried this plug-in. How can i set qgis(2.14), to not move labels, as the tile generator moves? ...
3 votes
0 answers
289 views

PyQGIS map rendering export shows no map labels?

I'm trying to learn a little bit of Python in QGIS with the following tutorial: QGIS Maprendering. Now the tutorial works, with minor adjustments. In QGIS I have four layers, and one them is showing ...
3 votes
0 answers
437 views

Dynamic Label or Annotation in QGIS canvas

I'm creating an animation from several Raster images, and I'd like to add a label or an annotation to the map canvas, not the print composer, that will enable me to show the layer's name, which holds ...
  • 8,418
3 votes
0 answers
50 views

Which FOSS label engine that supports shrink to fit label in polygon?

I've not found a way to label features using shrink to fit label in polygon, i've tried Qgis, and searched on Geoserver, Mapserver and Mapnik, none of them supports this feature, i'm looking for any ...
  • 4,520
3 votes
0 answers
2k views

Showing dimensions on polygons in QGIS?

I have a shapefile that contains all of the property parcel lines in King County, WA. We are currently displaying this data through mapbox on our site with no issues. We would like to be able to show (...
3 votes
0 answers
91 views

How to display features only if labels are displayed?

In my maps there are several point layers, and each layer has a different labelling rule and priority. Sometime the point density is too high and the labelling engine is not displaying some labels, ...
  • 710
3 votes
0 answers
648 views

Annotation/Label size adjusting to map scale in QGIS

I'm trying to label the street names for a map I'm working on but I do not want the labels to automatically adjust to the map scale when zooming in or out. My question is: In QGIS how do I set a fixed ...
  • 401
3 votes
0 answers
3k views

Arrow flow lines from a contour map

using QGIS (or even GRASS) is it possible to label a contour lines shape with arrows that indicate the flow direction? Briefly: I have a point shape with elevation values. I make an interpolation map ...
  • 2,802
3 votes
0 answers
312 views

SLD - disable follow line

I have a simple SLD style using in GeoServer v2.3.0 and testing in uDig. I have a interstate symbol that I do not want the label symbol to follow the line. I thought if I set: <sld:VendorOption ...
  • 34.8k
3 votes
1 answer
4k views

How to set google map zoom to fit the screen & position infobox labels depending on the area of polygon

I am using google map's FusionTablesLayer and polygon to set layers of USA states. I am having problem in integrating following 2 things : a) Set zoom property, so map will fit to the screen. I know ...
3 votes
1 answer
387 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 possible ...
  • 401
2 votes
2 answers
41 views

Updating QGIS: is it possible to save customizations like personal settings, hotkeys, styles, sandard symbols, toolbars?

I want to update QGIS from 3.16 tot 3.22 for me and my co-workers. Some people have put effort into getting all their settings right (customizations: toolbar placements, symbology and symbology label ...
  • 93

1
2 3 4 5
8