6
votes
1answer
72 views

one label for two-lane roads (osm, qgis, postgis)

I labeled my osm-lines-layer (PostGIS) with symbols for primary roads and motorways. While the symbols for the primary roads are well placed - with enough distance between each - the two-lane motorway ...
1
vote
1answer
43 views

How to use the % Modulo operator to select points for labeling?

I have a shape file with point numbers for individual ID's. I would like to select point numbers divisible by a number, and if the remainder is 0 then I would like to label that point. I have tried ...
3
votes
2answers
87 views

Labeling only points that ends with the number 5 in QGIS

I have a shape file with points at evenly spaced intervals, the table has the following fields: Name is up to 32 characters of text. it is currently populated with an eight digit number. Point_No ...
3
votes
2answers
100 views

Why are there no line breaks in my labels even though I added \n?

I'm having an issue with creating multi-line labels in QGIS. I believe I have the syntax right in the label expression because the output preview looks correct. However, on the map, everything ...
1
vote
0answers
44 views

Word cloud labels in QGIS from database

I would like to do some word clouding as labels in QGIS from a series of tables in a database. Examples of word clouds can be found here: Word Cloud - Google Search I have two tables in a database: ...
3
votes
2answers
91 views

Show categories in QGIS

I have a .csv file pointing at coordinates. It is a large file that is edited often. In it, I have three groups of data (say A, B, and C). Within each group there are a number of Names, and each ...
2
votes
1answer
64 views

What's wrong with my expression to control label colors?

I am struggling to alter the label colours according to field values (as strings) in the attributes table. In my mind what I want is: If the string in column X = 'Proposed' Then label the point ...
2
votes
0answers
71 views

How to design labels which look like a fraction (with a fraction line)?

I want to create labels like a fraction using data from two columns. I have tried to use: "Field" || '\n' || '――' || '\n' || "Field2" but it doesn't look good. How can I do it using other method? ...
3
votes
1answer
39 views

QGIS 2.2: prevent labels being cut off / clipped at edge of map

I've read a few other issues about trying to prevent labels from rendering if they run off the edge of the map canvas. This is particularly a problem in Composer, where I get lots of country labels ...
1
vote
0answers
20 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 ...
4
votes
2answers
50 views

How to show labels for all polygons in a layer, even with 'NULL' values?

I have a polygon layer which contain information on property name, number of trees within the polygon, average height, and min- and max height values. My problem is, I want to label each polygon with ...
0
votes
2answers
65 views

Display Point Labels in QGIS

I have coordinates and points from that coordinates. so what do i need to do to show point numbers on the map? Thanks. It's my second day with QGIS
3
votes
1answer
90 views

Qgis - Labels automatically resize to fit within the polygon

The question of my problem is simple, I want to make labels automatically reduce to fit within the polignos. Type the biggest size is 12 and goat decrease the size to be restricted to the limits of ...
3
votes
1answer
57 views

QGIS custom labeling by clicking on polyline (and polygon)

QGIS has now few really good options for custom labels but I can't find a way how to easily manage labels along polylines. Is there a tool which helps me place labels by clicking on a polyline so the ...
3
votes
5answers
157 views

How to place labels under a vector layer?

I want to place the labeling under a layer. In QGIS 2.2 apparently the label appears automatically at the top. Can someone help me. (see attachment) example:
0
votes
0answers
24 views

Expression based labeling: Look for points in defined radius/buffer

How can I do that with qgis expression based labeling: CASE WHEN within a radius/buffer of 1km (outgoing from every point with attribute 'place') is a point with attribute 'museum', THEN 'M' ELSE ...
0
votes
1answer
75 views

How do I pin all labels in QGIS?

How can I pin all my labels in QGIS 2.2/2.4 (Data Defined Labels) without clicking every single label?
1
vote
1answer
83 views

Labels appear and disappear for no apparent reason using QGIS?

I'm going through the Alaska sample data tutorial for QGIS 2.2.0. Some of the lake labels appear and disappear at different scales when zooming. At 1:314,460 Becharof is visible, but Lower Ugashik ...
1
vote
1answer
63 views

label vector line with multiple attributes in QGIS

I have a line with two 2 attributes. I would like to display both information along with the line in frequent interval, one info above the line and the other is below the line. I am working in QGIS ...
0
votes
0answers
51 views

change default font of labels in QGIS

I've just opened a feature request, but maybe someone knows a temporary solution. In QGIS 2.2 one can change the default font of the Print Composer (through the Menu Option -> Setttings). But I think ...
0
votes
0answers
48 views

How to provide one label for multiple polygons?

QGIS 2.2 provides a great deal of control through the labeling override expressions, but I don't understand what variables I can use to generate a single label for multiple polygons with the same ...
0
votes
0answers
41 views

QGIS labels are different on canvas, composer and from PDF

I am running QGIS v2.2 off a 64 bit Windows server. I have created a map with a number of local government area polygons, road polygons (to which I have applied a Layer Source to limit the labelling ...
1
vote
1answer
49 views

QGIS 2.2 curved labels - 'maximum angle between curved characters' makes label invisible

When labeling a curved line in QGIS 2.2, and setting Placement to 'Curved', the behavior of 'maximum angle between curved characters' is not intuitive, and I haven't been able to find documentation on ...
3
votes
1answer
84 views

Converting QGIS Labels to a Polygon Shapefile

I am trying to create an annotation feature from labels and then export this out as a polygon shapefile (the resulting shapefile can then be loaded into ArcGIS online to basically have labels without ...
0
votes
1answer
61 views

QGIS map tip / label showing a table

I have a MSSQQL Spatiatal layer with Point data (borehole locations, pointID) and a joint table lithology (soil info per borehole, pointID, depth from, depth to, constituent) Is there a way to use ...
1
vote
2answers
245 views

Exporting PDF from QGIS with print composer without destroying fonts

So I'm making this nice map with a lot of labels which are going to end up in a book. Since the labels doesn't end up exactly where I want them I'd like to move them some in Illustrator after ...
1
vote
1answer
72 views

Are unicode symbols supported in QGIS labels?

I want to use unicode symbols in a QGIS label - is this supported? I.e. I have this expression for labelling a line: case when xat(-1) - xat(0) > 0 then 'GF ->' else '<- GF' end and ...
1
vote
0answers
45 views

How to display a layer's label source column?

I have a CSV layer that displays points on the map. I use one of the columns as the Label. In Print Composer I would like to display the name of the column used to generate layer Labels. Is this ...
1
vote
1answer
36 views

Is there a way to get create label classes similar to symbology classes?

Is there any way to get the same classes of label size as by the symbols? For example: i devided towns according to their population to 5 classes (as graduate symbolology), and want to label each ...
2
votes
0answers
52 views

QGIS Labels: letter or word spacing ignored after export

My line label have letter spacing of 3px (Layer Properties -> Labels -> Text -> Spacing -> Letter). In print composer everything is drawn like I want it but after export to svg, pdf, or image the ...
0
votes
1answer
45 views

How do I label my map with attributes?

help is always appreciated. I have a state map in QGIS 2.0 with all of the county names and some other info listed in the attributes table. I would like to have the name of the counties and one of ...
1
vote
1answer
88 views

data defined labeling with postgis layer

How to use the expression based (edit: data defined) labeling with postgis? I'm wondering, whats the best way to use expression based (edit: data defined) labels with postgis (I'm new to postgis). ...
1
vote
2answers
383 views

QGIS Valmiera, Labels only show for part of polygons

Using 2.2.0-Valmiera on Ubuntu 13.10 I have for Croatia 21 Counties as polygons. Labels show only for 12 counties: here I see that no labels are shown for multipart features. So I checked "Show ...
1
vote
1answer
183 views

How to handle QGIS 2.2 Data Defined Label Position on PostGIS Layer Null Defaulting to 0?

I just upgraded to qgis 2.2 from 2.0. In 2.2 there was a minor change to data defined label positioning at least when used with postgis layers. In Version 2.2 the labeling engine appears to be ...
2
votes
0answers
52 views

QGIS: rotatable markers with offset from point

Im wondering, if its possible (in QGIS), to set a rotatable marker with offset from point, like in my example below. Any suggestion?
1
vote
1answer
135 views

QGIS Python Labelling

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, ...
1
vote
1answer
121 views

Label features on hover/click with QGIS?

Simple question: Is there a built in/easy way to show labels for features based on a hover or click action with QGIS 2.0.1?
1
vote
0answers
54 views

Qgis 2.0: Several symbols in one line behind a label?

Is that possible in qgis 2.0: If a city have several POIs which I can not draw at their origin location because of the scale of the map or because there are just too much symbols, can I draw them ...
1
vote
1answer
46 views

How to hide grid's labels when zooming out?

I have used polygon grid layer on my map, and I used to label the layer with ID automatically, and the result was convenient for me: But when I zoomed out, the labels didn't hide at all! and they ...
0
votes
0answers
34 views

Avoiding upside-down data-driven labels from layers when rotated in print composer

I'm making a printed map using QGIS. I have a bunch of roads in one layer. I've labeled them with one field "name" from the layer properties. I've set the placement to "curved", and the results ...
3
votes
2answers
440 views

Rendering and Labeling Shapefile with PyQGIS

I've been running into a few problems working with the QGIS API for python. I've gotten more comfortable working in the python console in QGIS but I run into problems when I try to run the code ...
3
votes
1answer
168 views

How to create halo for a text in the composer

I would like to add texts with halo, in the composer (not in the map). Do you know a way to do it? I'm using QGIS 2.0.1 Thank you
0
votes
2answers
151 views

QGIS 2.0, SpatiaLite: labels disappear after setting data defined position (x,y)

I added to my SpatiaLite table (.osm-import with the "standard" QGIS-OSM-Plugin) two empty columns x and y (double) to define manually the position of my labels (data defined labeling). But after ...
5
votes
3answers
157 views

How to label only some places instead of all?

How do I turn of some place names, or rather turn on some places names but not the rest. How do I turn of or hide that? [s]I also get a red cross under the place names which I dont like to see. How do ...
3
votes
2answers
158 views

Multiple labels in QGIS [duplicate]

Is it possible to show 2 or more labels for 1 layer? For example - 1 label will show the name of a school and the 2nd label with show the number of students? I wanT to avoid having 2 layers - one for ...
2
votes
1answer
171 views

How to format labels with leading zeroes?

I'm trying to display a number next to a symbol in QGIS 2.0.1 - The numbers are from an integer-field in a postgresql database. The goal is that single digit numbers get a leading 0. Examples: 12 ...
0
votes
1answer
25 views

How to suppress spaces in labels?

I want to label some lines. The labels has spaces like "label 1". I want to suppress all spaces so that the result is like "label2" without changing the attribute table. Is that possible?
1
vote
1answer
27 views

labeling in qgis 2.0: if one letter in string is “X”

I have a shapefile and I want to label all shapes with a "B" or "A" in its name (string). All others should be ignored. Like: If [field] contains "B" draw label Im using qgis 2.0.
1
vote
1answer
130 views

How to create labels using 2 columns?

I want to label a layer with 2 columns/attributes. It´s not a problem in Mapinfo, but can it be done in QGIS as well?
0
votes
0answers
26 views

Decimal places in Style Labels QGIS [duplicate]

When I create a style for a map, and use a Graduated set of categories, the associated labels have four decimal places – all zeros. I can change each one individually – but there are 10 categories and ...