[Pywps-devel] creating GRASS locations per default
jachym.cepicky at centrum.cz
Fri Nov 10 20:52:01 CET 2006
when we started the work on PyWPS, we were thinking, that GRASS will be
nearly allways used as *the* working tool for all processes.
When I saw Song's work  (great on-line R examples) I see, that other
tools will be / are allready used not less, then GRASS.
Currently, everytime, wps.py is called, temporary GRASS location is
created and all environment variables are set, so direct usage of GRASS
modules is possible (starting with g.region and r.in.ogr or v.in.ogr
But as this will be not wanted feature, I'm thinking about, how to get
rid of this feature.
I see these possibilities:
1 - temporary location will be created, only when self.grassLocation
is set to "[temp]" key word
2 - temporary location will NOT be created only when self.grassLocation
exists in process definition and is set to None, but it would be
created by default.
This sollutions do have following issues:
1 - all allready defined processes, which are using GRASS will have
to define self.grassLocation="[temp]"
2 - all processes, which do not want to use GRASS will have to think
at, that they have to add self.grassLocation=None to the process
What do you think? IMHO better sollution for the future is #1
e-mail: jachym.cepicky at centrum.cz
Department of Geoinformation Technologies
613 00, Brno
e-mail: xcepicky at node.mendelu.cz
Tel.: +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: Digital signature
Url : http://lists.wald.intevation.org/pipermail/pywps-devel/attachments/20061110/a3b507ef/attachment.pgp
More information about the Pywps-devel