As QRiS gains traction, users will start uploading the projects to the Data Exchange and we need a way to analyse QRiS data across multiple QRiS projects.
This task is more about figuring out the data pipeline to make this possible, rather than the specific report.
Questions
- Should the report gen Python query the Data Exchange API for QRiS projects, retrieve the QRiS GeoPackages and then iterate over them to generate the report? Or do we want some kind of data stream that watches for QRiS project updates and scrapes these data in real time into an Athena table that is used for reporting? I prefer the former. It is simpler and has less infrasture to maintain/break while we figure out even if this process will get widespread adoption.
- Assume that we don't need imagery in the QRiS report. These rasters are typically extremely bulky. The single QRiS GeoPackage for each project is typically extremely small (a few Mb) and should be fast to download.
- QRiS and the QRiS GeoPackage schema is constantly evolving. For the report to be stable, we must minimize the risks of the report breaking if QRiS projects have different versions of the schema. That said, the things we want to report on are fairly established and the dust has settled on their design. Can we keep the report simple enough to be robust?
- Most temporal QRiS data exists in DCE layers that are specific to [protocols](https://qris.riverscapes.net/technical-reference/protocols/). QRiS stores these in extremely generic feature classes (one for each geometry type) with attributes stored as JSON. (There are views to make these data more easily accessible.) For example, something as simple as "LTPBR structures" might be stored in several different DCE layers depending on which protocol was used. How is the report supposed to know this and query the correct data? (This presumes DCE data are needed in the report. Check first.)
- Is this report only for public projects or does the report gen need to know the user's ID so that it can incorporate private projects? See PBR report where the same question is relevant.
Notes
- Do not include a GeoFence. QRiS projects already exist in Scotland and we anticipate them being adopted in France and NZ.
FYI @KellyMWhitehead @MattReimer
As QRiS gains traction, users will start uploading the projects to the Data Exchange and we need a way to analyse QRiS data across multiple QRiS projects.
This task is more about figuring out the data pipeline to make this possible, rather than the specific report.
Questions
Notes
FYI @KellyMWhitehead @MattReimer