[GRASS-user] r.reclass and g.remove: another issue

Glynn Clements glynn at gclements.plus.com
Fri Oct 17 13:04:37 EDT 2008


Daniel Victoria wrote:

> I just found out that this old bug in WinGrass 6.3
> 
> The reclass_to file is not being removed after I removed the reclassed
> map. So I can't remove the original map.

If you get the "Remove reclassed map first" error, you can use -f
(force) to ignore this and remove the map anyhow.

> I also noticed that, using r.mapcalc in MSYS Console will not give the
> user any feedback like that percent count

Is r.mapcalc built with readline in WinGRASS? That might interfere
with it.

More generally, the MSys console won't work with any modules which use
curses, as the version of curses used for WinGRASS is designed for use
with the Windows/MS-DOS command prompt (which is quite different from
a TTY, or an emulation of one).

Note that you can run bash from the Windows command prompt with:

	C:\MSys\1.0\bin\sh -login

(The -login switch is needed to make bash read /etc/profile,
~/.profile, ~/.bash_profile, etc). You don't have to use the
(half-baked) rxvt that comes with MSys (and is run from the MSys
icon).

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


More information about the grass-user mailing list