[GRASS-dev] modules have problems with @mapset

Glynn Clements glynn at gclements.plus.com
Wed Feb 13 14:08:43 EST 2008


Michael Barton wrote:

> To make this work better with the GUI parser and not generate an  
> error, the script should just strip off the @mapset portion of the name.

Please answer the following question:

> > Or are you asking about the particular case of referencing maps which
> > happen to be in the current mapset using a qualified name?

If g.findfile doesn't handle the combination of mapset= and a
qualified name *where the mapsets are the same*, that's a bug in
g.findfile which should be fixed.

OTOH, if it's complaining because you're trying to use a map which
isn't in the current mapset, the scripts should be generating an
error. The scripts absolutely should not simply ignore the mapset.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list