Changing GDAL version in default docker image or AWS lambda runtime #731
-
Hi! I was just trying out the SAM deployment with some customizations and was surprised that the GDAL version is a bit older (3.6.4 vs 3.8). Is there a reason for keeping that pinned to an older version? Some environment variable config options for example are only available for >=3.7 for example (https://gdal.org/user/configoptions.html#global-configuration-options).
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @scottyhq The version in the Lambda layer is determined by rasterio wheels https://github.com/rasterio/rasterio-wheels/blob/main/env_vars.sh#L11 You can create your own layer either compiling GDAL or using https://github.com/lambgeo/docker-lambda (which was just updated with 3.8 yesterday 😅 ) |
Beta Was this translation helpful? Give feedback.
Hi @scottyhq
The version in the Lambda layer is determined by rasterio wheels https://github.com/rasterio/rasterio-wheels/blob/main/env_vars.sh#L11
You can create your own layer either compiling GDAL or using https://github.com/lambgeo/docker-lambda (which was just updated with 3.8 yesterday 😅 )