Closed bo-lu closed 2 years ago
The GDAL35 layer has no python module, just GDAL C libraries. You need to create your own runtime
layer/package using https://github.com/lambgeo/docker-lambda#2-advanced-need-other-dependencies
I took at the GDAL35 layer and it doesn't look like it was installed with the python bindings to support from osgeo import gdal
anyway. Is that correct?
The GDAL35 layer has no python module, just GDAL C libraries.
Not quite sure what I'm missing when trying to use that the layer arn:
arn:aws:lambda:ca-central-1:524387336408:layer:gdal35:3
on ca-central-1 based on this listI tried to import numpy and rasterio which both failed as well. Finally, if I add the aws-data-wrangler layer, I am able to
import numpy
without error.