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 gdalBut 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. |
Answered by
vincentsarago
May 21, 2024
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 |
1 reply
Answer selected by
mirouml
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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