[GRASS-dev] Error on attempted read access to a vector map in PERMANENT

Moritz Lennert mlennert at club.worldonline.be
Thu May 14 07:33:30 EDT 2009


On 14/05/09 11:39, Benjamin Ducke wrote:
> Right, that works!
> 
> However, setting the mapset via the "database=" option is awkward, since
> you need to know all the actual locations in the file/network system.

Well, if you are in the same location, all you have to do is replace 
$MAPSET with PERMANENT.

> How about adding a "mapset=" option that resolves these more
> transparently for the user?

We could do that, but I think that the v.db.* modules already respond to 
that need. the db.* modules are meant as more generic database 
management modules which allow you to deal with any tables in any databases.

The major problem with using db.* in your context is that you have to 
know the name of the table. You suppose that it is equal to the name of 
the map, but this is not always the case...

Moritz



More information about the grass-dev mailing list