Skip to content
forked from EOX-A/LPvis

This is a fork of the LPvis demo project with the goal to demonstrate additional capabilities enabled through Euro Data Cube services.

License

Notifications You must be signed in to change notification settings

eurodatacube/LPvis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Lubomir Bucek
Feb 11, 2020
0326dcd · Feb 11, 2020
Dec 13, 2019
Jan 15, 2020
Dec 11, 2019
Feb 11, 2020
Dec 6, 2019
Dec 5, 2019
Dec 3, 2019
Nov 10, 2019
Feb 10, 2020
Jul 22, 2019
Feb 10, 2020
Jan 14, 2020
Dec 13, 2019
Dec 13, 2019
Dec 10, 2019
Dec 5, 2019

Repository files navigation

Project

Demonstrator deployed on EOxHub

This is a fork of the

LPvis 🕺

Pronounce: "Elpvis" | FOSS Webapp for LPIS declaration conformity assessment and validation of ML classification results

demo project with the goal to extend the capabilities of the (UI only) prototype with concrete backend functionality:

  • connect to Euro Data Cube Sentinel-Hub Service to retrieve NDVI timestacks for a concrete LPIS parcel

  • use a trained Crop-Type classification ML (details to follow) to visualize "declaration" vs "classification result" for LPIS parcels

Confusion Matrix

Prerequisites

  • LPIS/IACS data - i.e. agricultural parcel boundaries as well as farmer crop type declararation - are ingested in Euro Data Cube - geoDB vector databases: this has been done with open government data of Austria for the years 2016, 2017, 2018

  • Euro Data Cube - geoDB data is exposed as vector tile layer: we decided to export static vector tiles from geoDB and bundle them together with the application for this demo, uploading these files to S3 or syncing geoDB to PostGIS to be served directly would be more scalable options. In order to be able to reproduce the vector tile creation preprocessing a jupyter notebook was added: a link

  • a validated dataset of farmer declarations of 2018 is used to train a Crop-Type classification ML on a sample region, this model is applied to a larger region based on NDVI timestacks for 2018 and stored back in Euro Data Cube - geoDB

Note: the trained ML model uses Crop-Type groups (like Sommergetreide) and not concrete Crop-Types (like ZuckerMais, Hirse), a mapping table was used for traffic light visualization (e.g. green = farmers Crop-Type declaration matches predicted Crop-Type group with prediction model accuracy > 95%)

Overview

Important

The current backend implementation requires a Euro Data Cube service for NDVI timestacks and Euro Data Cube - geoDB (based on PostGIS database) to handle LPIS/IACS as well as predictions vector data!

In order to run the app as in demo, you should supply following ENV variables to the Docker container: # geodb credentials as listed from https://hub.eox.at GEODB_API_SERVER_URL= GEODB_AUTH_CLIENT_ID= GEODB_AUTH_CLIENT_SECRET= GEODB_AUTH_AUD= GEODB_API_SERVER_PORT= GEODB_AUTH_DOMAIN= # sentinel-hub credentials SH_CLIENT_ID= SH_CLIENT_SECRET= # model_id for used classification in DB query GEODB_MODEL_ID=

About

This is a fork of the LPvis demo project with the goal to demonstrate additional capabilities enabled through Euro Data Cube services.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 59.8%
  • CSS 12.2%
  • Python 10.6%
  • Jupyter Notebook 9.0%
  • HTML 6.3%
  • Dockerfile 2.1%