X Tutup
Skip to content

OGC API Features: implement CQL2 text filtering from Part 3#7436

Merged
rouault merged 1 commit intoMapServer:mainfrom
rouault:cql2
Mar 9, 2026
Merged

OGC API Features: implement CQL2 text filtering from Part 3#7436
rouault merged 1 commit intoMapServer:mainfrom
rouault:cql2

Conversation

@rouault
Copy link
Contributor

@rouault rouault commented Feb 24, 2026

New query parameters: filter, filter-lang and filter-crs

New layer metadata:

  • "oga_geometry_name": geometry field name. Defaults to 'geom'
  • "oga_geometry_type": among "geometry-point", "geometry-multipoint", "geometry-linestring", "geometry-multilinestring", "geometry-polygon", "geometry-multipolygon", and "geometry-geometrycollection". Or "geometry-any" which is the default

@rouault rouault added this to the 8.8.0 Release milestone Feb 24, 2026
@rouault rouault force-pushed the cql2 branch 4 times, most recently from 1906534 to 0cc1fe7 Compare February 24, 2026 22:06
@geographika
Copy link
Member

Wow! If I'm understanding correctly, this PR also includes a Common Query Language (CQL) parser and conversion to MapServer expressions?

@rouault
Copy link
Contributor Author

rouault commented Feb 24, 2026

Wow! If I'm understanding correctly, this PR also includes a Common Query Language (CQL) parser and conversion to MapServer expressions?

yes, that's the bulk of the work. Also working on CQL2 JSON for a follow-up PR, that will use the encoding agnostic code in cql2.h/.cpp

New query parameters: filter, filter-lang and filter-crs

New layer metadata:
- "oga_geometry_name": geometry field name. Defaults to 'geom'
- "oga_geometry_type": among "geometry-point", "geometry-multipoint",
  "geometry-linestring", "geometry-multilinestring", "geometry-polygon",
  "geometry-multipolygon", and "geometry-geometrycollection".
  Or "geometry-any" which is the default
@rouault rouault merged commit 196af68 into MapServer:main Mar 9, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup