Bug report #15342
Offset Curve operation does not work in "Single sided buffers (and offset lines) for lines" tool
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Victor Olaya | ||
Category: | Processing/GDAL | ||
Affected QGIS version: | 2.16.0 | Regression?: | No |
Operating System: | Easy fix?: | No | |
Pull Request or Patch supplied: | No | Resolution: | |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 23274 |
Description
From the Processing Toolbox, the GDAL/OGR tool "Single sided buffers (and offset lines) for lines" works fine when selected the Single Side Buffer operation. However, it does not work with the Offset Curve operation. I think this is due to an additional parameter not required by the Offset Curve but is still present.
I have included some minor edits to the ogr2ogronesidebuffer.py script that's saved in:
/.qgis2/python/plugins/processing/algs/gdal/
It seems to work but I am no expert in this matter.
This report was in response to this question posted on GIS.StackExchange:
http://gis.stackexchange.com/questions/202510/how-to-use-the-qgis-gdal-toolbox-offset-lines
---
Tested on QGIS 2.16.0 64-bit on Windows 7. With Processing Plugin version 2.12.2.
Associated revisions
[processing] don't apply additional parameter if offset curve operation is used (fix #15342)
[processing] don't apply additional parameter if offset curve operation is used (fix #15342)
(cherry picked from commit 1d2b0b4ca7658ed57c4663d9f064ca4bbc55381e)
[processing] don't apply additional parameter if offset curve operation is used (fix #15342)
(cherry picked from commit 1d2b0b4ca7658ed57c4663d9f064ca4bbc55381e)
[processing] don't apply additional parameter if offset curve operation is used (fix #15342)
(cherry picked from commit 1d2b0b4ca7658ed57c4663d9f064ca4bbc55381e)
History
#1 Updated by Joseph Liam over 8 years ago
- File ogr2ogronesidebuffer.py added
#2 Updated by Alexander Bruy over 8 years ago
- Status changed from Open to Closed
Fixed in changeset 1d2b0b4ca7658ed57c4663d9f064ca4bbc55381e.