Home

Awesome

stactools-gap

CI

stactools package for the USGS Gap Analysis Project.

Installation

Latest stable version:

pip install stactools-gap

Latest development version:

pip install git+https://github.com/stactools-packages/gap

Usage

GAP data comes as big rasters, either TIFFs or IMG files. You can tile these large rasters and create a STAC Collection for those tiles using create-collection:

stac gap create-collection --tile-source gap.tif gap.xml tile-directory stac-directory

If you just want to create tiles, use the tile command:

stac gap tile gap.tif tile-directory

If you already have tiles directory, you can skip the tiling step by omitting the --tile-source argument to create-collection:

stac gap create-collection gap.xml tile-directory stac-directory

For complete listing of options, use stac gap --help.