GeoPackage

Curved Layout Text Example


image

This example shows how to create curved text in QGIS Layouts using dynamic SVG graphics and Javascript. It is inspired by this GIS Stack Exchange article: How to curve text in QGIS layouts

21 June 2024
27 June 2024
27 June 2024
Candido
svg layout curved text

Hi, seems to be interesting, but it doesn't work in QGIS 3.34.7 (screenshot: https://i.sstatic.net/EeykULZP.png). Also, I think a custom Python function is not the best approach. Can you implement it in JavaScript, both functions and set attribute 'd' of svg element, between <script> </script> tags inside the HTML frame?

Reviewed by gabrieldeluca 11 months, 1 week ago

Thank you!

Reviewed by gabrieldeluca 11 months, 1 week ago

Thanks for sharing.

Reviewed by gabrieldeluca 11 months, 1 week ago

gabrieldeluca approved these changes 11 months, 1 week ago

This GeoPackage is made available under the CC-0 license.

QGIS sustaining members

Flagship membership


Flagship membership


Large membership


Large membership


Large membership


Large membership


Large membership


Large membership


Large membership