GithubHelp home page GithubHelp logo

esrips / field-sustainability-helper Goto Github PK

View Code? Open in Web Editor NEW
10.0 10.0 2.0 46.67 MB

(FiSH) Field Sustainability Helper app for Hack the Map 2022

Home Page: https://esrips.github.io/field-sustainability-helper/

HTML 4.37% CSS 0.58% JavaScript 95.05%
agriculture agriculture-demos hack-the-map-2022 hackathon react reactjs sustainability

field-sustainability-helper's People

Contributors

gavinr avatar gavinr-maps avatar jking-gis avatar mitchhutch avatar phenderson00 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

field-sustainability-helper's Issues

show 5-year health field NDVI thumbnails

here:
image

... for the 5-year health - show 5 thumbnails of ndvi image, like this:

image

Nice to have: would be cool to have some interactivity to be abele to scroll through them (like the old itunes album scroll style)

Add widgets

  • add basemap switcher - imagery with labels, streets (or just show all the defaults, that's fine)
  • add search widget

Create utils for AOI analysis

Create utils that receive geometry and return information about the area. Might use layers like soils, elevation, etc. and might return information like field health, acreage, crop types.

Update react ReactDOM.render for React 18

In 621785e I updated to react 18 but now we're getting a warning (oops!):

Warning: ReactDOM.render is no longer supported in React 18. Use createRoot instead. Until you switch to the new API, your app will behave as if it's running React 17. Learn more: https://reactjs.org/link/switch-to-createroot

Figure out login

When using the soils service the JS API is prompting for a login. Since we're using an API Key we should not require a login.

Show soil health score (SUSTAINABILITY)

  • Add button under the results table "Calculate Sustainability Score"
  • When user clicks the button, show a form with these inputs:
  1. Did you till last year?
  2. Did you plant cover crops?
  3. Did you rotate crops this year?
  4. Are you irrigated?

... using those answers and the calculated field values that we got when the user originally drew the field, calculate a sustainability score and display it:

Till = -1
Cover crops = +1
Rotate = +1
Irrigate = +1

Did you fertilize?
Fertilize = -1

soil health is great +2
soil health is yellow = +1
soil health is Red = -1

erosion 1=+2
erosion 2 = +1
erosion 3 = -1
erosion4 = -2

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.