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

Michael Barton michael.barton at asu.edu
Sat Apr 25 23:23:58 EDT 2009


On 4/25/09 5:46 AM, "grass-dev-request at lists.osgeo.org"
<grass-dev-request at lists.osgeo.org> wrote:

> 
> From: Markus Neteler <neteler at osgeo.org>
> Date: Sat, 25 Apr 2009 11:28:53 +0200
> To: Martin Landa <landa.martin at gmail.com>
> Cc: Isaac Ullah <iullah at asu.edu>, GRASS devel <grass-dev at lists.osgeo.org>
> Subject: Re: [GRASS-dev] i.rectify still chokes on @mapset
> 
> On Sat, Apr 25, 2009 at 10:12 AM, Martin Landa <landa.martin at gmail.com> wrote:
>> 2009/4/25 Markus Neteler <neteler at osgeo.org>:
>> 
>> [...]
>> 
>>> Do we need a new function to strip off the @mapset from a file name?
>>> Cannot find it...
>> 
>> G__name_in_mapset()
>> 
>> ?
> 
> I always that that G__ functions are for internal use. But maybe we
> could wrap it?
> 
> Markus

Perhaps I misunderstand, but I thought the idea was that all GRASS modules
were supposed to respect @mapset now. Shouldn't a fix be heading in that
direction rather than finding a way to strip off the @mapset specifier?

Michael



More information about the grass-dev mailing list