1

enter image description hereDigitizing a utility network is feasible in QGis, but I face great difficulties to digitize the huge number of annotations and dimensioning attached to the network. I try to achieve this operation in the QGis by creating blank layer with labels but it is not convenient for dimensioning. Also, working with the composer is very tedious. Note that this operation is easy in CAD software (Autocad map for example). Is there a plugin that could achieve easily this operation in QGis ?

  • 1
    What version of QGIS? – Mapperz May 2 '18 at 18:42
  • 1
    have you used cadtools? plugins.qgis.org/plugins/cadtools – Mapperz May 2 '18 at 18:44
  • I use QGis 2.18.19.I think cadtools is efficient for digitizing the network but it is not the case for annotation and dimensioning – ennine May 2 '18 at 19:16
  • Could you add an image of what you're going for? – csk May 2 '18 at 19:32
4

Adding dimension annotations can be done by adding a line and changing the style. For example:

enter image description here

This is a line labeled using the formula

round($length,2) || ' feet'

The length function calculates the length of the line in the units of the layer CRS. My line layer is in a CRS that uses feet as its unit, so the length is calculated in feet.

There is a white rectangular background behind the label.

enter image description here

label placement is set to "on line"

enter image description here

The end caps are added as a second symbol level, using markers on every vertex.

enter image description here


Many variations are possible by playing with different styles.

Here's what the example from above looks like if I remove the "simple line" symbol level. enter image description here

Here's what it looks like with a rotation of 90 degrees, and the coordinates set to $x_at(1) and $y_at(1)

enter image description here

enter image description here

And with an arrow instead of a line: enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.