<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Dear Luca,<div class="">Thanks a lot for your message.</div><div class=""><br class=""></div><div class="">Note that I have deployed few services but did not test all of the services. Thanks for your report about issue with vector-tools.Buffer service.</div><div class=""><br class=""></div><div class="">In case you try the same using the vector-tools.BufferPy alternative it is working properly.</div><div class=""><br class=""></div><div class="">You can find here [1] the result of the execution using the vector-tools.BufferPy with your JSON data as input.</div><div class=""><br class=""></div><div class="">I hope you can confirm that using the *Py alternative works also on your side.</div><div class=""><br class=""></div><div class="">Best regards,</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[1] <a href="https://demo.mapmint.com/ogc-api/processes/vector-tools.BufferPy/jobs/bdf93ca2-2016-11eb-b16b-525400a77789.html" class="">https://demo.mapmint.com/ogc-api/processes/vector-tools.BufferPy/jobs/bdf93ca2-2016-11eb-b16b-525400a77789.html</a></div><div class=""><br class=""><div class="">
<div dir="auto" style="caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div>Gerald Fenoy<br class="">Chair, ZOO-Project PSC</div></div>
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">Le 5 nov. 2020 à 23:18, Luca Delucchi <<a href="mailto:lucadeluge@gmail.com" class="">lucadeluge@gmail.com</a>> a écrit :</div><br class="Apple-interchange-newline"><div class=""><div class="">On Mon, 2 Nov 2020 at 17:04, Gérald Fenoy <<a href="mailto:gerald.fenoy@geolabs.fr" class="">gerald.fenoy@geolabs.fr</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">Dear all,<br class=""></blockquote><br class="">Dear Gerald,<br class=""><br class=""><blockquote type="cite" class="">I am glad to present some enhancements that has been added lately on the ZOO-Project and especially the addition of a basic User Interface (UI).<br class=""><br class=""></blockquote>really good job!!<br class=""><br class=""><blockquote type="cite" class="">I made this UI available on this demo server [1], as said it is a really basic UI where one can browse the processes available from the /processes path [2], get detailed informations from the /process/{processId} path (i.e. using OTB.BandMath processId [3]) but also use this same page to produce the JSON Execute request to be sent to the ZOO-Kernel with OGC API - Processes activated.<br class=""><br class="">Indeed, from this last part of the UI, users have an HTML form that can be used to configure the inputs, the outputs and other parameters to be sent. From this HTML form, complex data can be passed by reference only when literal input can be defined right from the corresponding field. To generated the JSON Execute request, one can click on the « Submit » button. Note that in case you did not define a required input properly, you will be prompted to fill them.<br class=""><br class="">Also, as we now get the callbacks [4] definition supported by the ZOO-Kernel, the UI is automatically defining a URL for successUri, inProgressUri and failedUri. The consequence is that the ZOO-Kernel will send the current status of the execution of a process to the defined Uris. Also, when one click on the « Submit job » button appearing in the modal, a web socket is used to get the up-to-date information about status of execution of a process. Note that the service implemented to handle this is a very trivial python code [5] using redis and a uuid generated by the ZOO-Kernel to keep track of whom the messages should be targeted to. We implemented the UI this way to illustrate how the callbacks can be used to avoid polling using the OGC API - Processes.<br class=""><br class=""></blockquote><br class="">so this means that right now it doesn't work? because I tried few<br class="">commands (like [0] with this data [1]) but none is working<br class=""><br class=""><blockquote type="cite" class="">The UI uses the Cheetah Tempalte Engine [6] and will require that the display service [7] is installed on your server. Also, to simplify the URLs to access the OGC API - Processes I have added this .htaccess [8] sample to show how to setup the transparent invocation of the display service in case the URL ends with .html. You may notice that the rewrite rules defined in this file use the original URL to create a Xlink:href that is passed as an input to the display Service which is responsible to produce the HTML output. The display service also rely on the Cheetah template [9] which define the way data should be shown in the HTML layout. One more time, this HTML code is very basic and require improvement here and there.<br class=""><br class="">Note that, by now, only the document value is acceptable for the response parameter in the JSON Execute request.<br class=""><br class="">I hope you will appreciate the UI. I am more than open to any comment, enhancement request and so on.<br class=""><br class=""></blockquote><br class="">really much, I'm not using WPS since long time but I really appreciate<br class="">the OGC API support in ZOO-Project!<br class=""><br class=""><blockquote type="cite" class="">I wish you a great day and a great week ahead.<br class=""><br class=""></blockquote><br class="">[0] <a href="https://demo.mapmint.com/ogc-api/processes/vector-tools.Buffer.html" class="">https://demo.mapmint.com/ogc-api/processes/vector-tools.Buffer.html</a><br class="">[1] <a href="https://gist.githubusercontent.com/wavded/1200773/raw/e122cf709898c09758aecfef349964a8d73a83f3/sample.json" class="">https://gist.githubusercontent.com/wavded/1200773/raw/e122cf709898c09758aecfef349964a8d73a83f3/sample.json</a><br class=""><br class=""><blockquote type="cite" class="">Best regards,<br class=""><br class=""></blockquote><br class=""><br class="">-- <br class="">ciao<br class="">Luca<br class=""><br class=""><a href="http://www.lucadelu.org" class="">www.lucadelu.org</a><br class="">_______________________________________________<br class="">Zoo-discuss mailing list<br class="">Zoo-discuss@lists.osgeo.org<br class="">https://lists.osgeo.org/mailman/listinfo/zoo-discuss</div></div></blockquote></div><br class=""></div></body></html>