Files
pygeoapi/tests/cite/ogcapi-features
Tom Kralidis c9abac21d4 CITE fixes and setup (#330)
* add CITE testing setup

* fix item link relations, handle invalid limit/startindex parameters

* ignore all generated OpenAPI files

* update config and steps

* update config
2020-01-06 09:40:33 -05:00
..
2020-01-06 09:40:33 -05:00
2020-01-06 09:40:33 -05:00
2020-01-06 09:40:33 -05:00

CITE testing for OGC API - Features

Test data

Test data used is a subset of the Canadian National Water Data Archive as extracted from the MSC Geomet OGC API.

Running

# 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 '-'