Collection of Land Cover products for Canada as produced by NRCan
Project description
stactools nrcan-landcover
Collection of Land Cover products for Canada as produced by Natural Resources Canada using Landsat satellite imagery. This collection of cartographic products offers classified Land Cover of Canada at a 30 metre spatial resolution, updated on a 5 year basis.
This land cover dataset is the Canadian contribution to the 30 metre spatial resolution 2015 Land Cover Map of North America, which is produced by Mexican, American and Canadian government institutions under a collaboration called the North American Land Change Monitoring System (NALCMS).
Usage
- As a python module
from stactools.nrcan_landcover.constants import JSONLD_HREF
from stactools.nrcan_landcover import utils, cog, stac
# Read metadata
metadata = utils.get_metadata(JSONLD_HREF)
# Create a STAC Collection
json_path = os.path.join(tmp_dir, "/path/to/nrcan-landcover.json")
stac.create_collection(metadata, json_path)
# Create a COG
cog.create_cog("/path/to/local.tif", "/path/to/cog.tif")
# Create a STAC Item
stac.create_item(metadata, "/path/to/item.json", "/path/to/cog.tif")
- Using the CLI
# STAC Collection
stac nrcanlandcover create-collection -d "/path/to/directory"
# Create a COG - creates /path/to/local_cog.tif
stac nrcanlandcover create-cog -d "/path/to/directory" -s "/path/to/local.tif"
# Create a STAC Item - creates /path/to/directory/local_cog.json
stac nrcanlandcover create-item -d "/path/to/directory" -c "/path/to/local_cog.tif"
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for stactools-nrcan-landcover-0.2.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9df91ec0b8e3bec038e478bd7e5aa0defa11d7f4a93142f66f61a20c0f589f6 |
|
MD5 | c1bcf9b015d03ab4e0a7e79589f47eff |
|
BLAKE2b-256 | 78c30debea660700f3698d07d5bdf75f665267a4f9144550261d3e2ff94c8827 |
Close
Hashes for stactools_nrcan_landcover-0.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5f5b75fbf5ea8ee2a30981758824a090312134fe7787c1665b4174198fe55c8 |
|
MD5 | ef680bea083159b3b444d706b21d53b1 |
|
BLAKE2b-256 | 9f00ef4989c3eddbea6ed1af82a0e2f2d9b9f452bcd5186898e9564b860c994c |