Skip to content

Commit

Permalink
schema: Remove crs property from uad-extent
Browse files Browse the repository at this point in the history
- Add definition as alternative to required properties
- Clarify meaning of crs in extent.yaml, to avoid confusion with storageCrsBbox
  • Loading branch information
jerstlouis committed Apr 11, 2024
1 parent 43d7958 commit 6a3f075
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 15 deletions.
8 changes: 2 additions & 6 deletions standard/openapi/ogcapi-coverages-1.bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -1004,7 +1004,7 @@
}
},
"crs": {
"description": "Coordinate reference system of the coordinates in the spatial extent\n(property `bbox`). The default reference system is WGS 84 longitude/latitude.\nIn the Core the only other supported coordinate reference system is\nWGS 84 longitude/latitude/ellipsoidal height for coordinates with height.\nExtensions may support additional coordinate reference systems and add\nadditional enum values.",
"description": "Coordinate reference system of the coordinates of the `bbox` property.\nThe default reference system is WGS 84 longitude/latitude.\nWGS 84 longitude/latitude/ellipsoidal height for coordinates with height.\nFor non-terrestrial coordinate reference system, another CRS may be specified.",
"type": "string",
"enum": [
"http://www.opengis.net/def/crs/OGC/1.3/CRS84",
Expand Down Expand Up @@ -1157,7 +1157,7 @@
{
"required": [
"interval",
"crs"
"definition"
]
},
{
Expand Down Expand Up @@ -1201,10 +1201,6 @@
]
}
},
"crs": {
"type": "string",
"description": "generic coordinate reference system suitable for any type of dimensions"
},
"trs": {
"type": "string",
"description": "temporal coordinate reference system (e.g. as defined by Features for 'temporal')"
Expand Down
5 changes: 1 addition & 4 deletions standard/openapi/schemas/common-geodata/extent-uad.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ allOf:
The domain intervals for any additional dimensions of the extent (envelope) beyond those described in temporal and spatial.
type: object
oneOf:
- required: [ interval, crs ]
- required: [ interval, definition ]
- required: [ interval, trs ]
- required: [ interval, vrs ]
properties:
Expand Down Expand Up @@ -40,9 +40,6 @@ allOf:
- '2011-11-11T12:22:11Z'
- 32.5
- null
crs:
type: string
description: generic coordinate reference system suitable for any type of dimensions
trs:
type: string
description: temporal coordinate reference system (e.g. as defined by Features for 'temporal')
Expand Down
8 changes: 3 additions & 5 deletions standard/openapi/schemas/common-geodata/extent.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,10 @@ properties:
- 90
crs:
description: |-
Coordinate reference system of the coordinates in the spatial extent
(property `bbox`). The default reference system is WGS 84 longitude/latitude.
In the Core the only other supported coordinate reference system is
Coordinate reference system of the coordinates of the `bbox` property.
The default reference system is WGS 84 longitude/latitude.
WGS 84 longitude/latitude/ellipsoidal height for coordinates with height.
Extensions may support additional coordinate reference systems and add
additional enum values.
For non-terrestrial coordinate reference system, another CRS may be specified.
type: string
enum:
- 'http://www.opengis.net/def/crs/OGC/1.3/CRS84'
Expand Down

0 comments on commit 6a3f075

Please sign in to comment.