Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

72
votes
4answers
37k 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 ...
11
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
14k views

How to create 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. How can I do it? please help me. My QGIS version is 1.8
4
votes
1answer
767 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 ...
24
votes
1answer
2k 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 ...
10
votes
1answer
5k 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
5k 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
9k 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 ...
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 ...
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
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....
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 ...
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
37k 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 ...
9
votes
3answers
550 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 ...
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 ...
7
votes
2answers
6k 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 ...
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 ...
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
557 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 ...
7
votes
3answers
3k 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 ...
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
8k 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", ...
13
votes
2answers
6k 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
4k views

How to create curved labels in QGIS

I added an image, that explains my demand (see Schiefelsbach river). How can I do this?
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 ...
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 ...
7
votes
5answers
3k 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:
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 ...
3
votes
1answer
116 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 ...
3
votes
3answers
717 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 ...
2
votes
1answer
932 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
7k 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
767 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
715 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 ...
4
votes
2answers
7k views

“The coordinates or measures are out of bounds” when converting labels to annotations

Am converting Labels to Annotations in ArcMap 10.1. However an error messages pops up with this message. The coordinates or measures are out of bounds. Text = RUSHOZI The coordinates or measures are ...
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.
10
votes
2answers
1k 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 ...
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
50k 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
7
votes
2answers
215 views

How to create a label containing values from different layers in QGIS

I have several layers which are stagged on each other. I need to create a label (or text-window / description, doesn't matter) which should contain values from different layers. Creating a regular ...
2
votes
4answers
853 views

QGIS 3 Line connecting point to label issue - can not get line to align with label in desired place

I have labelled a points layer by defining a line between points and labels, so as I could remove the label to outside the map area (Figure 1). Using additional columns in the points layer attributes ...
15
votes
4answers
3k 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 "...