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

Dear win-GRASS users,

I've never used GRASS under windows properly. How effective is it really
to work on a winbox with GRASS?

[ No, I don't plan to switch! I want to help some people to get into
win-GRASS and later in linux & GRASS :stuck_out_tongue_winking_eye: ]

What is the best live-cd with GRASS (GDAL/OGR), QGIS ? Or, how could I
build a custom live-CD including latest FOSSGIS tools?

Thank you,

Nikos

What is the best live-cd with GRASS (GDAL/OGR), QGIS ? Or, how could I
build a custom live-CD including latest FOSSGIS tools?

Some options
http://grass.itc.it/download/cdrom.php

I think the most up to date is from ominiverdi
http://livecd.ominiverdi.org/index.php?page=LiveCD&toc=livecd

But I use the FOSS4G2006 CD without minimal problems for my basic GIS
classes. A bit old but very reliable (at least for me).

http://ldap.telascience.org/foss4g/

maning

Thank you,

Nikos

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI
|---------|----------------------------------------------------------|

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

http://ldap.telascience.org/foss4g/

maning

>
> Thank you,
>
> Nikos
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>

--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI
|---------|----------------------------------------------------------|

--
|---------|----------------------------------------------------------|
| __.-._ |"Ohhh. Great warrior. Wars not make one great." -Yoda |
| '-._"7' |"Freedom is still the most radical idea of all" -N.Branden|
| /'.-c |Linux registered user #402901, http://counter.li.org/ |
| | /T |http://esambale.wikispaces.com|
| _)_/LI
|---------|----------------------------------------------------------|

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 :wink:

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

On Thu, Apr 10, 2008 at 9:53 AM, Nikos Alexandris
<nikos.alexandris@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 :wink:

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

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@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 :wink:
>
>
>
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>
_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

On 10/04/08 15:11, 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"?

See
http://grass.osgeo.org/grass63/binary/mswindows/#Launching%20GRASS
("Launching GRASS")

Moritz

Cheers
Daniel

On Thu, Apr 10, 2008 at 9:53 AM, Nikos Alexandris
<nikos.alexandris@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 :wink:

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

_______________________________________________
grass-user mailing list
grass-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-user

Nice... Had missed that tip about grass launching
Thanks
Daniel

On Fri, Apr 11, 2008 at 7:06 AM, Moritz Lennert
<mlennert@club.worldonline.be> wrote:

On 10/04/08 15:11, 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"?
>

See
http://grass.osgeo.org/grass63/binary/mswindows/#Launching%20GRASS
("Launching GRASS")

Moritz

>
> Cheers
> Daniel
>
> On Thu, Apr 10, 2008 at 9:53 AM, Nikos Alexandris
> <nikos.alexandris@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 :wink:
> >
> >
> >
> > _______________________________________________
> > grass-user mailing list
> > grass-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/grass-user
> >
> >
> _______________________________________________
> grass-user mailing list
> grass-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
>

On Thu, Apr 10, 2008 at 7:23 AM, maning sambale
<emmanuel.sambale@gmail.com> wrote:

>
> What is the best live-cd with GRASS (GDAL/OGR), QGIS ? Or, how could I
> build a custom live-CD including latest FOSSGIS tools?
Some options
http://grass.itc.it/download/cdrom.php

I think the most up to date is

.. actually "slaxGIS-080402"!

It comes with GRASS 6.3.0 RC6 and more and runs from USB FlashDisk.

Markus

On Sun, 2008-04-13 at 11:54 +0200, Markus Neteler wrote:

On Thu, Apr 10, 2008 at 7:23 AM, maning sambale
<emmanuel.sambale@gmail.com> wrote:
> >
> > What is the best live-cd with GRASS (GDAL/OGR), QGIS ? Or, how could I
> > build a custom live-CD including latest FOSSGIS tools?
> Some options
> http://grass.itc.it/download/cdrom.php
>
> I think the most up to date is

.. actually "slaxGIS-080402"!

It comes with GRASS 6.3.0 RC6 and more and runs from USB FlashDisk.

Markus

Yes,

it's very fast and great. I had a problem starting it (ATI graphic
card) :frowning:

I installed the ATI driver 8.2 and it works fine now.

Congrats to the creators.

Nikos

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!

MSys or MinGW?

> 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"?

Once in GRASS text session, try at the DOS prompt:
g.version --help

Nikos Alexandris wrote:

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.

fwiw, every time I use windows cmd.exe I always type "ls" et al. by
mistake. My solution is to add the common UNIX tools recompiled for
windows into the DOS PATH variable. (I used an older djgpp compile, but
MSys or MinGW should provide newer versions of those)

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?

if the module does not accept multiple inputs (some do, many don't), you
will have to write a small loop to do that. That could be a bash script,
a DOS batch file, in a python or Tcl GUI picker, etc.

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.

for me when learning GRASS the GUI was very useful for learning what
commands existed in the hierarchical menu layout, and then cutting and
pasting the resulting GUI-constructed command line into my logbook.

Hamish

      ____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ