scripting on WindowsNative OSGeo4 Grass

3 messages Options
Embed this post
Permalink
Milton Cezar Ribeiro

scripting on WindowsNative OSGeo4 Grass

Reply Threaded More More options
Print post
Permalink
Dear all,
 
On native wingrass 6.3 runing under Msys (on a XP machine)
I could run scripts that I put under c:\grass\scripts.
 
But now I installed native wingrass under Vista from OSGeo4.
If I am not wrong now I don't need Msys.
But how can I run my scripts that I put under
C:\OSGeo4W\apps\grass\grass-6.4.0RC3\scripts ?
 
Any help are welcome.
 
 
miltinho
brazil

_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Markus Neteler

Re: scripting on WindowsNative OSGeo4 Grass

Reply Threaded More More options
Print post
Permalink
On Fri, Mar 27, 2009 at 4:32 AM, Milton Cezar Ribeiro
<[hidden email]> wrote:
> Dear all,
>
> On native wingrass 6.3 runing under Msys (on a XP machine)
> I could run scripts that I put under c:\grass\scripts.

In theory it should be still the same.

> But now I installed native wingrass under Vista from OSGeo4.
> If I am not wrong now I don't need Msys.

AFAIK it is always installed.

> But how can I run my scripts that I put under
> C:\OSGeo4W\apps\grass\grass-6.4.0RC3\scripts ?

Aren't they accessible if you use the command line? See
http://trac.osgeo.org/osgeo4w/wiki/pkg-grass#Usage

Markus
_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows
Milton Cezar Ribeiro

Re: scripting on WindowsNative OSGeo4 Grass

Reply Threaded More More options
Print post
Permalink
Hi Markus,
 
I fact I can open grass as text mode and copy and and past some command.
But when I tryed something like :
 
r.reclass input=A output=b <<EOF
1 = 1
2 = 5
3 = 5
EOF
 
I get error. So I am understanding that I can't use the capability of bash when running grass under OSGeo4W_Shell (from where I started grass -text).
 
I also tryed to start grass from MSYS, but I got the following error message:
 
Starting GRASS ...
WARNING: The wish command does not work as expected!
Please check your GRASS_WISH environment variable.
Use the -help option for details.
Switching to text based interface mode.
Hit RETURN to continue.
 
And AFTER Windows Vista say the libgrass_vask.6.4.0RC3.dll was not found.
 
May be a issue of Vista & OSGeo4W, or also my inexperience.
 
Best wishes
 
milton


2009/3/27 Markus Neteler <[hidden email]>
On Fri, Mar 27, 2009 at 4:32 AM, Milton Cezar Ribeiro
<[hidden email]> wrote:
> Dear all,
>
> On native wingrass 6.3 runing under Msys (on a XP machine)
> I could run scripts that I put under c:\grass\scripts.

In theory it should be still the same.

> But now I installed native wingrass under Vista from OSGeo4.
> If I am not wrong now I don't need Msys.

AFAIK it is always installed.

> But how can I run my scripts that I put under
> C:\OSGeo4W\apps\grass\grass-6.4.0RC3\scripts ?

Aren't they accessible if you use the command line? See
http://trac.osgeo.org/osgeo4w/wiki/pkg-grass#Usage

Markus


_______________________________________________
grass-windows mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/grass-windows