Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
.DS_Store
workshop/exercises/data/tiles
workshop/exercises/data/brazil/guama_river.gpkg
workshop/exercises/data/airport.gpkg-*
workshop/exercises/data/tartu/metadata/load_tinydb_records.py
workshop/content/.cache
workshop/content/site

.idea
.venv
9 changes: 9 additions & 0 deletions workshop/content/docs/publishing/ogcapi-maps.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,21 @@ In this section we'll be exposing a Geopackage file available at `workshop/exerc
format:
name: png
mimetype: image/png
- type: feature
name: SQLiteGPKG
data: /data/airport.gpkg
id_field: fid
table: airport
```

!!! note

See [the official documentation](https://docs.pygeoapi.io/en/latest/publishing/ogcapi-maps.html) for more information on supported map backends

!!! note

The airport data is published as **both** a map and a feature collection through a single endpoint (`/collections/airports`). How is this made possible in the above configuration?

## pygeoapi as a WMS proxy

You can check the "pygeoapi as a Bridge to Other Services" section to learn how to [publish WMS as OGC API - Maps](../advanced/bridges.md#publishing-wms-as-ogc-api-maps).
Expand Down
5 changes: 5 additions & 0 deletions workshop/exercises/pygeoapi.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -315,6 +315,11 @@ resources:
# name: png
# mimetype: image/png
# storage_crs: http://www.opengis.net/def/crs/EPSG/0/4326
# - type: feature
# name: SQLiteGPKG
# data: /data/airport.gpkg
# id_field: fid
# table: airport
## END - EXERCISE 4 - Maps

## START - EXERCISE 5 - Tiles
Expand Down
Loading