Python GRASS server

This is a small Python script, which can spawn a Grass session and call modules. This enables online use of Grass through eg. SOAP. Right now it only support the g_region module, but its pretty straight forward to add support for others. It uses the pexpect Python module to 'drive' the Grass session as if a human was typing away. This means that your desktop Grass map sets can be reached online - just install a http server.

It also support Grass raster queries through gdal.

Code