Hi Katyo,
we have been working quite hard on a new project, which aims to
extract all the processing power of JGrass into a library.
In the next two weeks there will be a lot of cleanup and there will be
the first release of the project.
The project, called jgrasstools has its homepage in: www.jgrasstools.org
It represents a big step forward in code cleanup, testing and bugfixing.
It can be executed as a java -jar from commadnline and might be what
you are searching for.
I wrote down an example to give you an introduction to what it might
look like:
http://code.google.com/p/jgrasstools/wiki/JGrasstoolsStandaloneThe scripting syntax changed, because we joined the USDA and Colorado
State University in using the OMS3 project to handle modules and link
them together (in fact it is possible to do very complex things if
necessary).
A modules overview that is generated from the code, can be found here:
http://code.google.com/p/jgrasstools/wiki/ModulesOverviewIf you are interested in working with that, I would like to ask you to
join us in the jgrasstools mailinglist:
http://groups.google.com/group/jgrasstoolsAs I said, in the next two weeks we will be working hard on the
release, so we will have time to help you to get along and enhance the
documentation.
Best regards,
Andrea
On Thu, Mar 31, 2011 at 6:22 PM, kaytomuriel <
[hidden email]> wrote:
> I need to execute commands of GRASS and JGRASS in same script, without
> interfaces graphics.
> I was using GRASS script, but i need to run "jgrass h.pitfiller
> --igrass-elevation elevation --ograss-pit pit" too in batch file, and only
> Grass not support several commands that JGrass supports.
>
>
> I want create an automated way of execute Grass and JGrass commands, can be
> with other languages as Java to access JGrass program and execute some
> commands. For in the future provide this in Internet using J2EE.
>
> I want to compile and execute an JGrass script without click in compile and
> run in the JGrass program, only using one command to execute my script.
>
> Is possible to use JGrass modules through of Java programs?
> Case true, how proceed?
>
> If i can access JGrass by Java programs, my problem would be resolved
> because i can run the java programs with the command " java -jar name.jar"
>
> Thanks,
> Kayto Muriel
>
>
> --
> View this message in context:
http://gis.638310.n2.nabble.com/JGRASS-support-processing-by-command-line-tp6225323p6227792.html> Sent from the JGrass-users -- List for jgrass users mailing list archive at Nabble.com.
> _______________________________________________
> JGrass-users mailing list
>
[hidden email]
>
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-users>
_______________________________________________
JGrass-users mailing list
[hidden email]
https://dev.fsc.bz.it/cgi-bin/mailman/listinfo/jgrass-users