<div dir="ltr"><div>Hi Francesco</div><div><br></div><div>I see you have subscribed to come to the upcoming pygeoapi sprint - that's great!</div><div><br></div><div>I'll be at the sprint too. Let's look into this issue, and generally discuss the OGC API - Processes implementation during the sprint?</div><div><br></div><div>Best regards<br></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Francesco Martinelli via pygeoapi <<a href="mailto:pygeoapi@lists.osgeo.org">pygeoapi@lists.osgeo.org</a>> escreveu (segunda, 19/02/2024 à(s) 09:31):<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi there,<br>
I made a demo process to return multiple outputs with different format,<br>
which is attached.<br>
For testing I used the default processManager (DummyManager), and flask, <br>
on Ubuntu.<br>
<br>
The returned process outputs should be:<br>
-) a description text of what is returned<br>
-) an object "coordinate" (should be geographic, but for the time being <br>
I used geometry)<br>
-) an image to be associated to the coordinate.<br>
<br>
For the demo I just send into the input what I want to get returned in <br>
the output.<br>
The input arrives correctly (I followed in debugging).<br>
<br>
However I get an error.<br>
I used email.mime.multipart.MIMEMultipart<br>
I believe the error comes from something I missed in the code,<br>
but I have not experience with multipart, which I understand should be <br>
returned by the process.<br>
<br>
Could please someone help?<br>
<br>
Thank you,<br>
Francesco<br>
<br>
<br>
P.S.: please note, I am not interested to return a "link" to the image, <br>
but the stream with the image._______________________________________________<br>
pygeoapi mailing list<br>
<a href="mailto:pygeoapi@lists.osgeo.org" target="_blank">pygeoapi@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/pygeoapi" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/pygeoapi</a><br>
</blockquote></div><br clear="all"><br><span class="gmail_signature_prefix">-- </span><br><div dir="ltr" class="gmail_signature">___________________________ ___ __<br>Ricardo Garcia Silva</div>