Bug report #15342

Offset Curve operation does not work in "Single sided buffers (and offset lines) for lines" tool

Added by Joseph Liam over 7 years ago. Updated over 7 years ago.

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.

ogr2ogronesidebuffer.py Magnifier (7.08 KB) Joseph Liam, 2016-07-26 04:22 AM

Associated revisions

Revision 1d2b0b4c
Added by Alexander Bruy over 7 years ago

[processing] don't apply additional parameter if offset curve operation is used (fix #15342)

Revision 5b2fe1b8
Added by Alexander Bruy over 7 years ago

[processing] don't apply additional parameter if offset curve operation is used (fix #15342)

(cherry picked from commit 1d2b0b4ca7658ed57c4663d9f064ca4bbc55381e)

Revision 1e1fa182
Added by Alexander Bruy over 7 years ago

[processing] don't apply additional parameter if offset curve operation is used (fix #15342)

(cherry picked from commit 1d2b0b4ca7658ed57c4663d9f064ca4bbc55381e)

Revision 6851c347
Added by Alexander Bruy over 7 years ago

[processing] don't apply additional parameter if offset curve operation is used (fix #15342)

(cherry picked from commit 1d2b0b4ca7658ed57c4663d9f064ca4bbc55381e)

History

#2 Updated by Alexander Bruy over 7 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF