[GRASS-user] DBMS Questions

   I've read the relevant man pages to convert the .dbf attribute data to
SQLite tables, but still have quesitons.

   Should I convert from .dbf to SQLite outside of GRASS?

   I've imported several .shp and .dbf themes with v.in.ogr. Do I use
db.in.ogr after this?

   Ultimately, I want a single database with tables for each theme. What do I
read to learn how to do all this? (This is not covered in the 2nd edition of
the GRASS book.)

TIA,

Rich

Hi,

2009/11/16 Rich Shepard <rshepard@appl-ecosys.com>:

I've read the relevant man pages to convert the .dbf attribute data to
SQLite tables, but still have quesitons.

Should I convert from .dbf to SQLite outside of GRASS?

No, create a new mapset, set up SQLite backend using db.connect and
copy vector maps to this mapset, eg.

g.mapset -c new_mapset
db.connect dri=sqlite data='$GISDBASE/$LOCATION_NAME/$MAPSET/db.sqlite'
g.copy vect=zelez@PERMANENT,zelez

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa