Paolo,

I used your example as a starting point to create a qml style file that adds 
dimensions to all segments of the border of simple polygons, without an extra 
line layer. I used the geometry generator to create some marker lines and 
arrows. I also added the area in the center of the polygons. For some reason 
the labels with the lengths of the segments (that are Font Marker Lines) look 
more bold than the labels that show the areas (that are real labels), even 
though in QGIS 2.99 they have the same size and units. I QGIS 2.18 I tried to 
give them both about the same size in pixel and point units.

I uploaded 2 qml-files (1 for QGIS 2.18 and 1 for QGIS 2.99) and an example 
result png-file to Dropbox: 
https://www.dropbox.com/sh/2d1eaia7miy2v3b/AAB6H5ovouKEMoMmUSwf3pnza?dl=0

How to use the style:
1. open or create a polygon layer
2. add some simple polygons
3. apply the qml-file for your QGIS version (2.18 or 2.99)


Michel

-----Oorspronkelijk bericht-----
Van: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] Namens Paolo Cavallini
Verzonden: vrijdag 2 februari 2018 18:44
Aan: qgis-user@lists.osgeo.org
Onderwerp: Re: [Qgis-user] Polygon Dimensioning in QGIS

Il 02/02/2018 17:35, Fernando M. Roxo da Motta ha scritto:

>   This is really amazing!
...
>   I think that if the label were attached in someway to the 
> dimensioning line, this could be an useful feature.

thanks for this note. As said, it was just a quick exercise, there is much room 
for improvements.
Feel free to submit pull requests to:
https://github.com/pcav/qgis_styles
All the best.

--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to