mapbox / rio-rgbify

Encoded arbitrary bit depth rasters in pseudo base-256
MIT License
99 stars 36 forks source link

Is it possible to import a rio-rgbify generated mbtiles file into Mapbox Studio? #17

Open nmanaud opened 6 years ago

nmanaud commented 6 years ago

What I'm primarily trying to achieve is to be able to craft a 'Mars basemap' Mapbox style using Studio. The basemap is based on a hillshade layer derived from MOLA data (source: https://astrogeology.usgs.gov/search/map/Mars/GlobalSurveyor/MOLA/Mars_MGS_MOLA_DEM_mosaic_global_463m)

The following picture shows you as far as I managed to get, having imported the generated mbtiles file. It seems Studio doesn't recognized it as RGB-encoded mbtiles but as a simple raster... I haven't used any particular options to run rgbify: rio rgbify mola-dem-webm-s.tif mola-dem.mbtiles --min-z 0 --max-z 4

Note: mola-dem-webm-s.tif is an Int16 GeoTiff file in EPSG:3857 projected coordinate system.

mars_basemap___mapbox
andrewharvey commented 6 years ago

ps. have you seen https://blog.mapbox.com/mapbox-mars-51006c2d9d2a (it's a very old post though)