All Questions
2,798 questions
84
votes
5
answers
47k
views
Displaying coordinates and inputs as LatLon or LonLat?
I'm trying to get a sense if this is an issue for others or every input/output should be labeled so user is not confused and just go with it?
I think almost everyone pronounces it as "LatLon".
Who ...
48
votes
3
answers
63k
views
Manually placing labels in QGIS?
Is there a way to manually place labels in QGIS?
I have a map which has almost-duplicate labels in some places (e.g. E 1st St and 1st St) and I'd like to remove some of them.
Also, I'd like to ...
42
votes
8
answers
8k
views
Interrupting contour lines beneath elevation labels (instead of using label buffers) using QGIS?
Is there a way to interrupt a contour line beneath an elevation label using QGIS?
31
votes
2
answers
5k
views
Creating sector lights in QGIS?
I'm using QGIS 2.18. I need to create sector lights for navigational purposes on a map.
I have the light sector data as fields giving becon_id, start degree, end degree and color in a shapefile with ...
27
votes
6
answers
14k
views
Placing elevation numbers on contours with uphill orientation and position in QGIS?
I want to orient my elevation labels uphill.
Is that possible?
I'm currently using the labeling tool from QGIS (not that one in layer settings). I want the labels curved and uphill oriented (and I ...
22
votes
5
answers
8k
views
How to create a label combining different font sizes or types?
I would like to place the elevation-number of a point in a different front size and centred under its name:
Is that possible?
(That is my actual labeling: label || '\n' || elevation)
20
votes
2
answers
33k
views
Creating multiline labels in QGIS
How can I apply Multiline label option in the label property?
Name field contains a lengthy name. I want to wrap it.
My QGIS version is 1.8.
20
votes
4
answers
9k
views
Avoiding labeling features if overlapped by another layer in QGIS?
With QGIS 2.12.2, how can I set up layer labeling to avoid placing labels where features from another layer already exist?
For example, if I have a stream/river polyline layer that contains lake "...
19
votes
2
answers
17k
views
How to add a halo to 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
19
votes
2
answers
80k
views
Multiple labels for one layer in QGIS [duplicate]
Is it possible to show two or more labels for one layer?
For example - one label will show the name of a school and the 2nd label will show the number of students? They should be completely different ...
19
votes
2
answers
4k
views
Creating leader lines for moved labels
With a lot of help from gis.stackexchange.com I've created leader lines for point symbols. The lines are based on a geometry generator symbology:
Shortening line geometry using expression dialog in ...
18
votes
2
answers
2k
views
Is it possible to write a label expression in qgis that displays the label at a given coordinate?
I am using the QGIS expression builder for the label properties of my data.
Is it possible to put different parts of the label in different coordinates on the map?
For instance I have a linestring ...
16
votes
14
answers
68k
views
Labels not appearing on any layer in ArcMap?
Not sure what the issue is, but I'm unable to get labels to display in ArcMap 10. The obvious things are accounted for (as far as I know). Labels are set in Properties, layers are checked to label in ...
16
votes
3
answers
4k
views
How to create vertical labels in QGIS?
How to create vertical labels (each label in new line) like:
1998
150
pipe name
and not horizontal:
1998 150 pipe name
16
votes
2
answers
10k
views
Displaying multiple fields as labels if one field is null in QGIS?
I am having some issues trying to show multiple fields for a single label in QGIS. In QGIS2.6, attempting to display labels for a feature consisting of multiple fields results in an empty label if one ...
16
votes
2
answers
6k
views
Is there a way to label a layer using its file name or layer name?
Is there a way to label a layer using its file name or layer name (if I'd change it in Layers window TOC)?
I tried some functions but I'm not good on that.
I have lots of shapes (lines) and it would ...
15
votes
3
answers
9k
views
Labeling each individual side of polygon in QGIS
Using native QGIS layer property definitions, I have successfully labelled each polygon in my layer with its area and perimeter.
Never satisfied, I now wish to label each side of each polygon with its ...
15
votes
1
answer
2k
views
Filling shape with labels or attributes in QGIS?
In QGIS, I would like to set the fill of a shape to be a pattern repetition of label values (i.e. an attribute of the item).
Is this possible, looking a little like the sketch below (for shapes with ...
15
votes
1
answer
1k
views
Showing only uppercase text as labels in QGIS?
Using QGIS 2.14 and see there is now rule based labelling. I wish to show labels of towns that have capital letters (eg CRAWLEY) and not show the labels of towns with lowercase letters (eg Faygate)
...
15
votes
3
answers
3k
views
Controlling rule-based labelling using PyQGIS?
Following on from this question: How to turn on/off all labels of all layers in QGIS, OP mentioned in his comment that he uses rule-based labels. I tried searching online as to how these types of ...
15
votes
1
answer
9k
views
Adding labels outside of features
I'm trying to achieve this kind of labeling using QGIS. Apparently, it doesn't seem to be easily supported. Would you have an idea for a workaround ?
I managed to have circled text using "...
14
votes
3
answers
17k
views
Subscript labels in QGIS legends
Is it possible to include subscript and superscript text in the title of a legend item in QGIS ? I have tried using <sub>some text</sub> but this just appears in the title with no change ...
14
votes
2
answers
5k
views
Symbols above labels in map QGIS
I didn't find any answer to this question. In this post it is said that labels are by default on top of everything else: How to place labels under a vector layer?. But it was for 2.2, and years went ...
14
votes
1
answer
700
views
Aligning road names in a row in QGIS
I am trying to align road names in a row, or column as much as possible in QGIS. I know it can be done in Adobe Illustrator with a mapping plugin, but I don't have the $$ for that.
I tried something ...
14
votes
2
answers
19k
views
Creating zoomed in portion of map in print composer
I posted a question yesterday about troubles I was having with labeling (which are still plaguing me), but it hit me today that it would probably be easier for me to just create zoomed in sections of ...
14
votes
1
answer
9k
views
Interactive and dynamic map with wind data in R leaflet?
I have some data like this :
longitude latitude speed direction
1 6.10722222 46.23639 4 360
2 6.95416667 43.54694 4 360
3 7....
14
votes
4
answers
6k
views
Preventing text labels from overlapping other markers in QGIS?
Is there a way within QGIS to prevent text labels from overlapping icons used to label a point layer?
In the example map shown below, there are two layers:
Roads layer which is labeled using the new ...
14
votes
2
answers
16k
views
Is there a way in qgis 2.0 to prevent overlapping labels?
Is there a way in qgis 2.0 to prevent overlapping labels?
I have a layer with a large geographical extent, which means a hell of a lot of labels. Many of them collide and it looks really bad. Is ...
14
votes
3
answers
6k
views
How to Create a Grid Inside a Polygon that is Oriented with the Longest Side?
I have been using a process called "Create Polygon Graticule" to create a grid within a polygon with assigned row and column attributes. It is a SAGA tool which I have been running in QGIS. It ...
14
votes
1
answer
6k
views
How to create text labels with background boxes?
I'm trying to create some custom labels for point features in a QGIS point vector layer, and I want to write a python plugin to do it. We need our labels to be presented with color tinted rectangles ...
14
votes
3
answers
998
views
Iterating over conflicting labels
The way I see it, if two features to be labeled are too close to one another, then there are essentially three options. By default QGIS will omit one of the labels. If I enable the “show all labels” ...
13
votes
4
answers
11k
views
Choosing only one contour line to label in QGIS?
Is it possible to select only one contour line for labelling?
I have numerous labels for each line and I'll prefer to label only the main ones, such as 1000 m and 1500 m
13
votes
2
answers
10k
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 (zeros). Examples:
...
13
votes
2
answers
18k
views
Altering font size using label expression?
I have two label classes displaying dynamically over my parcel polygons. The owner info is the major label with larger font size and bellow it I am displaying some property type info in smaller font.
...
13
votes
4
answers
10k
views
Connecting label and point with line/arrow using QGIS
Is it possible in QGIS to connect labels and points with a line/arrow or something?
In my map it is not clear which label goes with its point. I can't bring it closer because there are many more ...
13
votes
10
answers
16k
views
Algorithm for finding irrregular polygon centroid (label point)
I need to find a centroid (or label point) for irregularly shaped polygons in Google Maps. I'm showing InfoWindows for parcels and need a place to anchor the the InfoWindow that is guaranteed to be on ...
13
votes
2
answers
2k
views
Can labels for overlapping points be combined/merged into one label?
I have points representing sample locations. Often, multiple samples will be taken in the same location: multiple points with the same location but different sample IDs and other attributes. I'd like ...
13
votes
5
answers
5k
views
How to place labels under a vector layer? [duplicate]
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:
13
votes
2
answers
4k
views
Reducing size of labels automatically to fit within polygons
I want to make labels automatically smaller so they fit within the polygons. The biggest font-size is 12 and I want to decrease the font-size to be restricted to the boundary of the polygons.
There is ...
13
votes
2
answers
6k
views
Is there a method to have the colour of a label automatically match the colour of the polygon indicated in the symbology tab?
My job requires that I produce several print maps every day, for a variety of different users. It is usually pretty straight-forward, but sometimes I have to make a map that uses rather confusing/...
13
votes
3
answers
2k
views
QGIS Print Layout - Rotation of Grid Coordinates to match map rotation
I have a layout in QGIS where 3 map views are rotated to 35 deg. The grids automatically rotate to match the maps rotation, however the labels do not.
Does anyone know a way to make the coordinate ...
12
votes
1
answer
808
views
Concatenating labels in QGIS
I am trying to display labels for polygons in a dataset. Each polygon has about 5 different fields that I want to display. Depending on the polygon, there may be NULL values in the field(s) that I am ...
12
votes
3
answers
9k
views
Showing only one label for multiple points with same value in QGIS
I have a point shapefile which has for a few occasions multiple points with the same ID. Doesn't look nice with the normal label-display.
Is it possible in QGIS to only display one label then? I ...
12
votes
2
answers
2k
views
Displaying vertex coordinates of polygon or line without creating new layer in QGIS
I am wondering if there is a way to display coordinates for each vertex of a polygon by only using expressions, without creating a new layer. So this question is basically inspired by Displaying ...
12
votes
2
answers
4k
views
Label layer as symbol colors with QGIS 3
Is it possible to label a layer using same colors as the categorized symbology of that layer?
It is possible using the Rule-based labeling, but it can be difficult for a layer with many categories ...
12
votes
4
answers
14k
views
Ordnance Survey grids - download or generate?
Does anyone know a source from which to download vector UK Ordnance Survey grids at varying resolutions? Or failing that, a tool that can create an OS grid at a specified resolution? There are plenty ...
12
votes
2
answers
4k
views
Place label along line near start and end of line in QGIS
I have four fields managing the numbering of the start and end of road sections.
I created two label rules, one for the start and one for the end of the road sections.
I set the position of the ...
12
votes
1
answer
8k
views
Changing thousands separators from comma to space in measured grids of ArcMap?
In ArcMap it is easy to include commas as thousands separators on a measured grid, as can be seen in the screenshot below, but I have not been able to find a way to change the separator used from ...
12
votes
1
answer
3k
views
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 ...
12
votes
4
answers
8k
views
Are there any cartography "rules" you should follow when labeling maps?
We've all seen poorly labeled maps before. In these maps, the wording is either illegible or unpleasant to view due to positioning, color choice or size, or the labels take up so much map space that ...