in my transpotation project, i want to use java
program, which will call some GRASS command (such as
v.what ) and then store its result in certain file. so
i need the interface between java and grass.
from GRASS website, i found the GRASS-JNI, but it
seems to be developed to write new grass module using
grass library, not built-in grass command. could
anybody tell me whether there is kind of interface
between java and built-in grass command?
thank you very much.
Jun Liu
__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35
a year! http://personal.mail.yahoo.com/
On Sun, Feb 11, 2001 at 09:33:14PM -0800, jun liu wrote:
Hi,
in my transpotation project, i want to use java
program, which will call some GRASS command (such as
v.what ) and then store its result in certain file. so
i need the interface between java and grass.
from GRASS website, i found the GRASS-JNI, but it
seems to be developed to write new grass module using
grass library, not built-in grass command. could
anybody tell me whether there is kind of interface
between java and built-in grass command?
thank you very much.
Jun Liu
I don't think so, since grass commands are really stand alone programs
that just expect a few environment variables to be set. I don't know if
java really allows you to "shell" commands like in C. But you'd need to
do something like that.