[GRASS-user] Database question
Adam Dershowitz, Ph.D., P.E.
adershowitz at exponent.com
Mon Oct 25 12:54:16 EDT 2010
This seems like it must be really easy and I am just missing something....
I have a project but I accidentally created the sqlite database file in the wrong location.
So, all of my project files are in one directory, but, in my home directory I have a file sqlite.db.
I just moving that file to where I want it. Then I did:
db.connect driver=sqlite database=/NewLocation/test.db
Now if I do db.connect -p I see the correct path, but if I try to access a vector that uses that database I get an error "No such table".
If I move the file back to the old location then the error goes away, even if I don't use db.connect to point to the other location. So, I am just missing something about how to have grass know the correct location of a database.
If I just move the file, how can I get the vector map to "know" the correct file to use, since db.connect is not doing the job?
Thanks.
--Adam
More information about the grass-user
mailing list