stactools-chesapeake-lulc

stactools package for Chesapeake Conservancy Land Cover and Land Use data


Keywords
stactools, pystac, catalog, STAC, chesapeake, landcover
License
Apache-2.0
Install
pip install stactools-chesapeake-lulc==0.1.0

Documentation

stactools-chesapeake-lulc

PyPI Binder

Generate STAC Items and Collections for high-resolution (1 meter) Land Use and Land Cover classification raster products for the Chesapeake Bay Watershed. The data are produced by the Chesapeake Conservancy Conservation Innovation Center. Three STAC Collections are available:

  • 7-class Land Cover: chesapeake-lc-7
  • 13-class Land Cover: chesapeake-lc-13
  • 17-class Land Use chesapeake-lu

Examples

STAC objects

Command-line usage

To create a STAC Item:

$ stac chesapeake-lulc create-item <source-cog-file> <output-directory>

For example:

$ stac chesapeake-lulc create-item tests/data-files/Baywide_7class_20132014_E1300000_N1770000.tif examples

To create a STAC Collection, a text file containing hrefs to one or more COG files and the collection id is required:

$ stac chesapeake-lulc create-collection <file-of-cog-hrefs> <output-directory> <collection-id>

For example, the following command will create the contents of the examples/chesapeake-lc-7 directory:

$ stac chesapeake-lulc create-collection examples/chesapeake-lc-7.txt examples/chesapeake-lc-7 chesapeake-lc-7

Use stac chesapeake-lulc --help to see all subcommands and options.