Integration in a DSS

Zhian Li zhian_li at agcs.cas.psu.edu
Wed Aug 9 16:22:01 EDT 1995


Hi there:

    The method to make the grass functions callable from any application
function is to write a script(unix) which sets up up grass variables and also
make a link to the .grassrc file in your home directory.  After that,  all
grass functions will be available to you as any excutable.   Good luck.
______________________________________________________________________________
From: grassu-list at moon.cecer.army.mil on Wed, Aug 9, 1995 14:07
Subject: Integration in a DSS
Sender: grass-lists-owner at moon.cecer.army.mil.
Reply-To: grassu-list at moon.cecer.army.mil.
Precedence: Bulk
To: grassu-list at max.cecer.army.mil

I have been using Grass 4.1 on its own, using command line codes.  I go
through the normal prompting upon typing 'grass4.1 <Enter>' such as
database and mapset.  Now I need to integrate the execution of grass
tools and display capabilities into a small decision support system
(DSS).

My question is how to start grass up without the interactive prompting
for database and mapset?  An alternative question is: how can I have
access to grass commands and displays from my other modules without a
bunch of programming on the grass source code?

(I am using Neuron Data's SmartElements to build expert system
knowledge bases, develop graphical user interfaces, and provide access
to relational databases.  The expert system shell allows me to execute
external UNIX commands from the knowledge bases)

I can't seem to find anything in the manuals.
If anybody could help, I would be forever in their debt.

__________________________________________________________________
Mike Bender
Facility for Intelligent Decision Support in Water Resources
Civil & Geological Engineering
University of Manitoba
Winnipeg, Manitoba, R3T 2N2, CANADA

(204) 474-6746 [phone]
(204) 261-9534 [fax]

mike at fids.ce.umanitoba.ca





More information about the grass-user mailing list