[GRASS-user] grass env

2010-03-03 Thread maven apache
Now I found another question, if I want to get the output of some grass command,so can I still use the grass batch job manner? 2010/3/3 maven apache apachemav...@gmail.com Hi: I found that the grassBatchJob is so excited that I like it,however I wonder that each time a user who want to run

Re: [GRASS-user] grass env

2010-03-02 Thread Markus Neteler
On Tue, Mar 2, 2010 at 12:05 PM, maven apache apachemav...@gmail.com wrote: Hi: I have post this problem before, I want to run grass in command line model so I can call them in java at that time,however it often cause some unexpeced errors. So today I change to Ubuntu, and I install grass use

Re: [GRASS-user] grass env

2010-03-02 Thread maven apache
It seems that the batch job is easy,however I still have some questions: 1) during my process the location and mapset maybe changed, can it be set in the script file? 2) My application is to support multiple users, so each user should have a gisrc file, can it be set before run the batch job?

Re: [GRASS-user] grass env

2010-03-02 Thread Glynn Clements
maven apache wrote: I have post this problem before, I want to run grass in command line model so I can call them in java at that time,however it often cause some unexpeced errors. So today I change to Ubuntu, and I install grass use sudo apt-get install grass. Now I also want to call

Re: [GRASS-user] grass env

2010-03-02 Thread Hamish
... and if *any* user editable inputs will be visible from the web side of the app make 100% sure that you have bounds checked and sanitized every single one of them. Stripping all punctuation and limiting the string length before passing as a module option is a good first step. I've no idea

Re: [GRASS-user] grass env

2010-03-02 Thread maven apache
Hi: I found that the grassBatchJob is so excited that I like it,however I wonder that each time a user who want to run grass in my web application have to write a .sh file and then call the grass with the BATCH_JOB may cause low effectivity? after all, this is realated the IO operation, isn't it?