distinguish satellite from terrain tiles
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- backend-api-design
Research direction
Start with the TileJSON specification and the linked satellite and terrain-rgb TileJSON examples; compare how each raster source is currently described. Decide whether an interpretation field and decoding formula belong in the specification, then update the specification and examples to reflect the agreed design.
Written by the indexing model from the issue text.
Description
What do people think about adding an interpretation field for raster sources?
Currently Mapbox use TileJSON for
-
a 3 band RGB raster to be displayed as is https://api.mapbox.com/v4/mapbox.satellite.json
-
a 1 band raster encoded as a 3 band RGB.
https://api.mapbox.com/v4/mapbox.terrain-rgb.json (https://blog.mapbox.com/blog/terrain-rgb/)
In the terrain-rgb case the formula for getting back to the 1 band raster is "-10000 + ((R * 256 * 256 + G * 256 + B) * 0.1)".
Should the TileJSON spec distinguise these two types and contain the formula to get the real values like in (2)?
/cc @MateoV
- Dominant language
- No language data
- Stars
- 297
- Forks
- 51
- PR merge metrics
- No merged PRs in 30d
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.
More from mapbox/tilejson-spec
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapbox/tilejson-spec#74 ·
-
Tile Pack Batches Open
Difficulty 5/5 Over a week Newbie friendliness 20/100
mapbox/tilejson-spec#71 · 1 comment ·
-
mapbox/tilejson-spec#69 · 2 reactions · 1 assignee ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mapbox/tilejson-spec#67 · 1 comment ·
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
mapbox/tilejson-spec#65 ·
All issues in mapbox/tilejson-spec
Similar issues
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
AXERA-TECH/ax-llm#77 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
games-on-whales/wolf#509 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100