svs / covid19-supply-chain-backend

2 stars 6 forks source link

Ability for a user to create a report of essential goods in a location #5

Open anew-bhav opened 4 years ago

anew-bhav commented 4 years ago

Copying from https://github.com/svs/covid19-supply-chain/issues/1

An essentials report has the following data in it.

- username
- location (google maps location)
- type. one of
    - retail
    - wholesale
    - transport
- items
  - hashtag (ie #potatoes, #dairy...we will have a list and also add more from user submissions)
  - availability (0 - run out, 1 - critically low, 2 - moderat, 3 - abundant)
svs commented 4 years ago

Actually wouldn't it be easier to just upload photos?

We can get the location off the EXIF and the photo says a lot more. User can tag the photo with "Staples", "Veggies", "Dairy", etc.

What say?

This is why we need the frontend wireframes first.

anew-bhav commented 4 years ago

Didn't know about the metadata that gets stored in the images is called EXIF. Good to know it now. EXIF info can be a good way to extract lat lang info. Some people may turn off location on clicked photos, which can be a bummer there.

At the backend, we still need to have columns where we store these details.