{ "info": { "author": "Damon Burgett", "author_email": "damon@mapbox.com", "bugtrack_url": null, "classifiers": [], "description": "untiler\n=======\n\n|Build Status| |Coverage Status|\n\nUtility to take a directory of ``{z}/{x}/{y}.(jpg|png)`` tiles, and\nstitch into a scenetiff (``tif`` w/ exact merc tile bounds). Future\nversions will support fast indexed reading directly from ``tar``\narchives.\n\nInstall\n-------\n\nmake a virtual env + activate, then:\n\n::\n\n pip install untiler\n\nDev installation\n----------------\n\n::\n\n git clone git@github.com:mapbox/untiler.git\n\n cd untiler\n\n pip install -e .\n\nUsage\n-----\n\n::\n\n Usage: untiler [OPTIONS] COMMAND [ARGS]...\n\n Options:\n --help Show this message and exit.\n\n Commands:\n inspectdir\n streamdir\n streammbtiles\n\n``streamdir``\n~~~~~~~~~~~~~\n\nGiven a directory of tiles + a read template, mosaic into tifs at a\nlower parent \"composite\" zoom extent\n\n::\n\n untiler streamdir [OPTIONS] INPUT_DIR OUTPUT_DIR\n\n -c, --compositezoom INTEGER Tile size to mosaic into [default=13]\n -z, --maxzoom INTEGER Force a maxzom [default=max in each\n compositezoom area]\n -l, --logdir TEXT Location for log files [default=None]\n -t, --readtemplate TEXT File path template\n [default='jpg/{z}/{x}/{y}.jpg']\n -s, --scenetemplate TEXT Template for output scenetif filenames\n [default='{z}-{x}-{y}-tile.tif']\n -w, --workers INTEGER Number of workers in the processing pool\n [default=4]\n -x, --no-fill Don't fill in with lower zooms\n --help Show this message and exit.\n\n``streammbtiles``\n~~~~~~~~~~~~~~~~~\n\nMosaic an mbtiles into tifs of \"composite\" zoom extent\n\n::\n\n untiler streammbtiles [OPTIONS] MBTILES OUTPUT_DIR\n\n Options:\n --co NAME=VALUE Driver specific creation options.See the\n documentation for the selected output driver\n for more information.\n -c, --compositezoom INTEGER Tile size to mosaic into [default=13]\n -z, --maxzoom INTEGER Force a maxzom [default=max in each\n compositezoom area]\n -s, --scenetemplate TEXT Template for output scenetif filenames\n [default='{z}-{x}-{y}-tile.tif']\n -w, --workers INTEGER Number of workers in the processing pool\n [default=4]\n -x, --no-fill Don't fill in with lower zooms\n --help Show this message and exit.\n\n``inspectdir``\n~~~~~~~~~~~~~~\n\nStream ``[x, y, z]``\\ s of a directory\n\n::\n\n untiler inspectdir [OPTIONS] INPUT_DIR\n\n Options:\n -z, --zoom INTEGER Zoom to inspect [default = all]\n --help Show this message and exit.\n\nOutputs a line-delimited stream of tile ``[x, y, z]``\\ s; useful to pipe\ninto ``mercantile shapes`` to visualize geometry:\n\n::\n\n untiler inspectdir