openwatersio / openwatersio/OpenWaters
Prioritize near-shore tiles in pack downloads
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 13
- Forks
- 1
- Avg merge
- 4h 22m
- Merged PRs (30d)
- 3
Description
OfflineManager.createPack() walks the full tile pyramid for the specified bounds. For coastal regions this downloads many tiles that are mostly empty ocean.
Add a pre-filter that generates a tighter tile list based on the coastline (e.g. skip tiles whose bounds lie entirely > N nautical miles offshore), then feed that into a custom download path. May require a land/water raster or a coastline polygon lookup.
Part of the offline roadmap (#7). Groundwork landed in https://github.com/openwatersio/OpenWaters/pull/107.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading OfflineManager.createPack() and the groundwork in pull request #107, then review the offline roadmap in issue #7. Decide how the coastline source and offshore threshold should work before implementing the pre-filter and custom download path. Done means coastal pack downloads skip tiles lying entirely beyond the chosen offshore distance.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100