Skip to content

Commit f2afc45

Browse files
author
Phil Varner
committed
try gdal 3.9 after 3.10 build failed
1 parent 84922a9 commit f2afc45

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ on:
1515
pull_request:
1616

1717
env:
18-
GDAL_VERSION: 3.10.2
19-
GDAL_VERSION_TAG: 3.10
18+
GDAL_VERSION: 3.9.3 # 3.10.2
19+
GDAL_VERSION_TAG: 3.9
2020

2121
jobs:
2222
build:

README.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Based on `public.ecr.aws/lambda/provided:al2` (AmazonLinux 2)
4545

4646
see: <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

139139
Starting 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

147147
see [/layer.json](/layer.json) for the list of arns
148148

149-
### Find the arn version
149+
### Find the ARN version
150150

151151
```bash
152152
cat 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

Comments
 (0)