openwatersio / openwatersio/OpenWaters

Prioritize near-shore tiles in pack downloads

Open
#116 0 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.