Skip to content

[server][ogcapi] various enhancements including feature schema support#66406

Open
elpaso wants to merge 17 commits into
qgis:masterfrom
elpaso:server-oapif-ogcapi-feature-schema
Open

[server][ogcapi] various enhancements including feature schema support#66406
elpaso wants to merge 17 commits into
qgis:masterfrom
elpaso:server-oapif-ogcapi-feature-schema

Conversation

@elpaso

@elpaso elpaso commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

Various OAPIF improvements and updates including support for collections /schema endpoint

Partial implementation of QEP 414 - QGIS Server OAPIF JSON-FG and FlatGeobuf formats https://github.com/qgis/QGIS-Enhancement-Proposals/blob/master/qep-414-server-oapif-jsonfg-flatgeobuf.md

Main new features:

  • schema (including x-ogc-role , format and type for main widgets)
  • references (from RelationReference and ValueRelation)
  • profiles (for references)
  • full crs support in requests and responses (includes storageCrs and storageCrsCoordinateEpoch if available)
  • extra geometry columns support (Postgres), exposed as WKT (transformed to the requested CRS)
  • codelist for enums and ValueMap

Funded by: Geogirafe user group / OPENGIS.ch

New conformance classes:

    // From https://docs.ogc.org/is/19-072/19-072.html
    "http://www.opengis.net/spec/ogcapi-common-1/1.0/req/landing-page",
    "http://www.opengis.net/spec/ogcapi-common-1/1.0/req/oas30",
    "http://www.opengis.net/spec/ogcapi-common-1/1.0/req/html",
    "http://www.opengis.net/spec/ogcapi-common-1/1.0/req/json",

    // From https://docs.ogc.org/is/23-058r2/23-058r2.html
    "http://www.opengis.net/spec/ogcapi-common-3/1.0/conf/schemas",
    "http://www.opengis.net/spec/ogcapi-common-3/1.0/conf/profile-parameter",
    "http://www.opengis.net/spec/ogcapi-common-3/1.0/conf/profile-references",
    "http://www.opengis.net/spec/ogcapi-common-3/1.0/conf/profile-codelists",
    "http://www.opengis.net/spec/ogcapi-common-3/1.0/conf/advanced-property-roles",
    "http://www.opengis.net/spec/ogcapi-common-3/1.0/conf/references",
    "http://www.opengis.net/spec/ogcapi-common-3/1.0/conf/returnables-and-receivables",

    // From: https://docs.ogc.org/is/18-058r1/18-058r1.html
    "http://www.opengis.net/spec/ogcapi-features-2/1.0/conf/crs",

    // From: https://docs.ogc.org/is/17-069r4/17-069r4.html
    "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/core",
    "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/oas30",
    "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/html",
    "http://www.opengis.net/spec/ogcapi-features-1/1.0/conf/geojson",

    // From: https://docs.ogc.org/is/19-079r2/19-079r2.html
    // TODO: queryables and sortables are not supported yet, but we may want to add them in the future:
    // requirement http://www.opengis.net/spec/ogcapi-features-3/1.0/req/queryables-query-parameters
    // filtering has limited supported but we cannot advertise it yet because of the dependency on
    // queryables-query-parameters:
    // http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/features-filter
    // http://www.opengis.net/spec/ogcapi-features-3/1.0/conf/filter

    // From part 3 https://docs.ogc.org/is/23-058r2/23-058r2.html
    "http://www.opengis.net/spec/ogcapi-features-5/1.0/conf/schemas",
    "http://www.opengis.net/spec/ogcapi-features-5/1.0/conf/profile-codelists",
    "http://www.opengis.net/spec/ogcapi-features-5/1.0/conf/profile-parameter",
    "http://www.opengis.net/spec/ogcapi-features-5/1.0/conf/feature-references",

@elpaso elpaso added Feature Server Related to QGIS server labels Jun 9, 2026
@github-actions github-actions Bot added this to the 4.2.0 milestone Jun 9, 2026
@elpaso elpaso force-pushed the server-oapif-ogcapi-feature-schema branch from f0d2799 to 1d1a30e Compare June 9, 2026 11:36
@nyalldawson nyalldawson added the Frozen Feature freeze - Do not merge! label Jun 9, 2026
@elpaso elpaso force-pushed the server-oapif-ogcapi-feature-schema branch from c6121df to b8f64e3 Compare June 10, 2026 14:46
Comment thread tests/src/python/test_qgsserver_ogcapi_features.py Outdated
Comment thread tests/src/python/test_qgsserver_ogcapi_features.py Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature Frozen Feature freeze - Do not merge! Server Related to QGIS server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants