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
77
votes
5answers
41k 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 ...
18
votes
2answers
20k 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.
12
votes
2answers
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 ...
29
votes
1answer
4k 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 ...
4
votes
1answer
960 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 ...
25
votes
6answers
11k 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 ...
15
votes
2answers
8k 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 ...
10
votes
3answers
1k 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 ...
10
votes
3answers
6k 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 ...
19
votes
5answers
5k 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)
10
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 ...
17
votes
4answers
5k 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 "...
3
votes
1answer
207 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 ...
19
votes
2answers
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 ...
12
votes
4answers
10k 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
9
votes
2answers
3k 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 ...
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 ...
6
votes
1answer
2k 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 ...
4
votes
5answers
7k 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 ...
41
votes
3answers
49k 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 ...
16
votes
2answers
11k 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
13
votes
10answers
15k 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 ...
11
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
2answers
8k 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
2k 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
10k 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
723 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
2k 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 ...
6
votes
2answers
2k 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 ...
3
votes
1answer
2k views

Using Label Expression with Text Formatting Tags and Ampersand

I am using a Label Expression to label a parcel layer. The expression is: "<FNT name=""Arial"" size=""12"">" & [Owners_Nam] & "</FNT>" This works correctly for some labels, but ...
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", ...
10
votes
2answers
9k 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
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 ...
10
votes
2answers
6k views

Creating 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 ...
5
votes
1answer
995 views

Labeling only one duplicate attribute in QGIS without editing original data

I have several points (e.g. 4 bus stop positions) in one area. They all belong to the same station, so they all have the same name attribute. To avoid a mess of lables showing all the same name I only ...
15
votes
3answers
3k 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
243 views

Displaying vertex coordinates of a polygon or line without creating a new layer

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 ...
3
votes
2answers
3k 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 ...
9
votes
2answers
7k views

Turning on labels of layer using ArcPy?

I am unable to turn on the labels within my Python script: import arcpy mxd = arcpy.mapping.MapDocument(r"Mypathhere") #Map document reference layer = arcpy.mapping.ListLayers(mxd, "Layername")[0] #...
5
votes
2answers
2k 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
2k 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 ...
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 ...
3
votes
1answer
4k 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
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
1answer
599 views

Sorting grid cells in fishnet grid by location and number using QGIS?

I am using QGIS 3.2.0 on a Mac (and also have QGIS 2), and I have a fishnet grid (probably created in Arc) that comprises of nearly 2 million grid cells. As a result, every change I make to the ...
1
vote
2answers
9k 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 ...
7
votes
2answers
8k views

Rule-based labeling in QGIS

I'm trying to label visited countries in a world map shapefile, what is wrong with my rule : if( "Visited" = 'yes', "NAME", NULL)

1
2 3 4 5 6