[pygeoapi] Process - how to return a reference?

Ricardo Filipe Soares Garcia da ricardo.garcia.silva at gmail.com
Wed Dec 6 02:58:44 PST 2023


Hi Francesco

You are correct in your investigations. Pygeoapi does not currently have
support for outputting process execution results by reference.
Unfortunately, support for version 1.0.0 of the OGC API - Processes
standard is still not 100% in pygeoapi, and the missing bits include return
result by reference.

I had opened an issue to mention this previously, see:

https://github.com/geopython/pygeoapi/issues/1285

Hopefully, this thread will help it gain a bit more traction ;)


Best regards

Francesco Martinelli via pygeoapi <pygeoapi at lists.osgeo.org> escreveu no
dia terça, 5/12/2023 à(s) 11:21:

> Hi there,
> I am new to this list, and possibly I am asking simple questions,
> but I found no info around in the web.
>
> I would like to publish a "process",
> and to allow for the result(s) to be returned as reference.
> I installed and tested pygeoapi,
> but I didn't find an example/template to request the result as reference,
> i.e. using the parameter "transmissionMode": "reference".
>
> The case I am interested in, is where the output parameter to return as
> reference is a file (i.e. a generic bytestream).
> However I also wonder if a process with
> "outputTransmission": ['value', 'reference']
> should also allow for all other output parameter types to be retrieved
> as reference.
> Also, having "outputTransmission": ['reference'] (i.e. without the
> option 'value') would conform to the standard?
>
>
> What I am looking for is:
> a basic example on the response (including the headers) that the client
> is expected to receive where an output parameter of an execute request
> has set the property "transmissionMode": "reference".
> Even better if it were possible to have a code snippet on how to make it.
>
> Also, in api.py, describe_processes(), I found the "outputTransmission"
> is fixed to only be ['value'],
> while there is no option to load the process metadata specific value
> associated to "outputTransmission".
>
> I would like to minimize (if not avoiding) the changes in pygeoapi
> framework, while allowing this option.
>
>
> Thank you for any help,
> Francesco
> _______________________________________________
> 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/20231206/943ae699/attachment.htm>


More information about the pygeoapi mailing list