Skip to content
This repository has been archived by the owner on Nov 23, 2020. It is now read-only.

addresscloud/rasterio-lambda-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rasterio-lambda-layer

standard-readme compliant

RasterIO Python Module as AWS Lambda Layer

Upload the build/package_rio.zip file to an S3 bucket to create a layer (see Usage). You can optionally use the Docker script to build the package from scratch. Extends this work by Vincent Sarago at Mapbox.

Currently build is for Python 3.8 with RasterIO 1.1.8.

Table of Contents

Install

  1. Upload build/package_rio.zip to an S3 bucket.
  2. Create a Lambda layer using this package through the AWS console.

Usage

Inside your Lambda code:

import sys
sys.path.append('/opt') # Add the /opt path so Python can find the modules

import rasterio

Build

To build your own package (requires docker running on Linux):

make

Maintainers

@talltom

Contributing

PRs accepted.

Small note: If editing the README, please conform to the standard-readme specification.

License

BSD-3-Clause © 2019 Addresscloud

About

Rasterio packaged for use as an AWS Lambda layer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published