[GRASS-dev] [bug #3069] (grass) r.mapcalc
- warning/errorr amibiguity
Moritz Lennert
mlennert at club.worldonline.be
Tue Mar 6 05:59:45 EST 2007
On 06/03/07 11:45, Glynn Clements wrote:
> Moritz Lennert wrote:
>
>>>> r.mapcalc still prints this double information in case 2 same called
>>>> rasters exit within the accesible mapsets, eg.:
>>>>
>>>> WARNING: 'cell/map' was found in more mapsets (also found in nic).
>> As I've mentioned before somewhere, I find this message a bit confusing,
>> especially the "also found in" which normally gives me the mapset I am
>> in and want to use the map of (at least it does so when in mapset user1
>> of spearfish working on a local copy of a map which is also in PERMANENT).
>>
>> Couldn't this be changed so that it mentions the _other_ mapsets the map
>> is in, and maybe mention which map is used by default (I know that in
>> this case it stops with an error, but many other modules just emit this
>> as a warning, leaving the user uninformed of which map was used) ?
>
> I've changed it so that it identifies all of the mapsets involved,
> e.g.:
>
> $ r.resample in=fields out=fields
> Creating support files for fields...
> creating new cats file...
> $ r.mapcalc foo = fields
> WARNING: 'cell/fields' was found in more mapsets (also found in PERMANENT).
> WARNING: using 'fields at glynn'.
>
Great, thanks !
Moritz
More information about the grass-dev
mailing list