-
-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add CITE testing setup * fix item link relations, handle invalid limit/startindex parameters * ignore all generated OpenAPI files * update config and steps * update config
- Loading branch information
1 parent
55d6b8f
commit c9abac2
Showing
6 changed files
with
1,390 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# CITE testing for OGC API - Features | ||
|
||
## Test data | ||
|
||
Test data used is a subset of the [Canadian National Water Data Archive](https://www.canada.ca/en/environment-climate-change/services/water-overview/quantity/monitoring/survey/data-products-services/national-archive-hydat.html) | ||
as extracted from the [MSC Geomet OGC API](https://eccc-msc.github.io/open-data/msc-geomet/web-services_en/#ogc-api-features). | ||
|
||
## Running | ||
|
||
```bash | ||
# install pygeoapi as per https://pygeoapi.io/#install-in-5-minutes | ||
cd tests/cite/ogcapi-features | ||
. cite.env | ||
python ../../load_es_data.py ./canada-hydat-daily-mean-02hc003.json IDENTIFIER | ||
pygeoapi generate-openapi-document -c $PYGEOAPI_CONFIG > $PYGEOAPI_OPENAPI | ||
gunicorn pygeoapi.flask_app:APP -b 0.0.0.0:5001 --access-logfile '-' | ||
``` |
Oops, something went wrong.