Post-Processing MBTiles Maps with MBPipe

Post-Processing MBTiles Maps with MBPipe

New documentation on compressing your tilesets or applying image effects

We’ve just posted new documentation on Support.MapBox.com explaining some of the post-processing operations that can be done on MBTiles maps using the MBPipe command-line utility.
We often use MBPipe to perform compression operations that reduce the size of individual tile requests (and of course the MBTiles file as a whole). We also use it for other post-processing effects, such as sharpening imagery that got a little dull in the rendering process, handling the transparency of the World Glass tileset, or quickly creating alternate-color versions of tilesets like we recently did with Blue Marble. The documentation covers these use cases with example commands and full explanations.
This black and white NASA Blue Marble tileset was created with MBPipe, starting with the full-color versions of the files. ImageMagick was used to desaturate the colors as well as to adjust the levels for a higher contrast between land and ocean. More details on how to style maps is available on support.mapbox.com.

MBPipe is a part of the mbtiles node.js module that comes with TileMill. It is also installable separately via npm and is open source on GitHub.
.ts-map img {border:none!important;padding:0!important}

Leave a Reply

Your email address will not be published. Required fields are marked *