copying vectors in GRASS 7

2 messages Options
Embed this post
Permalink
Michael Barton

copying vectors in GRASS 7

Reply Threaded More More options
Print post
Permalink
I just tried to copy a vector file from within GRASS 7. The file is  
from a couple years back and uses a dbf data table. I got an odd error  
message.

g.copy vect=wind@baltic,wind
Copy vector <wind@baltic> to current mapset as <wind>
DBMI-SQLite driver error:
Error in sqlite3_step():
SQL logic error or missing database
Unable to create index for table <wind>, key <ID>

Any thoughts? I did compile GRASS 7 with sqlite.

Michael






_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev
Markus Metz-2

Re: copying vectors in GRASS 7

Reply Threaded More More options
Print post
Permalink


Michael Barton wrote:

> I just tried to copy a vector file from within GRASS 7. The file is
> from a couple years back and uses a dbf data table. I got an odd error
> message.
>
> g.copy vect=wind@baltic,wind
> Copy vector <wind@baltic> to current mapset as <wind>
> DBMI-SQLite driver error:
> Error in sqlite3_step():
> SQL logic error or missing database
> Unable to create index for table <wind>, key <ID>
>
> Any thoughts? I did compile GRASS 7 with sqlite.
Maybe it is necessary to rebuild topology for wind@baltic first before
copying, because otherwise the database links can not be read because
support files including dbln can not be opened. Maybe it is a good idea
to let grass7 open and read database links even if other support files
can not be opened (missing or unsupported version)?

Markus M

_______________________________________________
grass-dev mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-dev