!wtKWYahxzQAvirVEJG:matrix.org

geopython/pycsw

70 Members
pycsw is an OGC CSW server implementation written in Python.3 Servers

Load older messages


SenderMessageTime
11 Apr 2023
@frafra-585e583bd73408ce4f3f159d:gitter.imfrafra (Francesco Frassinelli)does it make sense to add entries to the database by populating the columns and keeping xml as an empty string? it looks like pycsw is still able to export the information using the various outputschema16:52:47
22 May 2023
@peko:matrix.freyachat.eupeko joined the room.03:42:09
9 Jun 2023
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten)i noticed demo throws an error at https://demo.pycsw.org/gisdata/collections/metadata:main/items09:06:26
10 Jul 2023
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten)is it documented how to best use github/k8s secrets with pycsw? would it work to set environment vars with secrets and use environment vars in pycsw.cfg?10:06:31
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten)seems here https://docs.pycsw.org/en/latest/configuration.html#using-environment-variables-in-configuration-files10:10:20
2 Aug 2023
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten)welcoming your thoughts on findings around stac in pycsw at https://github.com/geopython/pycsw/issues/87620:44:09
8 Aug 2023
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten)I wondered if it is possible to get query-parameter content in jinja, according to https://flask.palletsprojects.com/en/2.3.x/templating/#standard-context it could fail if 'if the template was rendered without an active request context.' 'request.args' is not available in jinja templates, so i guess above is true... IS it very impactfull to add an active request context?18:48:35
11 Aug 2023
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten)works fine! (set your secret in git, put secret content in env var, setup config file using env var)11:16:15
24 Aug 2023
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten)what's the planning on pycsw3 release, maybe this is a good moment to release 3.0-alpha, like was done with 2.0alpha?13:59:20
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten) * what's the planning on pycsw3 release to pip, maybe this is a good moment to release 3.0-alpha, like was done with 2.0alpha? 13:59:33
21 Sep 2023
@tomkralidis-557c28e615522ed4b3e1db3b:gitter.imtomkralidis (Tom Kralidis)Hi all: FYI the next OSGeo Community Sprint will be held on 06-09 November in Vienna. Full information can be found in [1]. I've put forth an initial list of pycsw items in [2]. Please feel free to add additional items of interest. This will be also be a good opportunity for a general PR/issue sweep as we march towards the big 3.0 release. Looking forward to hacking pycsw at this event! Thanks [1] https://wiki.osgeo.org/wiki/OSGeo_Community_Sprint_2023 [2] https://wiki.osgeo.org/wiki/OSGeo_Community_Sprint_2023#Project_Plans23:35:01
4 Oct 2023
@cfenell-5f426ce1d73408ce4fecf18c:gitter.imcfenell (Carl-Fredrik Enell) Hi pvgenuchten (paul van genuchten) et al, thanks again for finishing the DataCite plugin. I have started to play with a PyCSW + postgis setup on docker (actually podman-compose). I'm just curious, do you have a sample backend database that I could take a look at? I have tried to port the sample SQLite cite.db into posgres, but struggling to add my own records. 12:50:39
27 Oct 2023
@pvgenuchten-57a7659740f3a6eec05e5517:gitter.impvgenuchten (paul van genuchten) Yes I have a postgres backend, I can share the table definitions, would that work for you? Do I understand correctly that creation of a default database on postgres is not operational? 17:38:49
2 Nov 2023
@kate-lyndegaard:gitter.imkate-lyndegaard joined the room.09:03:23
@kate-lyndegaard:gitter.imkate-lyndegaard

Hi,
I am trying to add a configuration snippet for my pycsw.cfg file to enable XSLT because I would like to transform INSPIRE ISO metadata to GeoDCAT AP. I am using the latest docker image so I would like to bind mount the pycsw.cfg file.

Does anyone have an example configuration?

09:12:58
@kate-lyndegaard:gitter.imkate-lyndegaard

I tried this configuration in my pycsw.cfg file:

custom XSLT (section format: xslt:input_xml_schema,output_xml_schema)

[xslt:http://www.opengis.net/cat/csw/2.0.2,http://data.europa.eu/930/]
xslt=/iso-19139-to-dcat-ap.xsl

When I try to make this request:
http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetRecords&resultType=results&outputSchema=http://data.europa.eu/930/&NAMESPACE=xmlns(dcat=http://www.w3.org/ns/dcat%23)&typeNames=dcat:Dataset&elementSetName=full&startPosition=1&maxRecords=10

I get:
<ows:ExceptionReport version="1.2.0" language="en-US" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InvalidParameterValue" locator="outputschema">
ows:ExceptionText
Invalid outputSchema parameter value: http://data.europa.eu/930
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Does anyone know the correct outputSchema value, or if this type of configuration will work using the latest Docker image?

11:14:55
@kate-lyndegaard:gitter.imkate-lyndegaard *

I tried this configuration in my pycsw.cfg file:

custom XSLT (section format: xslt:input_xml_schema,output_xml_schema)

xslt:http://www.opengis.net/cat/csw/2.0.2,http://data.europa.eu/930/

xslt=/iso-19139-to-dcat-ap.xsl

When I try to make this request:
http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetRecords&resultType=results&outputSchema=http://data.europa.eu/930/&NAMESPACE=xmlns(dcat=http://www.w3.org/ns/dcat%23)&typeNames=dcat:Dataset&elementSetName=full&startPosition=1&maxRecords=10

I get:
<ows:ExceptionReport version="1.2.0" language="en-US" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InvalidParameterValue" locator="outputschema">
ows:ExceptionText
Invalid outputSchema parameter value: http://data.europa.eu/930
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Does anyone know the correct outputSchema value, or if this type of configuration will work using the latest Docker image?

11:15:44
@kate-lyndegaard:gitter.imkate-lyndegaard *

I tried this configuration in my pycsw.cfg file:

custom XSLT (section format: xslt:input_xml_schema,output_xml_schema)

xslt:http://www.opengis.net/cat/csw/2.0.2,http://data.europa.eu/930/

xslt=/iso-19139-to-dcat-ap.xsl

When I try to make this request:
http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetRecords&resultType=results&outputSchema=http://data.europa.eu/930/&NAMESPACE=xmlns(dcat=http://www.w3.org/ns/dcat%23)&typeNames=dcat:Dataset&elementSetName=full&startPosition=1&maxRecords=10

I get:
<ows:ExceptionReport version="1.2.0" language="en-US" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InvalidParameterValue" locator="outputschema">
ows:ExceptionText
Invalid outputSchema parameter value: http://data.europa.eu/930
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Does anyone know the correct outputSchema value, or if this type of configuration will work using the latest Docker image?

11:15:58
@kate-lyndegaard:gitter.imkate-lyndegaard * I tried this configuration in my pycsw.cfg file: #custom XSLT (section format: xslt:input_xml_schema,output_xml_schema) [xslt:http://www.opengis.net/cat/csw/2.0.2,http://data.europa.eu/930/] xslt=/iso-19139-to-dcat-ap.xsl When I try to make this request: http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetRecords&resultType=results&outputSchema=http://data.europa.eu/930/&NAMESPACE=xmlns(dcat=http://www.w3.org/ns/dcat%23)&typeNames=dcat:Dataset&elementSetName=full&startPosition=1&maxRecords=10 I get: <ows:ExceptionReport version="1.2.0" language="en-US" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd"> <ows:Exception exceptionCode="InvalidParameterValue" locator="outputschema"> ows:ExceptionText Invalid outputSchema parameter value: http://data.europa.eu/930 </ows:ExceptionText> </ows:Exception> </ows:ExceptionReport> Does anyone know the correct outputSchema value, or if this type of configuration will work using the latest Docker image? 11:16:26
@kate-lyndegaard:gitter.imkate-lyndegaard *

I tried this configuration in my pycsw.cfg file:

#custom XSLT (section format: xslt:input_xml_schema,output_xml_schema)

xslt:http://www.opengis.net/cat/csw/2.0.2,http://data.europa.eu/930/

xslt=/iso-19139-to-dcat-ap.xsl

When I try to make this request:
http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetRecords&resultType=results&outputSchema=http://data.europa.eu/930/&NAMESPACE=xmlns(dcat=http://www.w3.org/ns/dcat%23)&typeNames=dcat:Dataset&elementSetName=full&startPosition=1&maxRecords=10

I get:
<ows:ExceptionReport version="1.2.0" language="en-US" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InvalidParameterValue" locator="outputschema">
ows:ExceptionText
Invalid outputSchema parameter value: http://data.europa.eu/930
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Does anyone know the correct outputSchema value, or if this type of configuration will work using the latest Docker image?

11:16:38
@kate-lyndegaard:gitter.imkate-lyndegaard *

I tried this configuration in my pycsw.cfg file:

custom XSLT (section format: xslt:input_xml_schema,output_xml_schema)

[xslt:http://www.opengis.net/cat/csw/2.0.2,http://data.europa.eu/930/]

xslt=/iso-19139-to-dcat-ap.xsl

When I try to make this request:
http://localhost:8000/csw?service=CSW&version=2.0.2&request=GetRecords&resultType=results&outputSchema=http://data.europa.eu/930/&NAMESPACE=xmlns(dcat=http://www.w3.org/ns/dcat%23)&typeNames=dcat:Dataset&elementSetName=full&startPosition=1&maxRecords=10

I get:
<ows:ExceptionReport version="1.2.0" language="en-US" xsi:schemaLocation="http://www.opengis.net/ows http://schemas.opengis.net/ows/1.0.0/owsExceptionReport.xsd">
<ows:Exception exceptionCode="InvalidParameterValue" locator="outputschema">
ows:ExceptionText
Invalid outputSchema parameter value: http://data.europa.eu/930
</ows:ExceptionText>
</ows:Exception>
</ows:ExceptionReport>

Does anyone know the correct outputSchema value, or if this type of configuration will work using the latest Docker image?

11:16:50
7 Dec 2023
@ridoo-5617a078d33f749381a8cfef:gitter.imridoo (Henning Bredel) joined the room.09:34:11
@ridoo-5617a078d33f749381a8cfef:gitter.imridoo (Henning Bredel)Are there any plans when to release 3.0? there is alpha-4 already which does not include the DataCite feature we are looking forward to have in GeoNode (project related instance). Unfortunately, we have to use the master version which is not the way we would like to integrate pycsw for a productive environment (at least a tagged alpha version would be nice).09:40:38
@ridoo:matrix.orgHenning Bredel joined the room.19:31:42
8 Dec 2023
@kalxas:matrix.orgkalxasHi, we are planning to release 3.0 when the OGC API Records is finalized and we are a reference implementation13:11:34
@kalxas:matrix.orgkalxasthere will be a new alpha in the next couple of days13:12:02
@kalxas:matrix.orgkalxasbeta stage is also close13:12:14
@kalxas:matrix.orgkalxas ridoo (Henning Bredel): alpha5 is now tagged 13:40:53
@ridoo-5617a078d33f749381a8cfef:gitter.imridoo (Henning Bredel) kalxas: thanks for your quick response! 14:29:48
@kalxas:matrix.orgkalxas ridoo (Henning Bredel): are you integrating the latest version in GeoNode? 16:29:35

Show newer messages


Back to Room ListRoom Version: 4