[PyWPS-dev] layer input reference in PUT + default value?

Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

[PyWPS-dev] layer input reference in PUT + default value?

Idan Miara

I want to set an input layer for my process.
I know how to do it with XML post, as follows:

ComplexInput('r', 'input_raster', supported_formats=[FORMATS.GEOTIFF]),
raster_filename = request.inputs['r'][0].file

XML data:

                <wps:Reference xlink:href="file:./data/sample/myfile.tif"/>

I'm trying without success to replicate the same behaviour with a PUT string and also to use a default value for that input.
I was able to use PUT  and to set a default value for a regular string without problem.

Kind regards,

pywps-dev mailing list
[hidden email]