mapbox / mapbox-gl-native

Interactive, thoroughly customizable maps in native Android, iOS, macOS, Node.js, and Qt applications, powered by vector tiles and OpenGL
https://mapbox.com/mobile
Other
4.37k stars 1.33k forks source link

Terrain RGB Data has zero elevated borders #16618

Open tvolodimir opened 3 years ago

tvolodimir commented 3 years ago

Platform: Mapbox Raster Tiles API - Mapbox Terrain-RGB Problem: Many of tiles at 11-15 z levels has zero elevation values at 1px borders; Few examples: right and bottom borders with zero elevation value: https://api.mapbox.com/v4/mapbox.terrain-rgb/14/9215/5887.pngraw?access_token=...

left border with zero elevation value: https://api.mapbox.com/v4/mapbox.terrain-rgb/15/18431/11501.pngraw?access_token=... https://api.mapbox.com/v4/mapbox.terrain-rgb/14/9215/5624.pngraw?access_token=... https://api.mapbox.com/v4/mapbox.terrain-rgb/13/4607/2816.pngraw?access_token=... https://api.mapbox.com/v4/mapbox.terrain-rgb/12/2559/1529.pngraw?access_token=... https://api.mapbox.com/v4/mapbox.terrain-rgb/11/1279/764.pngraw?access_token=... mspaint_2021-07-22_16-15-31 I did try with different domain (https://a.tiles.mapbox.com) and different formats (png, pngraw, @2x.webp, ...) - nothing helped, tiles has zero elevation borders.

Is this expected results and there are proper way to handle these "empty" gaps? Or a bug?

astojilj commented 3 years ago

This is data issue, the issue is noticeable also with https://api.mapbox.com/raster/v1/mapbox.mapbox-terrain-dem-v1/14/9215/5887.webp?sku=101VsfePhRorN&access_token=...

cc @dnomadb