Skip to content

Fix OGC record projection and query contracts - #482

Merged
ewlarson merged 1 commit into
developfrom
fix/480-ogc-api-contract
Nov 3, 2026
Merged

ewlarson merged 1 commit into
developfrom
fix/480-ogc-api-contract

Conversation

@ewlarson

@ewlarson ewlarson commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

OGC search responses could return features while reporting zero matches, emit query duration as timeStamp, and fail response validation when a record description was an empty list. This fixes projection against the actual search and native detail response shapes, including sparse metadata, geometry, pagination, and public links.

Bounding boxes now select intersecting record extents without the native map overlap threshold, including antimeridian crossings. Unsupported filters and sorts return explicit errors. Discovery and media types reflect the implemented behavior, and unverified conformance claims are removed; this remains a partial OGC Records facade.

Closes #480.

Validation

  • Full backend lint and format checks passed.
  • Full backend suite: 2,268 passed, 135 skipped, 1 xpassed.
  • Focused OGC and error-contract suite: 90 passed.
  • Exact empty-description regression at feature index 1 and related sparse-input cases rerun: 6 passed.
  • Live local Elasticsearch checks passed for extent intersection, edge contact, and narrow/wide antimeridian boxes; temporary test index removed.

The initial full-suite run lacked boto3; it passed after supplying the dependency in a temporary test directory. Coverage thresholds and a formal OGC conformance suite were not run. Temporal and identifier filters, full sorting semantics, and remaining Records requirements remain future work.

@ewlarson
ewlarson merged commit 90bc782 into develop Nov 3, 2026
12 checks passed
@ewlarson
ewlarson deleted the fix/480-ogc-api-contract branch November 3, 2026 17:31
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.

Fix OGC Records search metadata, spatial filtering, and links

1 participant