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

Stephan Holl sholl@gmx.net
Sat, 24 May 2003 12:54:16 +0200


--=.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--
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users