mapbox / mapbox/mapbox-gl-js

Lots of artifacts on the mapbox terrain dem v1 dataset

Open
#11,880 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

3d :triangular_ruler: bug :lady_beetle:
Dominant language
TypeScript
Stars
12.4k
Forks
2.4k
PR merge metrics
No merged PRs in 30d

Description

Hi,

I've found that when using the terrain dem v1 dataset, there's a lot of elevation(?) artifacts scattered all throughout the map. I don't think this is an issue with my code as your own examples (see links down below) exhibit the same behavior, it's definitely something on the data source.

**mapbox-gl-js version**: latest

**browser**: any

### Steps to Trigger Behavior

1. Make use of the terrain dem dataset.

### Link to Demonstration

https://docs.mapbox.com/mapbox-gl-js/example/add-terrain/

![image](https://user-images.githubusercontent.com/4924797/167930657-72d697a5-0d7a-45de-b062-69248b75070a.png)

https://docs.mapbox.com/mapbox-gl-js/example/hillshade/

![image](https://user-images.githubusercontent.com/4924797/167930798-ddc75239-3b40-42cb-8fca-db116c21efeb.png)

### Expected Behavior

Continuous elevation map.

### Actual Behavior

Lots of small-ish artifacts along the elevation data.

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

Reproduce the artifacts in the add-terrain and hillshade examples using the terrain DEM v1 dataset, comparing the expected continuous elevation map with the reported screenshots. Then inspect the terrain and DEM rendering path to determine whether the defect is in the dataset or rendering; done means the artifacts are explained and a verified fix or upstream data conclusion is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
computer-graphics, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.