[GRASS-user] Re: Writing a script for image classification
Martin Brandt
martin.brandt at univie.ac.at
Wed Jun 8 07:11:46 EDT 2011
you can save the script as myscript.sh, and start Grass in a terminal (type
grass) and select your location and mapset (now you can close the gui). In
the terminal you go to the directory where you saved the script, make it
executable (type chmod 0755 myscript.sh) and start the script with
./myscript.sh..
before that you need to modify the script, i.e. set the variables....for
example maps="yourmapset" is your mapset, raster"band1,band2,band3" are your
raster files you want to group......if you already made a signaturfile, you
can skip most of the script....
-----
Department of Geography and
Regional Research
UZA II, Althanstr. 14
1090 Wien, AUSTRIA
http://geooekologie.univie.ac.at
--
View this message in context: http://osgeo-org.1803224.n2.nabble.com/Writing-a-script-for-image-classification-tp6448874p6453188.html
Sent from the Grass - Users mailing list archive at Nabble.com.
More information about the grass-user
mailing list