#mbtiles #gis #mbutil

bin+lib mbutiles

MBUtiles is an utility in Rust, to generate MBTiles from tiles directories and extract tiles from MBTiles file

2 releases

Uses old Rust 2015

0.1.1 Aug 27, 2016
0.1.0 Mar 19, 2016

#243 in Geospatial

BSD-3-Clause

195KB
797 lines

MBUtiles

Build Status

MBUtiles is an utility in Rust, to generate MBTiles from tiles directories and extract tiles from MBTiles file.

Installation

Install Rust

Install MBUtiles with Cargo

Usage

>mbutiles -h
MBTiles utils.

Usage:
    mbutiles <command> [options] <input> [<output>]
    mbutiles -h | --help
    mbutiles --version

Options:
  -h --help                   Show this help message and exit.
  --verbose                   Show log info.
  --version                   Show version.
  --scheme=<scheme>           Tiling scheme of the tiles. Default is "xyz" (z/x/y),other options are "tms" which is also z/x/y but uses a flipped y coordinate,and "wms" which replicates the MapServer WMS TileCache directory structure"z/000/000/x/000/000/y.png". [default: xyz]
  --image-format=<format>     The format of the image tiles, either png, jpg, webp or pbf.[default: png]
  --grid-callback=<callback>  Option to control JSONP callback for UTFGrid tiles.If grids are not used as JSONP, you can remove callbacks specifying --grid_callback="".[default: grid]

 Commands:
    import
    export
    metadata

Compile

Install Rust

Build:

$cargo build

Test

$cargo test

License

BSD (see LICENSE.md)

Authors

Arnaud Marant
Inspired by mbutil : authors

Dependencies

~26MB
~510K SLoC