All Projects → mapbox → Mbutil

mapbox / Mbutil

Licence: bsd-3-clause
Importer and Exporter of MBTiles

Programming Languages

python
139335 projects - #7 most used programming language

Labels

Projects that are alternatives of or similar to Mbutil

obdh2
On-Board Data Handling Module 2
Stars: ✭ 12 (-97.89%)
Mutual labels:  satellite
landslide
Research project on building and evaluating deep learning models for landslides detection on satellite images
Stars: ✭ 36 (-93.67%)
Mutual labels:  satellite
Mapbox Sdk Py
Python SDK for Mapbox APIs **DEVELOPMENT IS TEMPORARILY PAUSED, SEE CONTRIBUTING.md**
Stars: ✭ 300 (-47.28%)
Mutual labels:  satellite
HAMRadio
How-To and Wiki pages for PW-Sat2 Ground Segment equipment and software dedicated for radio amateurs.
Stars: ✭ 21 (-96.31%)
Mutual labels:  satellite
himawari-rx
📡 Receive images from weather satellite Himawari-8 via HimawariCast.
Stars: ✭ 21 (-96.31%)
Mutual labels:  satellite
Noaa Apt
NOAA APT weather satellite image decoder, for Linux, Windows, RPi 2+ and OSX
Stars: ✭ 257 (-54.83%)
Mutual labels:  satellite
CANopen-monitor
An NCurses-based TUI application for tracking activity over the CAN bus and decoding messages with provided EDS/OD files.
Stars: ✭ 15 (-97.36%)
Mutual labels:  satellite
Gr Satellites
GNU Radio decoders for several Amateur satellites
Stars: ✭ 472 (-17.05%)
Mutual labels:  satellite
snuggs
Snuggs are s-expressions for Numpy
Stars: ✭ 15 (-97.36%)
Mutual labels:  satellite
Opensatelliteproject
Open Satellite Project Information
Stars: ✭ 265 (-53.43%)
Mutual labels:  satellite
KS-1Q
Opensat first generation cubesat bus, launch into orbit at 2016/11/11
Stars: ✭ 22 (-96.13%)
Mutual labels:  satellite
sentinel-tiler
A serverless Sentinel-2 tiles server using AWS Lambda
Stars: ✭ 59 (-89.63%)
Mutual labels:  satellite
Libcsp
Cubesat Space Protocol - A small network-layer delivery protocol designed for Cubesats
Stars: ✭ 258 (-54.66%)
Mutual labels:  satellite
ORBITM
🌏 📡 🌏 📡 ORBITM - Orbit maintenance, propulsion sizing, and life-time estimation of space objects!
Stars: ✭ 28 (-95.08%)
Mutual labels:  satellite
Pythonfromspace
Python Examples for Remote Sensing
Stars: ✭ 344 (-39.54%)
Mutual labels:  satellite
google-maps-at-88-mph
Google Maps keeps old satellite imagery around for a while – this tool collects what's available for a user-specified region in the form of a GIF.
Stars: ✭ 93 (-83.66%)
Mutual labels:  satellite
geowombat
GeoWombat: Utilities for geospatial data
Stars: ✭ 34 (-94.02%)
Mutual labels:  satellite
Gpredict
Gpredict satellite tracking application
Stars: ✭ 484 (-14.94%)
Mutual labels:  satellite
Termtrack
Track satellites in your terminal
Stars: ✭ 375 (-34.09%)
Mutual labels:  satellite
Torchsat
🔥TorchSat 🌏 is an open-source deep learning framework for satellite imagery analysis based on PyTorch.
Stars: ✭ 261 (-54.13%)
Mutual labels:  satellite

MBUtil

MBUtil is a utility for importing and exporting the MBTiles format, typically created with Mapbox TileMill.

Before exporting tiles to disk, see if there's a Mapbox Hosting plan or an open source MBTiles server implementation that works for you - tiles on disk are notoriously difficult to manage.

Build Status

Note well: this project is no longer actively developed. Issues and pull requests will be attended to when possible, but delays should be expected.

Installation

Git checkout (requires git)

git clone git://github.com/mapbox/mbutil.git
cd mbutil
# get usage
./mb-util -h

Then to install the mb-util command globally:

sudo python setup.py install
# then you can run:
mb-util

Python installation (requires easy_install)

easy_install mbutil
mb-util -h

Usage

$ mb-util -h
Usage: mb-util [options] input output

Examples:

    Export an mbtiles file to a directory of files:
    $ mb-util world.mbtiles tiles # tiles must not already exist

    Import a directory of tiles into an mbtiles file:
    $ mb-util tiles world.mbtiles # mbtiles file must not already exist

Options:
  -h, --help            Show this help message and exit
  --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"''',
                        and "zyx" which is the format vips dzsave --layout google uses.
  --image_format=FORMAT
                        The format of the image tiles, either png, jpg, webp or pbf
  --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=""
  --do_compression      Do mbtiles compression
  --silent              Dictate whether the operations should run silently


Export an `mbtiles` file to files on the filesystem:

    mb-util World_Light.mbtiles adirectory


Import a directory into a `mbtiles` file

    mb-util directory World_Light.mbtiles

Requirements

  • Python >= 2.6

Metadata

MBUtil imports and exports metadata as JSON, in the root of the tile directory, as a file named metadata.json.

{
    "name": "World Light",
    "description": "A Test Metadata",
    "version": "3"
}

Testing

This project uses nosetests for testing. Install nosetests:

pip install nose

or

easy_install nose

Then run:

nosetests

See Also

License

BSD - see LICENSE.md

Authors

  • Tom MacWright (tmcw)
  • Dane Springmeyer (springmeyer)
  • Mathieu Leplatre (leplatrem)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].