Skip to content

normalize CQL text support to CQL2 (#2015)#2018

Open
tomkralidis wants to merge 2 commits intomasterfrom
issue-2015
Open

normalize CQL text support to CQL2 (#2015)#2018
tomkralidis wants to merge 2 commits intomasterfrom
issue-2015

Conversation

@tomkralidis
Copy link
Copy Markdown
Member

Overview

Normalizes CQL text support for CQL2 only.

Related Issue / discussion

#2015

Additional information

Dependency policy (RFC2)

  • I have ensured that this PR meets RFC2 requirements

Updates to public demo

Contributions and licensing

(as per https://github.com/geopython/pygeoapi/blob/master/CONTRIBUTING.md#contributions-and-licensing)

  • I'd like to contribute [feature X|bugfix Y|docs|something else] to pygeoapi. I confirm that my contributions to pygeoapi will be compatible with the pygeoapi license guidelines at the time of contribution
  • I have already previously agreed to the pygeoapi Contributions and Licensing Guidelines

@tomkralidis tomkralidis added this to the 0.21.0 milestone May 23, 2025
@tomkralidis tomkralidis added bug Something isn't working OGC API - Features OGC API - Features OGC API - Records OGC API - Records labels May 23, 2025
@tomkralidis tomkralidis force-pushed the issue-2015 branch 2 times, most recently from f12bbaf to 6f733e1 Compare May 23, 2025 17:28
@tomkralidis tomkralidis modified the milestones: 0.21.0, 0.22.0 Aug 3, 2025
@tomkralidis tomkralidis modified the milestones: 0.22.0, 0.23.0 Nov 4, 2025
@tomkralidis tomkralidis modified the milestones: 0.23.0, 0.24.0 Mar 2, 2026
@tomkralidis tomkralidis force-pushed the issue-2015 branch 2 times, most recently from 1b16a59 to 96d4159 Compare March 26, 2026 23:18
@teetin
Copy link
Copy Markdown

teetin commented Apr 8, 2026

Could you also ensure that the appropriate entries to conformance page would be added if this provider is used
I assume those would be (al last,):
http://www.opengis.net/spec/cql2/1.0/conf/cql2-text
http://www.opengis.net/spec/cql2/1.0/conf/basic-cql2
for example QGIS is very strict on these and even with these additions the list is still uncomplete.

Supported filter types (cql2-text and cql2-json) should also be added to:

    LOGGER.debug('Processing filter-lang parameter')
    filter_lang = request.params.get('filter-lang')
    # Currently only cql-text is handled, but it is optional
    if filter_lang not in [None, 'cql-json', 'cql-text', 'cql2-text', 'cql2-json']:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working OGC API - Features OGC API - Features OGC API - Records OGC API - Records

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants