This is a web application that lets farmers see the plant vitality anomaly of all their fields in one view. Just drag&drop a GeoJSON file with field boundaries and croptype information and the app will fetch and display the corresponding maps directly from the AgriSens datacube.
Try it now at https://allmyfields.eo2cube.org/
The input must be a valid GeoJSON file that contains the fields as (multi-)polygons. Each of these must have the properties croptype
and year
, indicating which crop is planted on the field and for which year this information is valid (giving information for multiple years is not supported yet). While year
is obviously a four-digit number, croptype
must be one of the strings in the layer names of the corresponding WMS service, e.g. winter_wheat
, spring_barley
, rapeseed
etc.
To generate a build ready for production:
- Clone this repo
npm install
npm run build
- Put the contents of the
dist
folder onto a server
If not deploying to the root of a domain, amend the build command to npm run build -- --base=/path/to/subfolder
.
Christoph Friedrich (christoph dot friedrich ät uni minus wuerzburg dot de)