[Pywps-devel] creating GRASS locations per default
Jachym Cepicky
jachym.cepicky at centrum.cz
Fri Nov 10 20:52:01 CET 2006
Hallo,
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 [1] (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
Thanks
Jachym
[1] http://zihuan.gucas.ac.cn/PyWPS_GNUR_Example.html
--
Jachym Cepicky
e-mail: jachym.cepicky at centrum.cz
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub
-----------------------------------------
OFFICE:
Department of Geoinformation Technologies
Zemedelska 3
613 00, Brno
Czech Republick
e-mail: xcepicky at node.mendelu.cz
URL: http://mapserver.mendelu.cz
Tel.: +420 545 134 514
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
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
mailing list