[pygeoapi] OGC EDR non-xarray
Tom Kralidis
tomkralidis at gmail.com
Fri Jun 28 20:13:30 PDT 2024
Tiaan: this is indeed possible. You would have to write an EDR
plugin/provider. You would handle EDR parameter name handling against your
database column values, and EDR coords against your geo-location. In
addition, you will probably want to consider JSON or a JSON dialect
(GeoJSON, CoverageJSON) for output/result representation, although XML
would work as well.
Hope this helps.
..Tom
On Fri, Jun 28, 2024 at 2:43 AM Tiaan Wessels via pygeoapi <
pygeoapi at lists.osgeo.org> wrote:
> It seems out of the box pygeoapi only supports xarray back-ends for EDR. I
> have not used pygeoapi before and am investigating whether it would be a
> feasible solution for me to use for the following use case.
> I have a PostgreSQL table with an XML string field and meta-data fields
> alongside it such as geo-location. Would it be conceivably possible for me
> to write a plugin for pygeoapi to make the XML available as a result in OGC
> EDR queries when it's database row's geo-location matches an EDR query
> filter ?
> _______________________________________________
> pygeoapi mailing list
> pygeoapi at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/pygeoapi
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pygeoapi/attachments/20240628/4a946eba/attachment.htm>
More information about the pygeoapi
mailing list