[GRASS-user] Raster renamed but d.rast does not find it

Moritz Lennert mlennert at club.worldonline.be
Tue Sep 13 01:07:08 PDT 2016


Le Fri, 9 Sep 2016 13:13:35 -0700 (PDT),
Rich Shepard <rshepard at appl-ecosys.com> a écrit :

> On Fri, 9 Sep 2016, Moritz Lennert wrote:
> 
> > No need for that: open the properties of the layer and check which
> > name is indicated as the map name. This is not automatically
> > changed when you rename a map.  
> 
> Moritz,
> 
>    That's where I saw that the original name, hdr, was displayed. So I
> changed it on in the grass shell using g.rename. But when I try to
> display it grass tells me it cannot find the original -- and changed
> -- name.

Sorry for the late reply, but:

When you change the name of a map using g.rename, this does not change
the name in the d.rast call in the GUI. For the GUI you are still
trying to display the old map name. So, after you changed the map name
with g.rename, you also have to change the map name in the d.rast call
(i.e. in the 'Properties' of the layer) in the GUI...

Moritz


More information about the grass-user mailing list