[GRASS-user] Re: test raster or vector
lponti at infinito.it
Wed Oct 25 18:58:46 EDT 2006
Maybe you could check if your mapName is included in either
output list and then do stuff as a consequence.
Sorry for not putting it in shell code,
Date: Wed, 25 Oct 2006 15:32:58 +0200
From: " Micha?l Rabotin " <michaelrabotin at gmail.com>
Subject: [GRASS-user] test raster or vector
To: grassuser at grass.itc.it
<5cbd12c70610250632l1567e66fue2605a9e09200f8b at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"
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 ?
Thanks a lot
More information about the grass-user