[GRASS-user] Error while importing shapefile
António Rocha
antonio.rocha at deimos.com.pt
Tue Oct 25 10:42:31 EDT 2011
Greetings
I have tried to import this shapefile (that I can display in QGIS) but I
go this error
(Tue Oct 25 15:38:40
2011)
v.in.ogr dsn=/home/GPS_Project.shp layer=GPS_Project output=GPS_Project
Projection of input dataset and current location appear to match
Layer: GPS_Project
DBMI-DBF driver error:
SQL parser error: syntax error, unexpected TIME, expecting
NAME processing 'time'
in statement:
create table GPS_Project (cat integer, ele
double precision, time varchar ( 80 ), magvar double
precision, geoidheigh double precision, name varchar ( 80 ),
cmt varchar ( 80 ), desc_ varchar ( 80 ), src varchar ( 80
), link1_href varchar ( 80 ), link1_text varchar ( 80 ),
link1_type varchar ( 80 ), link2_href varchar ( 80 ),
link2_text varchar ( 80 ), link2_type varchar ( 80 ), sym
varchar ( 80 ), type varchar ( 80 ), fix varchar ( 80 ), sat
integer, hdop double precision, vdop double precision, pdop
double precision, ageofdgpsd double precision, dgpsid
integer, label varchar ( 80 ))
Error in db_execute_immediate()
ERROR: Unable to create table: 'create table GPS_Project (cat integer,
ele double precision, time varchar ( 80 ), magvar double precision,
geoidheigh double precision, name varchar ( 80 ), cmt varchar ( 80 ),
desc_ varchar ( 80 ), src varchar ( 80 ), link1_href varchar ( 80 ),
link1_text varchar ( 80 ), link1_type varchar ( 80 ), link2_href varchar
( 80 ), link2_text varchar ( 80 ), link2_type varchar ( 80 ), sym
varchar ( 80 ), type varchar ( 80 ), fix varchar ( 80 ), sat integer,
hdop double precision, vdop double precision, pdop double precision,
ageofdgpsd double precision, dgpsid integer, label varchar ( 80 ))'
(Tue Oct 25 15:38:41 2011) Command finished (0 sec)
Any suggestion on how to solve this?
Thanks
Best regards,
Antonio
__________ Information from ESET NOD32 Antivirus, version of virus signature database 6572 (20111025) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
More information about the grass-user
mailing list