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.

According to wiki.GIS.com:

cartographic labeling is the craft of placing text on a map in relation to the map symbols, together representing features and properties of the real world. Using text effectively creates maps that are clear, informative, and attractive. It is part of typography which is an essential element of cartographic design.

2333 questions
9
votes
6 answers

How are labels dynamically placed on a line or polygon?

I was wondering if anyone knew the math involved, or resources for learning the math involved, in finding the ideal position, scale, and rotation of a label for a line or polygon on a map? The most I've got so far is finding the centroid for a…
Bob
  • 191
  • 3
3
votes
1 answer

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.
Lee
  • 31
  • 1
  • 2
3
votes
3 answers

How to display(expression) specific multiline labels (8 labels only) with same field in QGIS?

I wanted to display the labels (which only 8 labels with the longer names)from one field. I've tried in multiple ways but wasn't works (NOT duplicated question) I've tried this: if ("NAMEASCII"='Nikolajewsk na Armur',…
ndr
  • 497
  • 1
  • 4
  • 14
2
votes
3 answers

How to stack labels

How can labels be stacked? The data has multiple points stacked at the same point location. All of the labels from all of the points at one location need to be stacked in a list next to the "group" point.
yorkmapper
  • 21
  • 1
2
votes
1 answer

Labeling information of another atribute

I have this attribute table: I want to run a script for labelling: label='' parametros=array("Alumínio","Antimônio") for i in range(len(parametros)): label=prof[i] if ID_sprof[i]==ID_sprof[i-1]: label+=prof[i-1] This is a try of…
Cortod
  • 21
  • 3
1
vote
1 answer

Can I change a bunch of address points to labeled points without having to do each one separately?

I am trying to make a map with all of our customers in a certain area, I got the addresses on the map so now I have 300 dots. I was wondering if there is a way to make those labelled points without having to do all 300 separately? if so could…
Nick
  • 11
  • 1
0
votes
1 answer

What's the mature solution for label placement?

I am working on an android map application, while I need to place the labels for points/lines/polygons manually. I have googled and I found this: https://www.ads.tuwien.ac.at/research/labeling/ But it seems that it is last updated at 2004, I am not…
giser
  • 953
  • 1
  • 11
  • 31
0
votes
2 answers

Labeling just a few specific features within a point dataset

I have a dataset with 95,000 points/features in and all I want to be able to do is label just a few specific features! I have worked out how to label individual ones using 'Rule-based labeling' and using the syntax "Contact_ID" = 'MBE_00618' (so…
0
votes
1 answer

Are easements normally marked on county property maps?

There is a main gas line easement on the edge of our land, but the gas company is concerned about where the garden is. Would the line be marked well enough on a county map to say where the easement is?
user
  • 109
  • 2
0
votes
1 answer

Add "inch: symbol to label

I'm using QGIS 3.23-Bonn on a Win 7 machine. I'm trying to add the "inch" symbol to a label, but can't figure it out. I've tried using (Diameter) || '\' " but it doesn't work. However for length in feet this works (Shape_Length,0)||'\" || '\n' ||…
-1
votes
1 answer

qwc2 Label attribute

I need to show a label attribute on a QWc2 map. As an example, I need to label points with their ID or polygons with their areas. I am not able to do the proper configuration or coding. How can I solve this or can share a sample code for a similar…