Home

Awesome

Binder

stactools-worldpop

Dataset Structure

WorldPop is a collection of 15 "projects" each containing several "categories" covering many demographic products and the supporting data used to derive them. This package is limited to two projects and two categories within each, totalling four categories:

You can read more about unconstrained vs. constrained methods here.

STAC Structure

The STAC is structured to match the project/category format of WorldPop, resulting in four separate STAC Collections. Each item in each Collection covers a country.

STAC Examples

Command-line usage

To create one Item:

$ stac worldpop create-item -d destination

To create one Collection (not populated with Items):

$ stac worldpop create-collection -d destination

To create one Collection and populate it with Items:

$ stac worldpop populate-collection -d destination

To create all Collections and populate them with Items:

$ stac worldpop populate-all-collections -d destination

To convert a GeoTIFF to a cloud optimized GeoTIFF (COG):

$ stac worldpop create-cog -d destination -s cog_path

Use stac worldpop <subcommand> --help to see all options.