@@ -45,7 +45,7 @@ Based on `public.ecr.aws/lambda/provided:al2` (AmazonLinux 2)
4545
4646see: < https://github.com/lambgeo/docker-lambda/pkgs/container/lambda-gdal >
4747
48- ### Creating Lambda packages
48+ ## Creating Lambda packages
4949
5050### Using
5151
@@ -138,15 +138,15 @@ Other variables:
138138
139139Starting with gdal3.1 (PROJ 7.1), you can set ` PROJ_NETWORK=ON ` to use [ remote grids] ( https://proj.org/usage/network.html ) .
140140
141- # AWS Lambda Layers
141+ ## AWS Lambda Layers
142142
143143| gdal | amazonlinux version | size (Mb) | unzipped size (Mb) | arn |
144144| ---- | ------------------- | --------- | ------------------ | ----------------------------------------------------------- |
145145| 3.8 | 4 | TBD | TBD | arn:aws:lambda:{REGION}:524387336408:layer:gdal38:{VERSION} |
146146
147147see [ /layer.json] ( /layer.json ) for the list of arns
148148
149- ### Find the arn version
149+ ### Find the ARN version
150150
151151``` bash
152152cat layer.json| jq ' .[] | select(.region == "us-west-2")'
@@ -286,3 +286,13 @@ package.zip
286286 - ** GDAL_DATA:** /opt/share/gdal
287287 - ** PROJ_LIB:** /opt/share/proj
288288- lambda handler: ` handler.handler `
289+
290+ ## Building locally for testing
291+
292+ To run the image build locally, execute the script ` scripts/build.sh ` with
293+ three arguments of (1) the GDAL version, (2) the runtime platform, and (3)
294+ the version of the runtime platform:
295+
296+ ``` commandline
297+ ./scripts/build.sh 3.10.2 python 3.13
298+ ```
0 commit comments