stactools package for the USGS Gap Analysis Project.
Latest stable version:
pip install stactools-gapLatest development version:
pip install git+https://github.com/stactools-packages/gapGAP 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-directoryIf you just want to create tiles, use the tile command:
stac gap tile gap.tif tile-directoryIf 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-directoryFor complete listing of options, use stac gap --help.