Skip to main content

Create mosaicJSON for Landsat imagery

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

landsat_cogeo_mosaic-0.2.1.tar.gz (181.6 kB view details)

Uploaded Source

File details

Details for the file landsat_cogeo_mosaic-0.2.1.tar.gz.

File metadata

  • Download URL: landsat_cogeo_mosaic-0.2.1.tar.gz
  • Upload date:
  • Size: 181.6 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for landsat_cogeo_mosaic-0.2.1.tar.gz
Algorithm Hash digest
SHA256 5a17e95f4bc150d8dc64da719a5676375a3c807a54b5f8dc2d6e47bf47da3b3c
MD5 73cbd6d63020b938d429ac5f906f8ae3
BLAKE2b-256 9186431a8a968c49a5725ae14eb62bcffa89e89d1e31dc15e9e8f0d5a1296132

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page