Skip to main content

A Rasterio plugin command that exports MBTiles

Project description

https://travis-ci.org/mapbox/rio-mbtiles.svg

A plugin command for the Rasterio CLI that exports a raster dataset to the MBTiles (version 1.1) format. Features include automatic reprojection and parallel processing.

$ rio mbtiles --help
Usage: rio mbtiles [OPTIONS] INPUT [OUTPUT]

  Export a dataset to MBTiles (version 1.1) in a SQLite file.

  The input dataset may have any coordinate reference system. It must have
  at least three bands, which will be become the red, blue, and green bands
  of the output image tiles.

  If no zoom levels are specified, the defaults are the zoom levels nearest
  to the one at which one tile may contain the entire source dataset.

  If a title or description for the output file are not provided, they will
  be taken from the input dataset's filename.

Options:
  -o, --output PATH       Path to output file (optional alternative to a
                          positional arg for some commands).
  --title TEXT            MBTiles dataset title.
  --description TEXT      MBTiles dataset description.
  --overlay               Export as an overlay (the default).
  --baselayer             Export as a base layer.
  --format [JPEG|PNG]     Tile image format.
  --zoom-levels MIN..MAX  A min...max range of export zoom levels. The default
                          zoom level is the one at which the dataset is
                          contained within a single tile.
  --image-dump PATH       A directory into which image tiles will be
                          optionally dumped.
  -j INTEGER              Number of worker processes (default: 1).
  --help                  Show this message and exit.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

rio_mbtiles-1.0.0-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

rio_mbtiles-1.0.0-py2-none-any.whl (7.1 kB view details)

Uploaded Python 2

File details

Details for the file rio_mbtiles-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for rio_mbtiles-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e64905668dd50a7c29d2e40b8ddbdb6d9a413702c3e53746636feed7c58d0db8
MD5 840ce191e755747eaac14c99ad2e5a0d
BLAKE2b-256 d7fb509ee24247f4c5dbeb7441b490955157e08aeca80e1e72603fef8fa2af9b

See more details on using hashes here.

File details

Details for the file rio_mbtiles-1.0.0-py2-none-any.whl.

File metadata

File hashes

Hashes for rio_mbtiles-1.0.0-py2-none-any.whl
Algorithm Hash digest
SHA256 32462c166d52955a9f0d502d0adcd324e63b049ee42721462770c918917ce8a1
MD5 0b2afd1e1cbb36d117cd79ff2d37ccfb
BLAKE2b-256 9fbfe50bb88bcd5bda6dbcf4bbefde2aac9e64f8e2ea0ae1f8a8c0cd19b590d5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page