Skip to content

Commit

Permalink
[processing] fix parameter definition in offset curve algorithm
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed Nov 12, 2016
1 parent 426c5be commit 2287230
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion python/plugins/processing/algs/gdal/offsetcurve.py
Expand Up @@ -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))
Expand Down
Expand Up @@ -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)
Expand Down

0 comments on commit 2287230

Please sign in to comment.