[GRASS-user] test raster or vector

Maciej Sieczka tutey at o2.pl
Wed Oct 25 11:07:04 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.

You can't distunguish between raster and vector by name, they can have
the same name. ???


More information about the grass-user mailing list