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
72
votes
5answers
38k 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 ...
24
votes
1answer
3k 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 ...
12
votes
2answers
1k 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 ...
16
votes
2answers
15k 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.
4
votes
1answer
817 views

ArcGis label last vertex Z value

Is it possible to label a feature in ArcMap using geometry values? In this instance I want to label features (polylines) with the Live Z value of the last vertex obtained from the Shape. However ...
11
votes
1answer
6k 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 ...
9
votes
2answers
6k views

What are valid values for “data defined” labeling settings?

I'm using QGIS 1.8. I'd like to customize label features on an existing shapefile using the new label engine and it's "data defined settings" option. I'd like to know what the attribute table field ...
16
votes
4answers
3k 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
5answers
10k 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 ...
18
votes
2answers
3k 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 ...
12
votes
4answers
8k 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
10
votes
3answers
673 views

Changing to alternate label if first label does not fit in QGIS?

I'm trying to create a map to print out and the size of my polygons varies greatly. As this will be a reference map I need to label every polygon, but some of the names will not fit in the polygon. In ...
3
votes
3answers
3k views

Labeling features and converting them to annotations with ArcPy?

how could I do the following steps with arcpy: right-click on the layer with the features Label Features Convert Labels to Annotations ... The annotions should be saved in a new shapefile. How ...
7
votes
3answers
4k 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 ...
3
votes
5answers
6k views

When labelling polygons, not all labels are displayed - QGIS 1.7.0

I am trying to create a simple map of Mexico showing the state polygons and their label. The state shapefile is from here, and the specific file is the first one from the top (Áreas Geoestadísticas ...
37
votes
3answers
40k 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 ...
13
votes
10answers
13k 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 ...
7
votes
2answers
2k 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 ...
16
votes
4answers
4k 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 "...
7
votes
2answers
7k views

Move label in QGIS?

I cannot figure it out to move Labels in an QGis-Layer. I added two columns (x,y) and set these columns as Data-defined-Position in the layer-properties as descriped in some (older) threads (e.g. How ...
2
votes
2answers
978 views

QGIS 2.18 QuickMapServices basemap labels shrink when exported to PDF from Print Composer

For the love of all that is good on this Earth does anyone have a fix for this? When I export my print composer map in anything greater than 120 DPI the street labels from the ESRI Transportation ...
15
votes
3answers
1k 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 ...
10
votes
2answers
8k views

Polygon label repeated for each tile

I'm using the standalone GeoWebCache to serve tiles from a remote GeoServer. My problem is that the polygon label is added to each one of the tiles served, instead of only once in the polygon centroid....
8
votes
1answer
3k 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 ...
7
votes
2answers
617 views

Removing features whose labels are not displayed?

Using ArcMap 10.0, I am working on a map that shows many villages. Each village has a name attribute that I want to use for a label, but in some areas there are so many villages that not all can be ...
7
votes
1answer
1k views

Displaying intersecting roads and creating multiple labels for long roads in QGIS? [closed]

I am new to GIS and I am using QGIS 1.7.3 on Windows. Can any one tell me how to display a map from line shapefile with these two characteristics: Roads are displayed with borders at the sides and ...
5
votes
1answer
1k views

How to turn on/off all labels of all layers in QGIS

I would like to turn on / turn off all labels of any layer by one klick. Like you can do in ArcGIS according to that post: Is there a way to turn off all labels in ArcMap without clicking on every ...
14
votes
1answer
9k views

How to add 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 "Diagrams", ...
15
votes
2answers
7k 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
10
votes
2answers
8k views

How does manual Label Placement in QGIS 1.9 work? [duplicate]

There are a bunch of questions here related to labeling in QGIS, but it's not clear which version they are referring to, and I know this is something that has changed recently. Hopefully it makes ...
10
votes
2answers
5k views

How to create curved labels in QGIS

I added an image, that explains my demand (see Schiefelsbach river). How can I do this?
9
votes
1answer
2k 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 ...
6
votes
1answer
2k views

Labeling one to many relationship class using ArcGIS for Desktop?

I’ve created a feature class with a one to many relationships to a table. One point many classes. However I want to label the point with the classes attributes. Esri wrote VB solution but it's ...
5
votes
1answer
3k views

How to label vector features programmatically?

I am using python for QGIS 2.0.1 and I have a vector layer of points representing the positions of state labels. I want to display the 'state abbreviation' attribute on the corresponding point for ...
5
votes
2answers
1k views

Labeling using different expression if attribute is null using ArcGIS for Desktop?

I am using an expression to label features by concatenating two attributes in ArcMap. It works like this: <attribute_1>+" "+<attribute_2> Unfortunately when either attribute is Null the ...
5
votes
3answers
928 views

Display coordinates of points in DMS format in print composer

In QGIS 2.14.2 I have a series of polylines of which I want the start and endpoint to be labeled with its coordinates in WGS84 (EPSG 4326) like this: 51*15'23.40"N, 5*17'56.58"E I thought I figured a ...
3
votes
1answer
141 views

Line width and labels based on blended values of features sharing same geometry in QGIS

I want to appropriate line segments that share the same geometry with a particular line width and labels based on the aggregated values of one field "GIS@BUS_5_Min". My attribute table and polyline ...
2
votes
1answer
1k 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
2answers
8k views

ArcGIS Label zoom visibility

ArcGIS 10.2.2 on Windows 7 32 bit (new Win 7 computer arriving tomorrow). I'm a complete novice to ArcGIS starting now (June 2014), so speak loud and slow... I have 10 years of experience with GIS ...
9
votes
3answers
5k views

Label points at regular intervals using ArcGIS for Desktop?

I'm working with lines on roads represented by a large number of sequencial points. Since labeling all of them would make the points impossible to identify, I'd like to know if there is a way to label ...
5
votes
1answer
1k views

Multi-labeling with multiple colours in QGIS

I would like to label data entries with multiple fields (that is easy, using the expression editor) in QGIS 2.18. But I fail to alter the styling of the labels, so that say the colour of the label ...
5
votes
1answer
826 views

Data Defined Override XY offset input

I have several rectangular polygons that overlap each other and I'd like to label them with the ID's (for atlas page numbers). The image below shows my initial setup. I've offset each label from the ...
3
votes
1answer
2k views

Attribute Query for First/Last record and every nth inbetween

I have a feature class with over 5000 points. There are too many to label so I would like to be able to grab the first, the last and every 30th or 50th in between.
1
vote
2answers
361 views

Labeling using chemical formulas in subscripts that contain a mask in ArcMap 10.6

I would like to label points in ArcMap, and the labels contain chemical formulas. These chemical formulas have both subscripts and superscripts (see snip below) I am unable to use labels that both ...
1
vote
1answer
2k views

Creating label in QGIS?

I am using QGIS 2.18.16 on Windows 10. What I want is a label to appear within the boundaries of a polygon. I select a layer, then select command Layer>Labelling, and I get: From here, I can ...
11
votes
2answers
2k views

Straight Lines from Label to Feature in QGIS?

What I’m trying to do is label a series of point features but due to the density of point features I’m going to have to move the labels away from the point features. I then want to use a simple ...
9
votes
2answers
1k views

Data defined label position for more than one scale in one layer

I'm looking for a better labeling-solution for my projects. It seems to be difficult - but maybe I'm just blind? My projects: I build printed bike-hike-books. The main scale is 1:75k and there are ...
4
votes
1answer
5k views

Label callouts in QGIS

Has anyone been using callout labelling with QGIS, either trunk or stable? Used for clustered points. That means the point stays where it is, the label maybe moved if required and a leader (plain or ...
15
votes
14answers
51k 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 ...
13
votes
3answers
2k 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