3

I want to create a style in QGIS, in which one line is offset from the other, but their ends form one point (as in the picture). How do can you remove the ends of the green line?

In QGIS 3.2 there is an EXTEND function that extends the ends, but does not shorten them...

QGIS properties popup

  • it is not clear to me what style you want to achieve, only something that isn't correct. can you add a sketch of the style you want? – nmtoken Jul 17 '18 at 19:08
5

You could to use style "Geometry Generator" and use this expression

difference( $geometry, buffer( end_point( $geometry ), 1) )

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.