Skip to main content

landsat-cogeo-mosaic

Tools to create MosaicJSONs for Landsat imagery.

Overview

A MosaicJSON is a file that defines how to combine multiple (satellite) imagery assets across time and space into a web mercator tile. This repository is designed to be used to create such files, so that they can be used for on-the-fly satellite tile generation, such as with landsat-mosaic-tiler.

Install

pip install landsat-cogeo-mosaic

For CLI commands and some modules, you need additional dependencies:

pip install 'landsat-cogeo-mosaic[cli]'

Create Mosaics

In order to create the mosaic, you need the metadata on where and when Landsat took images, and also the cloud cover of each image. There are a couple ways to get this data. One is to ping the Sat API hosted by Development Seed. This allows you to find the metadata from specific regions and times, and is easier when you're creating a mosaic for a specific region.

Alternatively, for large mosaics it's easier to do bulk processing. In order to not overload the Sat API, I download a file from AWS with metadata from all images.

Changelog

[0.2.1] - 2020-09-21

  • Reproject to web mercator for intersection computations when creating index file

[0.2.0] - 2020-09-13

  • Update for rio-tiler v2
  • Look in commit history for more detailed changes here

[0.1.1] - 2020-05-19

  • Initial release on PyPI

Metadata

Release files for landsat-cogeo-mosaic 0.2.1

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

Source distribution (sdist)

Source distribution for landsat-cogeo-mosaic 0.2.1
File Size Uploaded
landsat_cogeo_mosaic-0.2.1.tar.gz 181.6 kB Details

Release files / landsat_cogeo_mosaic-0.2.1.tar.gz

Download URL landsat_cogeo_mosaic-0.2.1.tar.gz
Size 181.6 kB
Tags Source
SHA-256 checksum
How to use checksums
5a17e95f4bc150d8dc64da719a5676375a3c807a54b5f8dc2d6e47bf47da3b3c
BLAKE2b-256 checksum
How to use checksums
9186431a8a968c49a5725ae14eb62bcffa89e89d1e31dc15e9e8f0d5a1296132
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0.post20200814 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.7

Release history Release notifications | RSS feed

This release

0.2.1 This release

1 release file

0.2.0

1 release file

0.1.1

1 release file

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