Reputation: 237
Steps to reproduce the error:
v.in.ogr input=path_to_shp output=basin
Creating attribute table for layer <basin>...
DBMI-SQLite driver error:
Error in sqlite3_prepare():
near "ORDER": syntax error
DBMI-SQLite driver error:
Error in sqlite3_prepare():
near "ORDER": syntax error
ERROR: Unable to create table: 'create table basin (cat integer, HYBAS_ID
integer, NEXT_DOWN integer, NEXT_SINK integer, MAIN_BAS integer,
DIST_SINK double precision, DIST_MAIN double precision, SUB_AREA
double precision, UP_AREA double precision, PFAF_ID integer, SIDE
varchar ( 6 ), LAKE integer, ENDO integer, COAST integer, ORDER
integer, SORT integer)'
What is the cause of this error and the solution?
I was expecting clean execution.
Upvotes: 0
Views: 17