[Mapserver-users] grass from mapscript with system()-call?

Stephan Holl sholl at gmx.net
Sat May 24 06:54:16 EDT 2003


--=.Lx_F85Uh9OXiiB
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Dear list,

I am struggling around  with starting a non-interactive session of
grass, which should produce some raster-maps. 
these maps should then be added to the running mapserver.
The Idea is to perform some calculations with r.mapcalc directly in the
browser.
whenever I start grass with

system("SHELL=./grass_commands.sh ; /path/where/grass/lives/grass5
testlocation/PERMANENT ; SHELL=/bin/sh");

the output says, that grass is already in use from the apache-user....
does anybody how to solve this?


Thank you.
 
cheers
 Stephan Holl
-- 
Stephan Holl

GnuPG Key-ID: 11946A09 

--=.Lx_F85Uh9OXiiB
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+z09aEg9SKhGUagkRAlw3AJ9ODuWBW1xt24Btp7adnMAo3Le4ygCgubkL
IfK2ZrqdTBis/13RlD8J2BY=
=jh8K
-----END PGP SIGNATURE-----

--=.Lx_F85Uh9OXiiB--



More information about the mapserver-users mailing list