Skip to content
Permalink
Browse files
[processing] fix parameter definition in offset curve algorithm
  • Loading branch information
alexbruy committed Nov 12, 2016
1 parent 426c5be commit 2287230f0fe49d1401594bb2d9f710a39dced707
Showing with 4 additions and 1 deletion.
  1. +1 −1 python/plugins/processing/algs/gdal/offsetcurve.py
  2. +3 −0 python/plugins/processing/tests/testdata/gdal_algorithm_tests.yaml
@@ -63,7 +63,7 @@ def defineCharacteristics(self):
'geometry', optional=False))
self.addParameter(ParameterNumber(self.RADIUS,
self.tr('Offset distance (positive value for left-sided and negative - for right-sided)'),
0.0, 99999999.999999, 1000.0,
-99999999.999999, 99999999.999999, 1000.0,
optional=False))
self.addParameter(ParameterBoolean(self.DISSOLVEALL,
self.tr('Dissolve all results'), False))
@@ -153,6 +153,9 @@ tests:
OUTPUT_LAYER:
name: expected/gdal/offset_lines.gml
type: vector
compare:
geometry:
precision: 7

- algorithm: gdalogr:singlesidedbufferforlines
name: OGR one-side buffer for lines (left-handed)

0 comments on commit 2287230

Please sign in to comment.