[GRASS-user] test raster or vector
Moritz Lennert
mlennert at club.worldonline.be
Wed Oct 25 09:53:26 EDT 2006
Michaël Rabotin wrote:
> Hi Everybody
> a basic question for a shell script in GRASS 6.0.1
> In a part of my script, I ask the user to give the name of a map (a
> vector or a raster)
> and I want to test if the user give a raster or a vector.
> Do you know how I can proceed to do this test ?
http://grass.itc.it/grass62/manuals/html62_user/g.parser.html
and
http://grass.itc.it/grass62/source/SUBMITTING_SCRIPTS
for more tips about script writing.
Moritz
More information about the grass-user
mailing list