[GRASS-dev] i.rectify still chokes on @mapset

Glynn Clements glynn at gclements.plus.com
Sat Apr 25 20:02:53 EDT 2009


Markus Neteler wrote:

> Do we need a new function to strip off the @mapset from a file name?
> Cannot find it...

G__name_is_fully_qualified() will split a qualified name into map and
mapset parts.

G__unqualified_name() does likewise, but also checks whether the
@mapset part matches a specific mapset.

In either case, you need to check the return value to determine
whether the output buffers were filled in.

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


More information about the grass-dev mailing list