PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → Can I package GDAL with my Python script to put it on AWS Lambda?
Can I package GDAL with my Python script to put it on AWS Lambda?
Iniciado por Sheri Hans, 26,nov. 2020 13:33 - No hay respuesta
Miembro registrado
1 mensaje
Publicado el 26,noviembre 2020 - 13:33
I'm working on online AWS training projects using Python script that we will eventually put on AWS Lambda so that we can automate it, and it will need to use GDAL to convert X/Y coordinates to lat/long coordinates. (The client uses the GDAL library, and when I use online tools to convert the coordinates I get an exact match. But when I use other approaches, such as this formula that I translated from PHP, the results are off by about 20 feet each time.) As far as I know, in order to install the Python GDAL package, I first have to install GDAL itself on my local machine, which probably means I can't just upload my code to Lambda as-is. I know Lambda isn't a server that I can install things on, so is there a way to package my GDAL installation with my Python code so that it will run on Lambda when I upload it?
https://bit.ly/37eEzEd

Edit: Or is there another formula that GDAL uses so that I can just use the formula and not have to bother with this at all?