Skip to content

Commit da3d15b

Browse files
authored
PR #202 for issue #169 - swap maps and tiles sections
swap maps and tiles sections (#169)
2 parents d232b46 + 506975a commit da3d15b

6 files changed

Lines changed: 48 additions & 48 deletions

File tree

LICENSE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# The MIT License (MIT)
22

3-
Copyright © 2018-2023 The pygeoapi community
3+
Copyright © 2018-2025 The pygeoapi community
44

55
* * *
66

workshop/content/docs/publishing/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ through the following exercises:
1414
- [Exercise 1 - Your first dataset](first.md)
1515
- [Exercise 2 - Vector data via OGC API - Features](ogcapi-features.md)
1616
- [Exercise 3 - Raster data via OGC API - Coverages](ogcapi-coverages.md)
17-
- [Exercise 4 - Tiles of geospatial data via OGC API - Tiles](ogcapi-tiles.md)
18-
- [Exercise 5 - Maps of geospatial data via OGC API - Maps](ogcapi-maps.md)
17+
- [Exercise 4 - Maps of geospatial data via OGC API - Maps](ogcapi-maps.md)
18+
- [Exercise 5 - Tiles of geospatial data via OGC API - Tiles](ogcapi-tiles.md)
1919
- [Exercise 6 - Metadata via OGC API - Records](ogcapi-records.md)
2020
- [Exercise 7 - Environmental data via OGC API - Environmental Data Retrieval](ogcapi-edr.md)
2121
- [Exercise 8 - Functions via OGC API - Processes](ogcapi-processes.md)

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Exercise 5 - Maps of geospatial data via OGC API - Maps
2+
title: Exercise 4 - Maps of geospatial data via OGC API - Maps
33
---
44

5-
# Exercise 5 - Maps of geospatial data via OGC API - Maps
5+
# Exercise 4 - Maps of geospatial data via OGC API - Maps
66

77
[OGC API - Maps](https://ogcapi.ogc.org/maps) provides a Web API to access
88
any geospatial data as a georeferenced map image.
@@ -23,7 +23,7 @@ In this section we'll be exposing a Geopackage file available at `workshop/exerc
2323

2424
!!! question "Interact with OGC API - Maps via MapScript"
2525

26-
Open the pygeoapi configuration file in a text editor. Find the line `# START - EXERCISE 5 - Maps`.
26+
Open the pygeoapi configuration file in a text editor. Find the line `# START - EXERCISE 4 - Maps`.
2727

2828
Uncomment section related to #airports.
2929

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
---
2-
title: Exercise 4 - Tiles of geospatial data via OGC API - Tiles
2+
title: Exercise 5 - Tiles of geospatial data via OGC API - Tiles
33
---
44

5-
# Exercise 4 - Tiles of geospatial data via OGC API - Tiles
5+
# Exercise 5 - Tiles of geospatial data via OGC API - Tiles
66

77
[OGC API - Tiles](https://ogcapi.ogc.org/tiles) provides a Web API to deliver tiles of geospatial information. Different forms of geospatial information are supported, such as tiles of vector features ("vector tiles"), coverages, maps (or imagery) and potentially eventually additional types of tiles of geospatial information. The standard is available on this document:
88

@@ -261,7 +261,7 @@ Finally start the docker composition, which will download and ingest the dataset
261261

262262
### QGIS
263263

264-
QGIS supports OGC API Vector Tiles via the [Vector Tiles Layer](https://docs.qgis.org/3.34/en/docs/user_manual/working_with_vector_tiles/vector_tiles_properties.html). Although OGC API - Tiles are not natively supported, you can customize the `generic connection` in order to access them in QGIS.
264+
QGIS supports OGC API Vector Tiles via the [Vector Tiles Layer](https://docs.qgis.org/3.40/en/docs/user_manual/working_with_vector_tiles/vector_tiles_properties.html). Although OGC API - Tiles are not natively supported, you can customize the `generic connection` in order to access them in QGIS.
265265

266266
!!! question "Access OGC API Vector Tiles from QGIS"
267267

workshop/content/mkdocs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
site_name: Diving into pygeoapi
22
site_description: "pygeoapi is an OGC Reference Implementation supporting numerous OGC API specifications. This workshop will cover publishing geospatial data to the Web using pygeoapi in support of the suite of OGC API standards."
33
site_author: The pygeoapi community
4-
copyright: "© 2023 pygeoapi community"
4+
copyright: "© 2025 pygeoapi community"
55
site_url: https://geopython.github.io/diving-into-pygeoapi
66
repo_url: https://github.com/geopython/diving-into-pygeoapi
77
nav:
@@ -14,8 +14,8 @@ nav:
1414
- Exercise 1 - Your first dataset: publishing/first.md
1515
- Exercise 2 - Vector data via OGC API - Features: publishing/ogcapi-features.md
1616
- Exercise 3 - Raster data via OGC API - Coverages: publishing/ogcapi-coverages.md
17-
- Exercise 4 - Tiles of geospatial data via OGC API - Tiles: publishing/ogcapi-tiles.md
18-
- Exercise 5 - Maps of geospatial data via OGC API - Maps: publishing/ogcapi-maps.md
17+
- Exercise 4 - Maps of geospatial data via OGC API - Maps: publishing/ogcapi-maps.md
18+
- Exercise 5 - Tiles of geospatial data via OGC API - Tiles: publishing/ogcapi-tiles.md
1919
- Exercise 6 - Metadata via OGC API - Records: publishing/ogcapi-records.md
2020
- Exercise 7 - Environmental data via OGC API - Environmental Data Retrieval: publishing/ogcapi-edr.md
2121
- Exercise 8 - Functions via OGC API - Processes: publishing/ogcapi-processes.md

workshop/exercises/pygeoapi.config.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,41 @@ resources:
282282
# mimetype: application/tiff
283283
## END - EXERCISE 3 - Coverages
284284

285-
## START - EXERCISE 4 - Tiles
285+
## START - EXERCISE 4 - Maps
286+
# airports:
287+
# type: collection
288+
# title: airports of the world
289+
# description: Point data representing airports around the world with various metadata such as name, Code, etc.
290+
# keywords:
291+
# - airports
292+
# - natural earth
293+
# links:
294+
# - type: text/html
295+
# rel: canonical
296+
# title: information
297+
# href: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/airports/
298+
# hreflang: en-US
299+
# extents:
300+
# spatial:
301+
# bbox: [-180,-90,180,90]
302+
# crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
303+
# temporal:
304+
# begin:
305+
# end: null # or empty
306+
# providers:
307+
# - type: map
308+
# name: MapScript
309+
# data: /data/airport.gpkg
310+
# options:
311+
# type: MS_LAYER_POINT
312+
# layer: airport
313+
# style: /data/airport.sld
314+
# format:
315+
# name: png
316+
# mimetype: image/png
317+
## END - EXERCISE 4 - Maps
318+
319+
## START - EXERCISE 5 - Tiles
286320
# hyderabad:
287321
# type: collection
288322
# title: Greater Hyderabad Municipal Corporation ward boundaries
@@ -319,41 +353,7 @@ resources:
319353
# format:
320354
# name: pbf
321355
# mimetype: application/vnd.mapbox-vector-tile
322-
# # END - EXERCISE 4 - Tiles
323-
324-
## START - EXERCISE 5 - Maps
325-
# airports:
326-
# type: collection
327-
# title: airports of the world
328-
# description: Point data representing airports around the world with various metadata such as name, Code, etc.
329-
# keywords:
330-
# - airports
331-
# - natural earth
332-
# links:
333-
# - type: text/html
334-
# rel: canonical
335-
# title: information
336-
# href: https://www.naturalearthdata.com/downloads/10m-cultural-vectors/airports/
337-
# hreflang: en-US
338-
# extents:
339-
# spatial:
340-
# bbox: [-180,-90,180,90]
341-
# crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
342-
# temporal:
343-
# begin:
344-
# end: null # or empty
345-
# providers:
346-
# - type: map
347-
# name: MapScript
348-
# data: /data/airport.gpkg
349-
# options:
350-
# type: MS_LAYER_POINT
351-
# layer: airport
352-
# style: /data/airport.sld
353-
# format:
354-
# name: png
355-
# mimetype: image/png
356-
## END - EXERCISE 5 - Maps
356+
# # END - EXERCISE 5 - Tiles
357357

358358
## START - EXERCISE 6 - Metadata
359359
# example_catalogue:

0 commit comments

Comments
 (0)