OGC API - Tiles provides access to geospatial data in the form of tiles (map, vector, etc.).
pygeoapi can publish tiles from local or remote data sources (including cloud object storage). To integrate tiles from a local data source, it is assumed that a directory tree of static tiles has been created on disk. Examples of tile generation software include (but are not limited to):
pygeoapi core tile providers are listed below, along with supported storage types.
Provider | local | remote |
---|---|---|
MVT | ✅ | ✅ |
Below are specific connection examples based on supported providers.
The MVT provider plugin provides access to Mapbox Vector Tiles.
providers:
- type: tile
name: MVT
data: tests/data/tiles/ne_110m_lakes # local directory tree
# data: https://example.org/ne_110m_lakes/{z}/{x}/{y}.pbf
options:
metadata_format: raw # default | tilejson
zoom:
min: 0
max: 5
schemes:
- WorldCRS84Quad
format:
name: pbf
mimetype: application/vnd.mapbox-vector-tile
- list all collections
- overview of dataset
- overview of dataset tiles
- tile matrix metadata
- tiles URI template