Skip to content

Commit 4cbce50

Browse files
Merge pull request #78 from developmentseed/develop
2.0.0 final
2 parents d45c445 + cb557a4 commit 4cbce50

File tree

3 files changed

+38
-30
lines changed

3 files changed

+38
-30
lines changed

CHANGELOG.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
77
## [Unreleased]
88

99

10-
## [v2.0.0rc1] - 2019-10-25
10+
## [v2.0.0] - 2019-10-25
1111

1212
### Added
1313
- Added OpenSSL, which is used to compile versions of Python 3.7+, it is not packaged in GeoLambda Layer
@@ -85,7 +85,7 @@ Package Versions
8585
- GDAL_VERSION=2.3.1
8686

8787
[Unreleased]: https://github.com/sat-utils/sat-stac/compare/master...develop
88-
[v2.0.0]: https://github.com/developmentseed/geolambda/compare/1.2.0...2.0.0rc1
88+
[v2.0.0]: https://github.com/developmentseed/geolambda/compare/1.2.0...2.0.0
8989
[v1.2.0]: https://github.com/developmentseed/geolambda/compare/1.1.0...1.2.0
9090
[v1.1.0]: https://github.com/developmentseed/geolambda/compare/1.0.0...1.1.0
9191
[v1.0.0]: https://github.com/developmentseed/geolambda/tree/1.0.0

README.md

Lines changed: 35 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -17,47 +17,34 @@ While GeoLambda was initially intended for AWS Lambda it is also useful as a bas
1717
| 1.2.0 | 2.4.2 | Separate Python (3.7.4) image and Lambda Layer added |
1818
| 2.0.0 | 3.0.1 | libgeotiff 1.5.1, proj 6.2.0 |
1919

20-
### Docker images
20+
#### Environment variables
2121

22-
The Docker images used to create the Lambda layer are also published to Docker Hub, and thus are also suitable for general use as a base image for geospatial applications.
22+
When using GeoLambda some environment variables need to be set. These are set in the Docker image, but if using the Lambda Layer they will need to be set:
2323

24-
The developmentseed/geolambda image in Docker Hub is tagged by version.
25-
26-
$ docker pull developmentseed/geolambda:<version>
24+
- GDAL_DATA=/opt/share/gdal
25+
- PROJ_LIB=/opt/share/proj (only needed for GeoLambda 2.0.0+)
2726

28-
Or just include it in your own Dockerfile as the base image.
27+
### Lambda Layers
2928

30-
```
31-
FROM developmentseed/geolambda:<version>
32-
```
29+
If you just wish to use the publicly available Lambda layers you will need the ARN for the layer in the same region as your Lambda function. Currently, GeoLambda layers are available in `us-east-1`, `us-west-2`, and `eu-central-1`. If you want to use it in another region please file an issue or you can also create your own layer using this repository (see instructions below on 'Create a new version').
3330

34-
The GeoLambda image does not have an entrypoint defined, so a command must be provided when you run it. This example will mount the current directory to /work and run the container interactively.
35-
36-
$ docker run --rm -v $PWD:/home/geolambda -it developmentseed/geolambda:latest /bin/bash
37-
38-
All of the GDAL CLI tools are installed so could be run on images in the current directory.
39-
40-
### Lambda Layer
41-
42-
If you just wish to use the publicly available Lambda layer you will need the ARN for the layer in the same region as your Lambda function. Currently, GeoLambda layers are available in `us-east-1`, `us-west-2`, and `eu-central-1`. If you want to use it in another region please file an issue or you can also create your own layer using this repository (see instructions below on 'Create a new version').
43-
44-
#### v2.0.0rc1
31+
#### v2.0.0
4532

4633
| Region | ARN |
4734
| ------ | --- |
48-
| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda:3 |
49-
| us-west-2 | arn:aws:lambda:us-west-2:552188055668:layer:geolambda:3 |
50-
| eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda:3 |
35+
| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda:4 |
36+
| us-west-2 | arn:aws:lambda:us-west-2:552188055668:layer:geolambda:4 |
37+
| eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda:4 |
5138

52-
#### v2.0.0rc1-python
39+
#### v2.0.0-python
5340

5441
See the [GeoLambda Python README](python/README.md). The Python Lambda Layer includes the libraries `numpy`, `rasterio`, `GDAL`, `pyproj`, and `shapely`.
5542

5643
| Region | ARN |
5744
| ------ | --- |
58-
| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda-python:2 |
59-
| us-west-2 | arn:aws:lambda:us-west-2:552188055668:layer:geolambda-python:2 |
60-
| eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda-python:2 |
45+
| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda-python:3 |
46+
| us-west-2 | arn:aws:lambda:us-west-2:552188055668:layer:geolambda-python:3 |
47+
| eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda-python:3 |
6148

6249
#### v1.2.0
6350

@@ -86,6 +73,27 @@ See the [GeoLambda Python README](python/README.md). The Python Lambda Layer inc
8673
| eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda:1 |
8774

8875

76+
### Docker images
77+
78+
The Docker images used to create the Lambda layer are also published to Docker Hub, and thus are also suitable for general use as a base image for geospatial applications.
79+
80+
The developmentseed/geolambda image in Docker Hub is tagged by version.
81+
82+
$ docker pull developmentseed/geolambda:<version>
83+
84+
Or just include it in your own Dockerfile as the base image.
85+
86+
```
87+
FROM developmentseed/geolambda:<version>
88+
```
89+
90+
The GeoLambda image does not have an entrypoint defined, so a command must be provided when you run it. This example will mount the current directory to /work and run the container interactively.
91+
92+
$ docker run --rm -v $PWD:/home/geolambda -it developmentseed/geolambda:latest /bin/bash
93+
94+
All of the GDAL CLI tools are installed so could be run on images in the current directory.
95+
96+
8997
## Development
9098

9199
Contributions to the geolambda project are encouraged. The goal is to provide a turnkey method for developing and deploying geospatial applications to AWS. The 'master' branch in this repository contains the current state as deployed to the Docker Hub images `developmentseed/geolambda:latest` and `devlopmentseed/geolambda-python:latest`, along with a tag of the version. The 'develop' branch is the development version and is not deployed to Docker Hub.

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.0.0rc1
1+
2.0.0

0 commit comments

Comments
 (0)