Skip to main content

Binder

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

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"

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")

Metadata

Release files for stactools-nrcan-landcover 0.2.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stactools-nrcan-landcover 0.2.4
File Size Uploaded
stactools-nrcan-landcover-0.2.4.tar.gz 8.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for stactools-nrcan-landcover 0.2.4
File Interpreter ABI Platform
stactools_nrcan_landcover-0.2.4-py3-none-any.whl Python 3 none any Details

Total release size: 19.2 kB

Release files / stactools-nrcan-landcover-0.2.4.tar.gz

Download URL stactools-nrcan-landcover-0.2.4.tar.gz
Size 8.9 kB
Tags Source
SHA-256 checksum
How to use checksums
59d691c8ad741b37a7e578c3325179478ca2aa916ebd299ffc0bf5bb79df516f
BLAKE2b-256 checksum
How to use checksums
f5f23c4c9dd5cfb0fda3cffaa113b83fd8db831c388c56c1c36cfa016030b040
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release files / stactools_nrcan_landcover-0.2.4-py3-none-any.whl

Download URL stactools_nrcan_landcover-0.2.4-py3-none-any.whl
Size 10.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2710672e5d5cd0ab2cf98fd4153fba597b761dcb7f1b32ffdfc22186ec7eca39
BLAKE2b-256 checksum
How to use checksums
4e6ee06337f06e167791fd498ffcb1888f04ebdce38006f80930d404873ec720
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.2.4 This release

2 release files

0.2.3

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page