Skip to content

Commit

Permalink
update CITE setup (geopython#1728) (geopython#1731)
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Jul 21, 2024
1 parent 274646b commit b6c00b0
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
10 changes: 9 additions & 1 deletion tests/cite/README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,20 @@
# CITE testing for OGC API capabilities

- OGC API - Features
- OGC API - Tiles
- OGC API - Environmental Data Retrieval
- OGC API - Processes

## Test data

### OGC API - Features
Test data used is in `tests/data/canada-hydat-daily-mean-02HC003.tinydb`
Test data used is in `tests/data/canada-hydat-daily-mean-02HC003.tinydb`.

### OGC API - Tiles
Test data used is in `tests/data/tiles/ne_110m_lakes`.

### OGC API - Environmental Data Retrieval
TODO

### OGC API - Processes
The `hello-world` test process that is provided with pygeoapi by default is used.
Expand Down
39 changes: 38 additions & 1 deletion tests/cite/cite.config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,14 +96,51 @@ resources:
temporal:
begin: 1850-01-01T00:00:00Z
end: null # or empty

providers:
- type: feature
name: TinyDB
data: ../data/canada-hydat-daily-mean-02hc003.tinydb
id_field: IDENTIFIER
time_field: DATE

lakes:
type: collection
title: Large Lakes
description: lakes of the world, public domain
keywords:
- lakes
crs:
- CRS84
links:
- type: text/html
rel: canonical
title: information
href: http://www.naturalearthdata.com/
hreflang: en-US
extents:
spatial:
bbox: [-180,-90,180,90]
crs: http://www.opengis.net/def/crs/OGC/1.3/CRS84
temporal:
begin: 2011-11-11T00:00:00Z
end: null # or empty
providers:
- type: feature
name: GeoJSON
data: ../data/ne_110m_lakes.geojson
id_field: id
- type: tile
name: MVT-tippecanoe
data: ../data/tiles/ne_110m_lakes
options:
bounds: [[-124.953634,-16.536406],[109.929807,66.969298]]
zoom:
min: 0
max: 5
format:
name: pbf
mimetype: application/vnd.mapbox-vector-tile

hello-world:
type: process
processor:
Expand Down

0 comments on commit b6c00b0

Please sign in to comment.