Feature request #15399
Support for polygon outline labelling
|Assignee:||Frits van Veen|
|Pull Request or Patch supplied:||No||Resolution:|
|Easy fix?:||No||Copied to github as #:||23329|
Some datasets have polygon style labels, where the polygon is the outline of the label.
Now that we have the option 'Using perimeter (curved)', this can be used, but it is not optimal. The label is not placed at the center and the font must be smaller than necessary or no label is plotted at all.
The whole perimeter is considered while we would like to consider only the center line of the polygon.
I think a new option is needed: 'Using polygon as outline'. The center line of the polygon should be calculated and the label should be plotted on this line.
The height of the label could be deduced from the height of the polygon, but I do not think this is sensible.
Which edges represent the height of the label can perhaps be determined whether two adjacent edges have an angle of around 90 degrees.
Furthermore the dataset might contain multipolygons, where every word of the label should match a polygon.
#2 Updated by Frits van Veen over 3 years ago
- File 2016-08-06_12_13_30-Top250.dtxml_-_DisplayTopo.png added
- File 2016-08-06_12_13_02-QGIS_2.16.0-Nødebo_-_Top10NL.png added
- File 2016-08-06_12_15_04-QGIS_2.16.0-Nødebo_-_Top10NL.png added
I added some examples. Picture 12_13_30 is the official map from the Dutch Kadaster. The rest my rendition with QGIS.