opengeospatial / ets-ogcapi-features10

Public Repository for the OGC API - Features Compliance Test Suite
Other
16 stars 6 forks source link

bbox schema test is outdated #223

Open cportele opened 1 year ago

cportele commented 1 year ago

Describe the bug The test of the schema of the bbox parameter is outdated.

The current test requires

  type: array
  minItems: 4
  maxItems: 6
  items:
    type: number

but in version 1.0.1 this was updated to

  type: array
  oneOf:
  - minItems: 4
    maxItems: 4
  - minItems: 6
    maxItems: 6
  items:
    type: number

See https://docs.ogc.org/is/17-069r4/17-069r4.html#_parameter_bbox (vs https://docs.ogc.org/is/17-069r3/17-069r3.html#_parameter_bbox).

To support implementations of versions 1.0.0 and 1.0.1, the test should accept both variants.

To Reproduce Review code and standard.

Expected behavior Both schemas should be accepted by the tests.

Screenshots n/a

Additional context n/a

dstenger commented 1 year ago

Thank you for reporting.

Currently, the test suite just supports version 1.0.0 (see linked specification on https://cite.ogc.org/te2/about/ogcapi-features-1.0/1.0/site/). There is already an issue to support version 1.0.1 (#204) which is currently in our backlog.