[GRASS-user] importing a vector, problem with duplicate column name: cat_

Margherita Di Leo diregola at gmail.com
Thu Aug 4 00:24:01 PDT 2016


Hi,

importing a vector either using v.import GUI or v.in.ogr, it tries to
rename the column <cat> into <cat_>, but both already exist and it throws
out an error.

[..]
Check if OGR layer <pt599000_4414000_class1> contains polygons...
Column name <cat> renamed to <cat_>
DBMI-SQLite driver error:
Error in sqlite3_prepare():
duplicate column name: cat_
DBMI-SQLite driver error:
Error in sqlite3_prepare():
duplicate column name: cat_
ERROR: Unable to create table: 'create table pt599000_4414000_class1 (cat
integer, cat_ integer, cat_ integer, NDVI double precision)'
ERROR: Unable to import [..]

Is there a way to overcome this?

Thank you for any suggestion
Cheers,

-- 
Margherita Di Leo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160804/64494a10/attachment.html>


More information about the grass-user mailing list