[pygeoapi] Question on Processes: how to return multiple output ?

Ricardo Filipe Soares Garcia da ricardo.garcia.silva at gmail.com
Mon Feb 19 03:14:33 PST 2024


Hi Francesco

I see you have subscribed to come to the upcoming pygeoapi sprint - that's
great!

I'll be at the sprint too. Let's look into this issue, and generally
discuss the OGC API - Processes implementation during the sprint?

Best regards


Francesco Martinelli via pygeoapi <pygeoapi at lists.osgeo.org> escreveu
(segunda, 19/02/2024 à(s) 09:31):

> Hi there,
> I made a demo process to return multiple outputs with different format,
> which is attached.
> For testing I used the default processManager (DummyManager), and flask,
> on Ubuntu.
>
> The returned process outputs should be:
> -) a description text of what is returned
> -) an object "coordinate" (should be geographic, but for the time being
> I used geometry)
> -) an image to be associated to the coordinate.
>
> For the demo I just send into the input what I want to get returned in
> the output.
> The input arrives correctly (I followed in debugging).
>
> However I get an error.
> I used email.mime.multipart.MIMEMultipart
> I believe the error comes from something I missed in the code,
> but I have not experience with multipart, which I understand should be
> returned by the process.
>
> Could please someone help?
>
> Thank you,
> Francesco
>
>
> P.S.: please note, I am not interested to return a "link" to the image,
> but the stream with the
> image._______________________________________________
> pygeoapi mailing list
> pygeoapi at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pygeoapi
>


-- 
___________________________ ___ __
Ricardo Garcia Silva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pygeoapi/attachments/20240219/e85f896c/attachment.htm>


More information about the pygeoapi mailing list