<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Paolo,<br>
    I would have no issue with that at all.<br>
    Glad to know my contribution I might be of some help!<br>
    Regards,<br>
    <br>
    Richard.<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 09/02/2018 17:00, Paolo Cavallini
      wrote:<br>
    </div>
    <blockquote
      cite="mid:766ee4a5-ebd1-3e20-8fbc-09ba6c5601e7@faunalia.it"
      type="cite">
      <pre wrap="">Richard, Mike,
thanks for your contributions.
Would you mind issuing a pull request to add your styles to our repo?
As soon as I'll have some spare time I can check them and possibly add
it to Resource Manager plugin.
All the best.

Il 08/02/2018 16:46, Michel Stuyts ha scritto:
</pre>
      <blockquote type="cite">
        <pre wrap="">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: <a class="moz-txt-link-freetext" href="https://www.dropbox.com/sh/2d1eaia7miy2v3b/AAB6H5ovouKEMoMmUSwf3pnza?dl=0">https://www.dropbox.com/sh/2d1eaia7miy2v3b/AAB6H5ovouKEMoMmUSwf3pnza?dl=0</a>

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 [<a class="moz-txt-link-freetext" href="mailto:qgis-user-bounces@lists.osgeo.org">mailto:qgis-user-bounces@lists.osgeo.org</a>] Namens Paolo Cavallini
Verzonden: vrijdag 2 februari 2018 18:44
Aan: <a class="moz-txt-link-abbreviated" href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>
Onderwerp: Re: [Qgis-user] Polygon Dimensioning in QGIS

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

</pre>
        <blockquote type="cite">
          <pre wrap="">  This is really amazing!
</pre>
        </blockquote>
        <pre wrap="">...
</pre>
        <blockquote type="cite">
          <pre wrap="">  I think that if the label were attached in someway to the 
dimensioning line, this could be an useful feature.
</pre>
        </blockquote>
        <pre wrap="">
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:
<a class="moz-txt-link-freetext" href="https://github.com/pcav/qgis_styles">https://github.com/pcav/qgis_styles</a>
All the best.

--
Paolo Cavallini - <a class="moz-txt-link-abbreviated" href="http://www.faunalia.eu">www.faunalia.eu</a>
QGIS & PostGIS courses: <a class="moz-txt-link-freetext" href="http://www.faunalia.eu/training.html">http://www.faunalia.eu/training.html</a>
<a class="moz-txt-link-freetext" href="https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis">https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis</a>
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
_______________________________________________
Qgis-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
List info: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>
Unsubscribe: <a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/qgis-user">https://lists.osgeo.org/mailman/listinfo/qgis-user</a>

</pre>
      </blockquote>
      <pre wrap="">

</pre>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <b><u>Richard McDonnell</u></b><br>
      <b><small><small><small>GIS Specialist PgD GIS AssocSCSI</small></small></small></b><br>
      <b><small>OPW FRM Data Management</small></b><br>
      <b><small>52 Stephens Green, Dublin 2.</small></b><br>
      <small><small>TEL: 01 6476543</small></small></div>
  
<p>
<a href="http://www.opw.ie/"><img src="http://www.opw.ie/en/media/opw-logo-december-2016.gif" width="405" height="225" /></a>
</p>
<br /><br />Email Disclaimer: <a href="http://www.opw.ie/en/disclaimer/">http://www.opw.ie/en/disclaimer/</a>

</body>
</html>