Thursday 19 September 2019

qgis - Buffering with rectangular end caps and not dissolving


I am using QGIS to attempt to achieve what should be a simple task.


I need to buffer a polygon layer with flat end caps, and without dissolving the resulting layer. In QGIS there are 3 tools for buffering:




  • v.buffer GRASS command

  • Fixed Distance buffer in Vector > Geoprocessing

  • GDAL Buffer vectors tool


v.buffer allows controlling the end cap style and whether the resulting layer is dissolved or not.


Fixed distance buffer in Vector > Geoprocessing outputs an undissolved buffer layer, however the edges are round and overlap. It doesn't seem possible to control the end cap type for the edges.


GDAL buffer vectors tool presents a similar problematic to Fixed distance buffer in Vector>Geoprocessing tools.


How do I achieve a discontinuous (undissolved) buffer with flat edges in the QGIS environment?



Answer



Upgrade to QGIS 3.2. The tools "buffer" offer what you achieve



enter image description here


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...