Skip to content

Commit f46c523

Browse files
authored
Merge pull request #134 from geopython/oacov-updates
align OACov to latest specification updates
2 parents d217f4e + f45d850 commit f46c523

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

workshop/content/docs/publishing/ogcapi-coverages.md

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -120,20 +120,15 @@ Save the configuration and restart Docker Compose. Navigate to <http://localhost
120120
'Global Deterministic Prediction System sample'
121121
>>> gdps['description']
122122
'Global Deterministic Prediction System sample'
123-
>>> domainset = w.coverage_domainset('gdps-temperature')
124-
>>> domainset['generalGrid']['axisLabels']
125-
['Long', 'Lat']
126-
>>> domainset['generalGrid']['gridLimits']['axisLabels']
127-
['i', 'j']
128-
>>> rangetype = w.coverage_rangetype('gdps-temperature')
129-
>>> len(rangetype['field'])
123+
>>> schema = w.collection_schema('gdps-temperature')
124+
>>> len(schema['field'])
130125
1
131-
>>> rangetype['field'][0]['name']
126+
>>> schema['properties']['1']['title']
132127
'Temperature [C]'
133-
>>> rangetype['field'][0]['uom']['code']
128+
>>> schema['properties']['1']['x-ogc-unit']
134129
'[C]'
135-
>>> rangetype['field'][0]['encodingInfo']['dataType']
136-
'http://www.opengis.net/def/dataType/OGC/0/float64'
130+
>>> schema['properties']['1']['type']
131+
'number'
137132
```
138133
</div>
139134

0 commit comments

Comments
 (0)