b332d8dfacf33e5edcaa4b26be9fa5179c2ca01a
pygeoapi
pygeoapi provides an API to geospatial data
Installation
virtualenv -p python3 pygeoapi
cd pygeoapi
. bin/activate
git clone https://github.com/geopython/pygeoapi.git
cd pygeoapi
pip3 install -r requirements.txt
pip3 install -r requirements-dev.txt
pip3 install -e .
cp pygeoapi-config.yml local.yml
vi local.yml
# update server.url
# add ES dataset(s) to datasets section
export PYGEOAPI_CONFIG=`pwd`/local.yml
python3 pygeoapi/app.py
Example requests
# feature collection metadata
curl http://localhost:5000/
# conformance
curl http://localhost:5000/api/conformance
# feature collection
curl http://localhost:5000/my-dataset
# feature
curl http://localhost:5000/my-dataset/featureid
Description
pygeoapi is a Python server implementation of the OGC API suite of standards. The project emerged as part of the next generation OGC API efforts in 2018 and provides the capability for organizations to deploy a RESTful OGC API endpoint using OpenAPI, GeoJSON, and HTML. pygeoapi is open source and released under an MIT license.
Languages
nesC
76.3%
Python
22.3%
HTML
1.3%