This presentation available at https://pygeoapi.io/presentations/foss4g2022
python3 -m venv pygeoapi
cd pygeoapi
. bin/activate
git clone https://github.com/geopython/pygeoapi.git
cd pygeoapi
pip3 install -r requirements.txt
python3 setup.py install
cp pygeoapi-config.yml example-config.yml
vi example-config.yml # edit as required
export PYGEOAPI_CONFIG=example-config.yml
export PYGEOAPI_OPENAPI=example-openapi.yml
pygeoapi openapi generate $PYGEOAPI_CONFIG --output-file $PYGEOAPI_OPENAPI
pygeoapi serve
# in another terminal
curl http://localhost:5000 # or open in a web browser
Numerous deployment options
Welcome Joana Simoes, Ph.D (@doublebyte)
Welcome Ben Webb (@webb-ben)
resources:
naturalearth/10m-cultural-vectors/admin_0_countries:
...
naturalearth/10m-physical-vectors/coastline:
...
docs.pygeoapi.io/en/latest/configuration.html#hierarchical-collections
@tomkralidis @JMendesDeJesus @justb4 @pvgenuchten @tzotsos @alpha-beta-soup @francbartoli @doublebyte