PXM ingest quality control
Project description
tilecontrol
Tilecontrol contains utilities for satellite basemap quality control.
Usage
Tilecontrol contains a set of command line utilities useful to Mapbox satellite basemap quality control.
parse
tlc parse outputs a list of ZXY tiles that require QC for a particular render.
tlc parse <source_id> <layer_id> <cache_file> <output_directory> --token <MapboxAuthToken>
To use a recent DigitalGlobe job as an example, tlc parse would looke something like this:
tlc parse dg_vivid_seasia_oceania digitalglobe.vivid-seasia-oceania cache_file output_dir --token <MapboxAuthToken>
Output would look something like:
13-6664-4696 13-6664-4697 13-6664-4698 13-6664-4698 13-6664-4699 13-6664-4700 13-6664-4700 13-6664-4701 13-6664-4702 13-6665-4696
edges
tlc edges identifies the edge tiles for a given list of ZXY’s
Additional documentation can be found by appending the --help flag to any command.
API Token
The token we use for testing can be found at https://github.com/mapbox/dg-utils/issues/140.
Installation
Install tilecontrol with:
pip install tilecontrol
Contributing
To develop against tilecontrol:
git clone git@github.com:mapbox/tilecontrol.git cd tilecontrol pip install -e ".[test]"
Tests can be run with py.test
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.