[PyWPS-dev] pywps-dev Digest, Vol 64, Issue 11
Gunnar Ströer
gunnar.stroeer at yahoo.de
Mon Jan 28 05:55:29 PST 2019
Hi Everybody,
I found a solution by myself - the use of deleting keys of "response.outputs" makes life easier.
Cheers,Gunnar
Am Samstag, 26. Januar 2019, 21:00:13 MEZ hat <pywps-dev-request at lists.osgeo.org> Folgendes geschrieben:
Send pywps-dev mailing list submissions to
pywps-dev at lists.osgeo.org
To subscribe or unsubscribe via the World Wide Web, visit
https://lists.osgeo.org/mailman/listinfo/pywps-dev
or, via email, send a message with subject or body 'help' to
pywps-dev-request at lists.osgeo.org
You can reach the person managing the list at
pywps-dev-owner at lists.osgeo.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of pywps-dev digest..."
Today's Topics:
1. Strange handling of response document outputs in case of more
than one defined output. (gunnar.stroeer at yahoo.de)
----------------------------------------------------------------------
Message: 1
Date: Sat, 26 Jan 2019 13:47:44 +0100
From: gunnar.stroeer at yahoo.de
To: pywps-dev at lists.osgeo.org
Subject: [PyWPS-dev] Strange handling of response document outputs in
case of more than one defined output.
Message-ID: <091748b1-20a4-dfca-abc8-424f9c03e403 at yahoo.de>
Content-Type: text/plain; charset=utf-8; format=flowed
Hi Community,
during my processes writing I've found out a strange behavior (v4.0). If
I define a process that calculates two different outputs everything
works fine if I ask for these two outputs within the XML post. For example:
<wps:ResponseForm>
<wps:ResponseDocument lineage="false" storeExecuteResponse="false"
status="false">
<wps:Output asReference="true" mimeType="image/geotiff" extension=".tif">
<ows:Identifier>out_dem</ows:Identifier>
<ows:Title>Digital Elevation Model</ows:Title>
</wps:Output>
<wps:Output asReference="true" mimeType="text/xml" encoding="utf-8"
extension=".x3d">
<ows:Identifier>out_x3d</ows:Identifier>
<ows:Title>3D City Model</ows:Title>
</wps:Output>
</wps:ResponseDocument>
</wps:ResponseForm>
But if I delete one of these two outputs within the XML post the process
will crash. Is that a known behavior, a bug, or is something wrong in my
use case only? I'd expect a simple ignore of that unwanted output in the
ProcessOutputs by PyWPS.
Sorry for not testing in v4.3 yet, I haven't capabilities doing that
now, will do that asap.
Cheers, Gunnar
------------------------------
Subject: Digest Footer
_______________________________________________
pywps-dev mailing list
pywps-dev at lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/pywps-dev
------------------------------
End of pywps-dev Digest, Vol 64, Issue 11
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pywps-dev/attachments/20190128/e4f00cbf/attachment.html>
More information about the pywps-dev
mailing list