developmentseed / developmentseed/pearl-frontend
Restrict compare tool to overlapping AOI's
- Dominant language
- JavaScript
- Stars
- 21
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Description
This is a proposal for the compare tool, not yet established whether technically feasible, nor entered into the designs.
We know that the main use case for comparing prediction maps will be to look at change over time. This will most often and most likely be single users or related groups producing exported AOIs with the same imagery, model, and checkpoint, and changes in the mosaic.
It could be possible that users would want to compare LULC predictions from different imagery sources, different models, and different checkpoints.
However, it seems highly unlikely that users would want to compare any differences between these inputs in different geographies. It is difficult to imagine how this would be useful; in order to see prediction tiles on the share map, users must be zoomed in to the min-zoom, so it would not be possible to look in two areas that are far apart.
Would it be possible to restrict the compare tool to only AOI's that overlap? As we save the bounds for each AOI, I imagine we could run something like [turf.js boolean instersect](https://turfjs.org/docs/#booleanIntersects) to determine which AOIs are eligible for comparison after the first AOI is selected. However, I recognize that this may be a complex operation to run over every possible available AOI and could require some complex engineering.
@vgeorge @geohacker what do you think?
Contributor guide
No contributing guide indexed for this repository
Research direction
Review the compare tool's current AOI selection flow and the saved AOI bounds described in the issue. Investigate whether overlap filtering is technically feasible at selection time, including the proposed Turf.js intersection approach. Done would require an agreed design and a defined way to restrict comparisons to overlapping AOIs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100