Skip to content

Commit 377630e

Browse files
committed
Initial commit Guama River
1 parent 6040014 commit 377630e

File tree

2 files changed

+15
-16
lines changed

2 files changed

+15
-16
lines changed

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

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -38,46 +38,45 @@ vector data source.
3838
It may be helpful to open the dataset in [QGIS](https://qgis.org) while adding and updating your pygeoapi server to easily evaluate table attributes, names, spatial properties and CRS.
3939

4040

41-
Let's add the file `workshop/exercises/data/tartu/cp-tartu2.gpkg.zip`:
41+
Let's add the file `workshop/exercises/data/brazil/guama_river.gpkg.zip`:
4242

4343
!!! question "Update the pygeoapi configuration"
4444

45-
First, let's unzip the file [cptartu2.gpkg.zip](https://github.com/geopython/diving-into-pygeoapi/tree/main/workshop/exercises/data/tartu/cptartu2.gpkg.zip) to `cptartu2.gpkg`.
45+
First, let's unzip the file [guama_river.gpkg.zip](https://github.com/geopython/diving-into-pygeoapi/tree/main/workshop/exercises/data/brazil/guama_river.gpkg.zip) to `guama_river.gpkg`.
4646

4747
Then, open the pygeoapi configuration file in a text editor.
48-
Find the line `# START - EXERCISE 2 - cadastral parcels Tartu`.
48+
Find the line `# START - EXERCISE 2 - flowlines Guama River`.
4949

5050
Add a new dataset section by uncommenting the lines up to `# END - EXERCISE 2 - cadastral parcels Tartu`:
5151

5252
``` {.yaml linenums="1"}
53-
cp-tartu:
53+
guama-river:
5454
type: collection
55-
title: Tartu Cadastral Parcels
56-
description: Cadastral parcels in downtown Tartu
55+
title: Guama River
56+
description: Guama River basin and flowlines
5757
keywords:
58-
- Cadastral parcels
59-
- Tartu
58+
- Guama River
59+
- Merit Hydro
6060
links:
61-
- type: OGC/WFS
61+
- type: text/html
6262
rel: canonical
6363
title: data
64-
href: https://metadata.geoportaal.ee/geonetwork/srv/metadata/9949ec81-f758-42e6-9c1c-6fb604a3f053
64+
href: https://www.sciencebase.gov/catalog/item/614a8864d34e0df5fb97572d
6565
hreflang: EE
6666
extents:
6767
spatial:
68-
bbox: [26.6, 58.3, 26.8, 58.5]
68+
bbox: [49.16,-5.0, -46.8, -1.2]
6969
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
7070
providers:
7171
- type: feature
7272
name: SQLiteGPKG
73-
data: /data/tartu/cptartu2.gpkg # place correct path here
74-
id_field: nationalca
75-
title_field: label
76-
table: cptartu2 # table name within gpkg
73+
data: /data/brazil/guama_river.gpkg # place correct path here
74+
id_field: fid
75+
table: guama_river # table name within gpkg
7776
```
7877

7978
Save the file and restart Docker Compose. Navigate to <http://localhost:5000/collections> to evaluate whether the new dataset with
80-
title *"Tartu Cadastral Parcels"* has been published.
79+
title *"Guama River"* has been published.
8180

8281
!!! note
8382

193 KB
Binary file not shown.

0 commit comments

Comments
 (0)