Re: pywps-dev Digest, Vol 64, Issue 11

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

Re: pywps-dev Digest, Vol 64, Issue 11

gunnar.stroeer
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 <[hidden email]> Folgendes geschrieben:


Send pywps-dev mailing list submissions to

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to

You can reach the person managing the list at

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. ([hidden email])


----------------------------------------------------------------------

Message: 1
Date: Sat, 26 Jan 2019 13:47:44 +0100
Subject: [PyWPS-dev] Strange handling of response document outputs in
    case of more than one defined output.
Message-ID: <[hidden email]>
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

------------------------------

End of pywps-dev Digest, Vol 64, Issue 11
*****************************************

_______________________________________________
pywps-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/pywps-dev