You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: workshop/content/docs/publishing/first.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,10 @@ title: Exercise 1 - Your first dataset
6
6
7
7
In this section you are going to publish a vector dataset.
8
8
9
-
For this exercise, we will use a CSV dataset of [Bathing waters in Estonia](https://github.com/geopython/diving-into-pygeoapi/tree/main/workshop/exercises/data/bathingwater-estonia.csv),
9
+
For this exercise, we will use a CSV dataset of [Bathing waters in Estonia](https://github.com/geopython/diving-into-pygeoapi/tree/main/workshop/exercises/data/tartu/bathingwater-estonia.csv),
10
10
kindly provided by [Estonian Health Board](https://terviseamet.ee).
11
11
12
-
You can find this dataset in `workshop/exercises/data/bathingwater-estonia.csv`.
12
+
You can find this dataset in `workshop/exercises/data/tartu/bathingwater-estonia.csv`.
Copy file name to clipboardExpand all lines: workshop/content/docs/publishing/ogcapi-features.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ Let's add the file `workshop/exercises/data/cp-tartu2.gpkg.zip`:
42
42
43
43
!!! question "Update the pygeoapi configuration"
44
44
45
-
First, let's unzip the file [cptartu2.gpkg.zip](https://github.com/geopython/diving-into-pygeoapi/tree/main/workshop/exercises/data/cptartu2.gpkg.zip) to `cptartu2.gpkg`.
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`.
46
46
47
47
Then, open the pygeoapi configuration file in a text editor.
48
48
Find the line `# START - EXERCISE 2 - cadastral parcels Tartu`.
@@ -70,7 +70,7 @@ Let's add the file `workshop/exercises/data/cp-tartu2.gpkg.zip`:
70
70
providers:
71
71
- type: feature
72
72
name: SQLiteGPKG
73
-
data: /data/cptartu2.gpkg # place correct path here
73
+
data: /data/tartu/cptartu2.gpkg # place correct path here
74
74
id_field: nationalca
75
75
title_field: label
76
76
table: cptartu2 # table name within gpkg
@@ -118,7 +118,7 @@ First we will load `bathingwater-estonia.geojson` into the Elasticsearch server.
118
118
Edit the `add-data.sh` script within the `ES` folder, adding these two lines before the end:
python3 /load_es_data.py /tmp/bathingwater-estonia.geojson id
123
123
```
124
124
Through these changes the file `bathingwater-estonia.geojson` is downloaded inside the Elasticsearch Docker container and then loaded into Elasticsearch.
Copy file name to clipboardExpand all lines: workshop/content/docs/publishing/ogcapi-records.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ pygeoapi supports the OGC API - Records draft specification, using Elasticsearch
24
24
## Publish metadata records in pygeoapi
25
25
26
26
With pygeoapi we can setup OGC API - Records using any supported data provider. In this exercise we will use the [TinyDB](https://tinydb.readthedocs.io/en/latest/index.html)
27
-
Catalogue backend. We will use the sample catalogue in `workshop/exercises/data/records/tartu/catalogue.tinydb`.
27
+
Catalogue backend. We will use the sample catalogue in `workshop/exercises/data/tartu/metadata/catalogue.tinydb`.
28
28
29
29
!!! question "Update the pygeoapi configuration"
30
30
@@ -52,7 +52,7 @@ Catalogue backend. We will use the sample catalogue in `workshop/exercises/data/
52
52
providers:
53
53
- type: record
54
54
name: TinyDBCatalogue
55
-
data: /data/records/tartu/catalogue.tinydb
55
+
data: /data/tartu/metadata/catalogue.tinydb
56
56
id_field: externalId
57
57
time_field: recordCreated
58
58
title_field: title
@@ -81,7 +81,7 @@ It is possible to load more example ISO19139 metadata in a TinyDB database with
Copy file name to clipboardExpand all lines: workshop/content/docs/publishing/ogcapi-tiles.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ include, but are not limited to:
44
44
45
45
For this exercise, you will publish a vector dataset of the [bathing water sources in Estonia](https://avaandmed.eesti.ee/datasets/joogiveeallikad), from the location below:
- description: The dataset contains: acCic_s: Cycle Circulation Area with PolygonZ geometry (class acCic, has two spatial components, acCic_c with PolylineZ ring geometry and acCic_s with PolygonZ geometry). It consists of the longitudinal part of the road reserved for the circulation of cycles. It can be carried out: on its own when it is physically separated from the area reserved for motor vehicles and from that reserved for pedestrians, through suitable traffic dividers placed in the longitudinal direction and impassable; on a reserved lane, obtained from the roadway, separated from the lane reserved for motor vehicles simply by a longitudinal strip or by lane delimiters; on a reserved lane created on the pavement space.
26
26
- copyright: Comune di Firenze
27
-
- license: CC-BY 4.0
27
+
- license: CCBY 4.0
28
28
29
29
### ICOADS
30
30
- title: [coads_sst.nc](coads_sst.nc)
@@ -36,22 +36,43 @@ This directory provides sample data to demonstrate functionality.
- description: The dataset shows the location of the places in the Municipality of Florence where a free wireless internet connection service (Wifi) is available.
- description: Eesti paisude ruumiandmekogum koondab andmeid paisude asukohtade, tehniliste parameetrite ja seisundi kohta. Andmeid hallatakse Eesti Looduse Infosüsteemis (EELIS).
- description: Eesti maakatte andmebaas. Koostatud ühtse üle-euroopalise Corine Land Cover metoodika alusel. Minimaalne kaardistusühik 25 ha, hierarhiline nomenklatuur IV taset.
- description: Ruumiandmekogum "Eesti topograafia andmekogu - transport" hõlmab Eesti topograafia andmekogu (ETAK) reaalsusmudeli transpordi gruppi koondatud reaalse maailma nähtuseid, mis on klassifitseeritud nähtusklassideks
0 commit comments