[Pywps-devel] Bounding Box as input
Lorenzo Becchi
lorenzo at ominiverdi.com
Fri Feb 29 17:17:26 CET 2008
use pipe instead of comma as separator
then parse it in your script
:-)
Lorenzo
Luca Casagrande wrote:
> Hello everybody,
>
> I am trying to define the bounding box inside datainputs.
> The matter is that if I send a string like this:
>
> datainputs=bbox,0,0,100,100,input1,1,input2,2......
>
> it generates an error of "DataInputs".
> Looking in the code, I noticed this (inputs.py line 331):
>
> [..]
> if len(datainputs) % 2 != 0:
> raise InvalidParameterValue("DataInputs")
> [..]
>
> Coming from the fact that the bbox is made of 5 elements (name and 4
> coordinates).
> Am I am missing something?
>
> Thanks for the help
>
> Luca
> _______________________________________________
> Pywps-devel mailing list
> Pywps-devel at wald.intevation.org
> http://lists.wald.intevation.org/mailman/listinfo/pywps-devel
>
More information about the Pywps-devel
mailing list