Can I use "from osgeo import gdal" with this lambda layer? #79
-
Thank you very much for this repository and all the hard work put into it. It made it really easy for me to set up lambda with layer as total rookie in this space. In my case:
And that was it. Now I can run e.g.: result = subprocess.run(
['ogrinfo', '-ro', '-al', '-so', local_geojson_filename],
check=True,
stdout=subprocess.PIPE,
stderr=subprocess.PIPE,
text=True
) While this works great I would much rather use: from osgeo import gdal But this fails. Is there a way to use it with the setup mentioned above? Am I missing something, doing something wrong or is this lambda layer not meant to provide this functionality? Any guidance on this appreciated. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
you need to create your own package as show in https://github.com/lambgeo/docker-lambda?tab=readme-ov-file#2-advanced-need-other-dependencies |
Beta Was this translation helpful? Give feedback.
you need to create your own package as show in https://github.com/lambgeo/docker-lambda?tab=readme-ov-file#2-advanced-need-other-dependencies