mapbox-gl-native icon indicating copy to clipboard operation
mapbox-gl-native copied to clipboard

Terrain RGB Data has zero elevated borders

Open tvolodimir opened this issue 4 years ago • 1 comments

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?

tvolodimir avatar Jul 22 '21 13:07 tvolodimir

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

astojilj avatar Jul 22 '21 14:07 astojilj