[GRASS-dev] db commands on vectors stored in another mapset

Maciej Sieczka tutey at o2.pl
Wed Apr 16 13:38:14 EDT 2008


Dylan Beaudette pisze:

> Is this the normal behavior? i.e. I can "use" raster and vector files
> across mapsets, but why not vector attributes?

Because you are using DBF driver and your database is in:

$GISDBASE/$LOCATION_NAME/$MAPSET/dbf/

(check with db.connect -p). This results in a different path from mapset 
to mapset. I guess this is a feature.

In order to use db.select cross-mapset with DBF driver you need to set 
database= explicitely.

Maciek


More information about the grass-dev mailing list