Skip to content

Commit

Permalink
openapi: Removed domainset and rangetype properties from collection
Browse files Browse the repository at this point in the history
- It is already described in extent and /schema
  • Loading branch information
jerstlouis committed Sep 7, 2023
1 parent dbe9e71 commit 0b0c685
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 152 deletions.
91 changes: 0 additions & 91 deletions standard/openapi/ogcapi-coverages-1.bundled.json
Original file line number Diff line number Diff line change
Expand Up @@ -3268,97 +3268,6 @@
"type": "string",
"description": "axis labels of all dimensions listed in CRS order. Spatial dimensions should be listed separately here."
}
},
"domainSet": {
"allOf": [
{
"$ref": "#/components/schemas/coverageSchema/oneOf/0/properties/domainSet"
}
],
"example": {
"type": "DomainSet",
"generalGrid": {
"type": "GeneralGridCoverage",
"srsName": "http://www.opengis.net/def/crs/EPSG/0/4326",
"axisLabels": [
"Lat",
"Long"
],
"axis": [
{
"type": "RegularAxis",
"axisLabel": "Lat",
"lowerBound": -90,
"upperBound": 90,
"uomLabel": "deg",
"resolution": 1
},
{
"type": "RegularAxis",
"axisLabel": "Long",
"lowerBound": -180,
"upperBound": 180,
"uomLabel": "deg",
"resolution": 1
}
],
"gridLimits": {
"type": "GridLimits",
"srsName": "http://www.opengis.net/def/crs/OGC/0/Index2D",
"axisLabels": [
"i",
"j"
],
"axis": [
{
"type": "IndexAxis",
"axisLabel": "i",
"lowerBound": 0,
"upperBound": 180
},
{
"type": "IndexAxis",
"axisLabel": "j",
"lowerBound": 0,
"upperBound": 360
}
]
}
}
}
},
"rangeType": {
"allOf": [
{
"$ref": "#/components/schemas/coverageSchema/oneOf/0/properties/rangeType"
}
],
"example": {
"type": "DataRecord",
"field": {
"type": "Quantity",
"id": "dem_field",
"name": "dem field",
"definition": "unsignedInt",
"uom": {
"type": "UnitReference",
"code": "m"
},
"constraint": {
"type": "AllowedValues",
"interval": [
0,
10000
]
}
},
"interpolationRestriction": {
"type": "InterpolationRestriction",
"allowedInterpolation": [
"linear"
]
}
}
}
}
}
Expand Down
61 changes: 0 additions & 61 deletions standard/openapi/schemas/coverages-core/coverageInfo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,64 +10,3 @@ allOf:
items:
type: string
description: axis labels of all dimensions listed in CRS order. Spatial dimensions should be listed separately here.
domainSet:
allOf:
- $ref: '../cis/domainSet.yaml'
example:
type: DomainSet
generalGrid:
type: GeneralGridCoverage
srsName: 'http://www.opengis.net/def/crs/EPSG/0/4326'
axisLabels:
- Lat
- Long
axis:
- type: RegularAxis
axisLabel: Lat
lowerBound: -90
upperBound: 90
uomLabel: deg
resolution: 1
- type: RegularAxis
axisLabel: Long
lowerBound: -180
upperBound: 180
uomLabel: deg
resolution: 1
gridLimits:
type: GridLimits
srsName: 'http://www.opengis.net/def/crs/OGC/0/Index2D'
axisLabels:
- i
- j
axis:
- type: IndexAxis
axisLabel: i
lowerBound: 0
upperBound: 180
- type: IndexAxis
axisLabel: j
lowerBound: 0
upperBound: 360
rangeType:
allOf:
- $ref: '../cis/rangeType.yaml'
example:
type: DataRecord
field:
type: Quantity
id: dem_field
name: dem field
definition: unsignedInt
uom:
type: UnitReference
code: m
constraint:
type: AllowedValues
interval:
- 0
- 10000
interpolationRestriction:
type: InterpolationRestriction
allowedInterpolation:
- linear

0 comments on commit 0b0c685

Please sign in to comment.