Bug report #15478

Processing/OGR offest curve tool error

Added by Giovanni Manghi about 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:Giovanni Manghi
Category:Processing/GDAL
Affected QGIS version:2.16.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23402

Description

ERROR 1: In ExecuteSQL(): sqlite3_prepare(SELECT ST_OffsetCurve( geometry , 2 ,1),* FROM 'lines' ):
wrong number of arguments to function ST_OffsetCurve()

Associated revisions

Revision cac3b2dd
Added by Alexander Bruy about 8 years ago

[processing] refactor offset curve GDAL algorithm (fix #15478)

Revision acc108a2
Added by Alexander Bruy about 8 years ago

[processing] refactor offset curve GDAL algorithm (fix #15478)

(cherry picked from commit cac3b2ddfa7c43239f1c9abc84c965340a5b74b5)

Revision e2c79910
Added by Alexander Bruy about 8 years ago

[processing] refactor offset curve GDAL algorithm (fix #15478)

(cherry picked from commit cac3b2ddfa7c43239f1c9abc84c965340a5b74b5)

History

#1 Updated by Jukka Rahkonen about 8 years ago

According to https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html the function takes two arguments:

ST_OffsetCurve( geom Curve , radius Double precision ) : Curve

#2 Updated by Giovanni Manghi about 8 years ago

Jukka Rahkonen wrote:

According to https://www.gaia-gis.it/gaia-sins/spatialite-sql-latest.html the function takes two arguments:

ST_OffsetCurve( geom Curve , radius Double precision ) : Curve

yes. When I added the tool it was working ok, then changes have been made (not by me) and something broke.

#3 Updated by Alexander Bruy about 8 years ago

  • Status changed from Open to Closed

Also available in: Atom PDF