NERC-CEH / dunes-app

📱Dynamic Dunescapes mobile application
Other
0 stars 0 forks source link

View and download of survey images #63

Open DavidRoy opened 4 years ago

DavidRoy commented 4 years ago

Requirement to view and downloading all survey images.

DavidRoy commented 4 years ago

Requirement is to have:

  1. a report page with filters by site, survey type, date together with photos. With a link for download of individual photos. Option, also include country of site as table column
  2. ability to download multiple photos within a .zip file, e.g. based on filtering by site

@johnvanbreda can you give a time estimate for each please

johnvanbreda commented 3 years ago

@DavidRoy Is this photos of sites and fixed points, as well as any associated with records?

  1. Assuming the answer to the above doesn't make the report query complex, 4 hours.
  2. This needs a new service on the warehouse, which takes a report and parameters and converts the output into a download zip file containing images found by the report. Need to consider whether to implement this against Elasticsearch or PostgreSQL (given that we don't have Elasticsearch gallery code yet, but do need to do so at some point). 1.5 days if PostgreSQL, or 2.5 days if Elasticsearch including gallery functionality for ES reporting. In both cases, there would be a re-usable option to add a download photos link at the bottom of data tables.