[GRASS-user] g.findfile

Hi,
Using grass6.4.0svn (revision 35838), the result of g.findfile appears
not to run properly for raster query :

create a raster map test,
run g.findfile element=raster file=test.
Looks like the file does not exist :
name=
mapset=
fullname=
file=

(Tested successfully with a vector map)
What am I doing wrong ? I remember the command worked in previous
versions.

Thanks,
Vincent.

Hi,

2009/2/10 Vincent Bain <bain@toraval.fr>:

Using grass6.4.0svn (revision 35838), the result of g.findfile appears
not to run properly for raster query :

create a raster map test,
run g.findfile element=raster file=test.
Looks like the file does not exist :
name=
mapset=
fullname=
file=

(Tested successfully with a vector map)
What am I doing wrong ? I remember the command worked in previous
versions.

use element=cell to find raster map

Martin

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa

Thank you Martin !

(for my info, is it a recent change or was the previous keyword really
'raster' ?)

Vincent

Le mardi 10 février 2009 à 14:39 +0100, Martin Landa a écrit :

Hi,

2009/2/10 Vincent Bain <bain@toraval.fr>:
> Using grass6.4.0svn (revision 35838), the result of g.findfile appears
> not to run properly for raster query :
>
> create a raster map test,
> run g.findfile element=raster file=test.
> Looks like the file does not exist :
> name=
> mapset=
> fullname=
> file=
>
> (Tested successfully with a vector map)
> What am I doing wrong ? I remember the command worked in previous
> versions.

use element=cell to find raster map

Martin

Hi,

2009/2/10 Vincent Bain <bain@toraval.fr>:

Thank you Martin !

(for my info, is it a recent change or was the previous keyword really
'raster' ?)

no, 'cell' is historical artefact. One of topics for GRASS7 - clean up
list of GIS elements used in GRASS 5/6 [1]

Martin

[1] http://trac.osgeo.org/grass/browser/grass/branches/develbranch_6/lib/gis/element_list

--
Martin Landa <landa.martin gmail.com> * http://gama.fsv.cvut.cz/~landa