Skip to content

Commit 9d2c669

Browse files
authored
update OARec publishing steps (#103)
1 parent 74f5999 commit 9d2c669

File tree

5 files changed

+19
-7
lines changed

5 files changed

+19
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ You can now add `53_ED1_G.tif` to pygeoapi:
7070

7171
The rasterio provider `format.name` directive **requires** a valid [GDAL raster driver short name](https://gdal.org/drivers/raster/index.html)
7272

73-
Save the configuration and restart docker compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
73+
Save the configuration and restart Docker Compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
7474

7575
## Client access
7676

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Let's try publishing some ICOADS data via the EDR xarray plugin. The sample ICOA
6363
mimetype: application/x-netcdf
6464
```
6565

66-
Save the configuration and restart docker compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
66+
Save the configuration and restart Docker Compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
6767

6868
At first glance, the `icoads-sst` collection appears as a normal OGC API - Coverages collection. Let's look a bit closer at the colleciton description:
6969

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Let's add the file `workshop/exercises/data/osm_places_kosovo.gpkg`:
7575
table: gis_osm_places_free_1 # table name within gpkg
7676
```
7777

78-
Save the file and restart docker compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset with
78+
Save the file and restart Docker Compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset with
7979
title *"Places in Kosovo 2023"* has been published.
8080

8181
!!! note

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

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,21 +59,33 @@ Catalogue backend. We will use the sample catalogue in `workshop/exercises/data/
5959
title_field: title
6060
```
6161

62-
Save the configuration and restart docker compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
62+
Save the configuration and restart Docker Compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
6363

6464
## Metadata formats
6565

6666
By default, pygeoapi supports and expects the OGC API - Records core record model and queryables. For additional metadata formats, you can
6767
develop your own custom pygeoapi plugin, or convert your metadata to OGC API - Records core record model before adding to pygeoapi.
6868

69+
!!! question "Install OWSLib"
70+
71+
If you do not have Python installed, consider running this exercise in a Docker container. See the [Setup Chapter](../setup.md#using-docker-for-python-clients).
72+
73+
<div class="termy">
74+
```bash
75+
pip3 install owslib
76+
```
77+
</div>
78+
6979
### Sample ISO 19139 to TinyDBCatalogue loader
7080

71-
It's possible to load more example ISO19139 metadata in a TinyDB database with [the following script](https://github.com/geopython/pygeoapi/blob/master/tests/load_tinydb_records.py) ([raw](https://raw.githubusercontent.com/geopython/pygeoapi/master/tests/load_tinydb_records.py))
81+
It is possible to load more example ISO19139 metadata in a TinyDB database with [the following script](https://github.com/geopython/pygeoapi/blob/master/tests/load_tinydb_records.py) ([raw](https://raw.githubusercontent.com/geopython/pygeoapi/master/tests/load_tinydb_records.py))
7282

7383

7484
<div class="termy">
7585
```bash
76-
python3 load_tinydb_records.py /xml_folder/ /db_folder/sample-records.tinydb
86+
cd workshop/exercises/data/records
87+
curl -O https://raw.githubusercontent.com/geopython/pygeoapi/master/tests/load_tinydb_records.py
88+
python3 load_tinydb_records.py xml catalogue.tinydb
7789
```
7890
</div>
7991

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ tippecanoe --output-to-directory=/data/tiles/ --force --maximum-zoom=16 --drop-d
9898
mimetype: application/vnd.mapbox-vector-tile
9999
```
100100

101-
Save the file and restart docker compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
101+
Save the file and restart Docker Compose. Navigate to `http://localhost:5000/collections` to evaluate whether the new dataset has been published.
102102

103103
Additional check for the following tile specific endpoints in the `Cycle` collection:
104104

0 commit comments

Comments
 (0)