Preserve precision of raster-dem source when rendering hillshade layers
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 12.4k
- Forks
- 2.4k
- PR merge metrics
- No merged PRs in 30d
Description
When zooming far in, it looks like both the mapbox.terrain-rgb and my own bathymetry based terrain rgb tiles have only meter vertical resolution. However, at least my bathymetry data set has higher resolution.
Here is an example with the bathymetry tiles.

Here is an example with mapbox.terrain-rgb.

Do you have an example where mapbox.terrain-rgb shows shadows from vertical sub-meter resolution?
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
Reproduce the reported zoomed-in hillshade behavior using the bathymetry and mapbox.terrain-rgb examples, then trace raster-dem precision through hillshade rendering. Done means sub-meter vertical detail is preserved in the rendered shadows for both sources.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- computer-graphics, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100