Tom Kralidis 85bdb1dae2 Merge pull request #2 from perrygeo/geojson-provider
Initial take on a geojson provider
2018-03-06 15:23:37 -05:00
2018-03-06 13:00:31 -07:00
2018-02-14 21:46:28 -05:00
2018-02-14 21:46:28 -05:00
2018-02-14 21:54:31 -05:00
2018-03-06 16:59:44 +00:00
2018-03-06 13:32:14 +00:00
2018-02-14 21:54:31 -05:00
2018-03-06 13:32:14 +00:00
2018-03-05 02:51:40 +00:00

pygeoapi

pygeoapi provides an API to geospatial data

Installation

virtualenv pygeoapi
cd pygeoapi
. bin/activate
git clone https://github.com/geopython/pygeoapi.git
cd pygeoapi
git checkout flask-app
pip install -r requirements.txt
pip install -r requirements-dev.txt
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
python 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
S
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.
Readme 50 MiB
Languages
nesC 76.3%
Python 22.3%
HTML 1.3%