Skip to content

Latest commit

 

History

History

pygeoapi_covid-19

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

pygeoapi COVID-19 demo service - master

This is the configuration and Docker service for the COVID-19 endpoint provided by pygeoapi. It runs a pygeoapi instance with a configuration that fetches data directly from ESRI backend Feature Services. In effect, we (pygeoapi team) provide basically a proxy with actualized data from official sources like the Center for Systems Science and Engineering (CSSE) at Johns Hopkins University and national Public Health institutes like RIVM in The Netherlands. The data is provided via the new OGC API Features REST service for which pygeoapi is a certified OGC Compliant and an OGC Reference Implementation.

Main endpoint is: https://demo.pygeoapi.io/covid-19. Note that this is an API, with some basic HTML rendering, not a viewer/dashboard.

As the OGC API Features is based on Open API Specification (Swagger), there is also a Swagger endpoint:

https://demo.pygeoapi.io/covid-19/openapi?f=html

So no data is stored nor cached by our service.

Contact: https://gitter.im/geopython/pygeoapi or via main website: https://pygeoapi.io

Datasources

Global

Contact: Francesco Bartoli - https://github.com/francbartoli

TBS

Italy

Contact: Francesco Bartoli - https://github.com/francbartoli

For The Italy COVID-19 data are released publicly on GitHub under the CC-BY-4.0, https://github.com/pcm-dpc/COVID-19. These raw data are served directly from that repository storage.

Some layers are also provided by ESRI via Arcgis Feature Services. Their data stems directly from the same source above, managed by the National Civil Protection Department under the Presidency of the Council of Ministers, the DPC http://www.protezionecivile.gov.it/. So this data can be considered official and actual.

The main URL used is : https://services6.arcgis.com/L1SotImj1AAZY1eK . Unfortunately many layers have no geometry, making these hard to integrate.

Layers

Excluded

TODO (tables, no geospatial column)

Interesting pygeoapi queries:

The Netherlands

Contact: Just van den Broecke - https://github.com/justb4

For The Netherlands COVID-19 data is provided by ESRI NL via Arcgis Feature Services. Their data stems directly from the National Institute for Public Health and the Environment (part of Dutch Ministry of Health, Welfare and Sport), the RIVM https://rivm.nl. So this data can be considered official and actual.

The main URL used is : https://services.arcgis.com/nSZVuSZjHpEZZbRo . Unfortunately many layers have no geometry, making these hard to integrate.

Layers

Excluded

TODO (tables, no geospatial column)

Interesting pygeoapi queries:

Deployment of this Service

This service runs latest GitHub master branch of pygeoapi using Docker Image from DockerHub. with a local config file.

A local Docker Image is built named geopython/pygeoapi_covid-19:latest that mainly copies in the COVID-19 config.

This was needed (i.s.o. Volume mapping) to have micro-dockerhub-hook restart the service (as the webhook is done within a Docker container and Volume mapping within a Volume map does not work).

This service is restarted pulling the latest pygeoapi Docker Image whenever a new Image is built (via DockerHub autobuild on the pygeoapi GitHub master commit or explicitly).

There is also a stable version that runs the latest pygeoapi version also from DockerHub.