[GRASS-user] How effective is scripting in win-GRASS?

Nikos Alexandris nikos.alexandris at felis.uni-freiburg.de
Thu Apr 10 09:22:51 EDT 2008


On Thu, 2008-04-10 at 10:11 -0300, Daniel Victoria wrote:
> In the email topic you asked about scripting... Well, I have a friend
> here  that is not very computer literate but he needs to use some
> python scripts I wrote for Grass.
> 
> I installed winGrass for him and I'm surprised how fast he learned!
> Also, the python scripts works normally, after some debugging (had to
> remove some spaces on r.mapcalc expressions). All you have to do is
> call the python script in the command window and ask for it to run
> from a terminal...
> 
> For scripting I had to install MinSys (is that the correct name) and
> all works like a charm!
> 
> The only thing that is bugging me is that I don't know how to use
> grass commands from the command line. We are typing the commands in
> the command window and hit Run. Is there a way to issue grass commands
> from the "windows terminal"?
> 
> Cheers
> Daniel

Very useful to know all that Daniel.

I tried once some commands in win-GRASS terminal and (of course)
commands like sort, cut, etc didn't work. Without these commands I don't
think that I would like to use GRASS under win.

I think for beginners && winGRASS users it would be nice to be able to
select more files at once for example in r.in.gdal

How else can a newbie load 10 raster maps at once?

How about patching 8 corine tiles together at once? If I remember well,
only in some modules is this option available (to load with ctrl
+mouseclick) all tiles at once?

Well, maybe it is a way to "force" learning to use simple scripts (which
is good from on side). I stopped using the GUI after 1 and 1/2 months
after starting with GRASS because of this. And I don't regret it. But it
might be more easy for a beginner while "living" a transitional phase
between GUIs and CLI.


Cheers,

Nikos


> 
> On Thu, Apr 10, 2008 at 9:53 AM, Nikos Alexandris
> <nikos.alexandris at felis.uni-freiburg.de> wrote:
> >
> >  On Thu, 2008-04-10 at 13:31 +0800, maning sambale wrote:
> >  > >
> >  > > But I use the FOSS4G2006 CD without minimal problems for my basic GIS
> >  > > classes.  A bit old but very reliable (at least for me).
> >  > I mean:
> >  > with minimal problems
> >
> >  Thank you Maning ;-)
> >
> >
> >
> >  _______________________________________________
> >  grass-user mailing list
> >  grass-user at lists.osgeo.org
> >  http://lists.osgeo.org/mailman/listinfo/grass-user
> >
> _______________________________________________
> grass-user mailing list
> grass-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user



More information about the grass-user mailing list