[pycsw-devel] adding STAC output to our pycsw?
John Maurer
jmaurer at hawaii.edu
Thu May 15 14:38:49 PDT 2025
Thanks, Angelos! I'm encouraged to hear that STAC support is added in
3.0.0. I tried installing 3.0.0-beta1 but it will not load my
configuration. I get the following error in the browser:
Could not load configuration
I noticed that the default-sample file is now .yml instead of .cfg as it
was in 2.6.1. I modified the format of my default.cfg accordingly and
renamed it to default.yml. However, I still get the above error. Any ideas
on what else I can try would be appreciated. Or perhaps it is best to wait
until 3.0.0 moves out of beta status into a stable version? Thanks for your
help!
Cheers,
John
On Tue, May 13, 2025 at 10:00 PM Angelos Tzotsos via pycsw-devel <
pycsw-devel at lists.osgeo.org> wrote:
> Dear John,
>
> OGC API - Records and STAC support is included in the master branch of
> pycsw, working towards a 3.0.0 release.
> Along the way we have released a few alphas/betas:
>
> https://urldefense.com/v3/__https://github.com/geopython/pycsw/tags__;!!PvDODwlR4mBZyAb0!U0CStWnMGkJeJZQjtOnEcZyqB1sknGwj64RLX81maidAzDpgfiX-vOhEurtU6h3PgLZI_LYxbZOrSBkNWVhQET-Cyg$
>
> You can find the demo based on current master:
>
> https://urldefense.com/v3/__https://demo.pycsw.org/gisdata__;!!PvDODwlR4mBZyAb0!U0CStWnMGkJeJZQjtOnEcZyqB1sknGwj64RLX81maidAzDpgfiX-vOhEurtU6h3PgLZI_LYxbZOrSBkNWVh5BnxD9w$
>
> and the STAC endpoint:
>
> https://urldefense.com/v3/__https://demo.pycsw.org/gisdata/stac__;!!PvDODwlR4mBZyAb0!U0CStWnMGkJeJZQjtOnEcZyqB1sknGwj64RLX81maidAzDpgfiX-vOhEurtU6h3PgLZI_LYxbZOrSBkNWVhL1E_zLg$
>
> The short answer to your question is yes :)
>
> Best regards,
> Angelos
>
> On 5/13/25 23:26, John Maurer via pycsw-devel wrote:
> > Hi pycsw community,
> > In addition to providing a Catalog Service for the Web (CSW) service, the
> > following page suggests that SpatioTemporal Asset Catalog (STAC) support
> is
> > also provided by default in pycsw:
> >
> >
> https://urldefense.com/v3/__https://docs.pycsw.org/en/latest/stac.html__;!!PvDODwlR4mBZyAb0!U0CStWnMGkJeJZQjtOnEcZyqB1sknGwj64RLX81maidAzDpgfiX-vOhEurtU6h3PgLZI_LYxbZOrSBkNWVg1iuj_vA$
> >
> > However, I am not sure how to implement STAC. Or maybe this is *input*
> > support (ingesting STAC catalogs) and not *output* support (providing a
> > STAC API)?
> >
> > We are running pycsw 2.6.1 here:
> >
> > https://www.pacioos.hawaii.edu/ogc/csw
> >
> > This is running via WSGI (pycsw/wsgi.py), which we enable via mod_wsgi in
> > Apache and a WSGIScriptAlias to the above url. I tried adding a similar
> > WSGIScriptAlias to https://www.pacioos.hawaii.edu/ogc/stac , but that is
> > still serving out CSW instead of STAC.
> >
> > The input to our CSW is the following web-accessible folder (WAF) of
> > ISO-19115 XML records: https://www.pacioos.hawaii.edu/metadata/iso/ ,
> which
> > we load into a pycsw postgresql repository via pycsw-admin.py with
> > "profiles=apiso" in our config to read the ISO metadata.
> >
> > Is there a way to serve both CSW and STAC APIs via pycsw using the same
> > collection of ISO records?
> > Thanks for any help,
> > John Maurer
> > Data System Engineer
> > Pacific Islands Ocean Observing System (PacIOOS)
> > University of Hawaii at Manoa
> >
> >
> > _______________________________________________
> > pycsw-devel mailing list
> > pycsw-devel at lists.osgeo.org
> >
> https://urldefense.com/v3/__https://lists.osgeo.org/mailman/listinfo/pycsw-devel__;!!PvDODwlR4mBZyAb0!U0CStWnMGkJeJZQjtOnEcZyqB1sknGwj64RLX81maidAzDpgfiX-vOhEurtU6h3PgLZI_LYxbZOrSBkNWVgMjtmMhQ$
>
>
> --
> Angelos Tzotsos, PhD
> President, Board of Directors
> Open Source Geospatial Foundation
>
> https://urldefense.com/v3/__https://www.osgeo.org/member/angelos-tzotsos/__;!!PvDODwlR4mBZyAb0!U0CStWnMGkJeJZQjtOnEcZyqB1sknGwj64RLX81maidAzDpgfiX-vOhEurtU6h3PgLZI_LYxbZOrSBkNWVgViuV-HQ$
>
> _______________________________________________
> pycsw-devel mailing list
> pycsw-devel at lists.osgeo.org
>
> https://urldefense.com/v3/__https://lists.osgeo.org/mailman/listinfo/pycsw-devel__;!!PvDODwlR4mBZyAb0!U0CStWnMGkJeJZQjtOnEcZyqB1sknGwj64RLX81maidAzDpgfiX-vOhEurtU6h3PgLZI_LYxbZOrSBkNWVgMjtmMhQ$
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/pycsw-devel/attachments/20250515/6abb5ce5/attachment.htm>
More information about the pycsw-devel
mailing list