Questions tagged [lambda]

Use this tag when referring to Amazon Web Services (AWS) Lambda

Filter by
Sorted by
Tagged with
0
votes
0answers
43 views

Python code in AWS Lambda to load shapefile to PostgreSQL/PostGIS (RDS)

I am new to GIS implementation. I am trying to develop AWS Lambda code in Python to load shapefile dynamically. I developed the code after doing some research and it is perfectly working on my local ...
0
votes
1answer
35 views

Configuring geolambda GDAL error

I am trying to make a lambda_function.py works in AWS. I have a lambda using geolambda v4 and geolambda-python v3 as layers, for running a script in Python that uses sentinel-2 jp2 files. Python ...
3
votes
2answers
2k views

HTTP request -to- AWS Lambda Python function -to- AGOL

I want to make an HTTP GET request to AGOL, but I want to route the request through a Python function. Since I can't host the Python function on AGOL (more info here), I'd like to use AWS-Lambda ...
0
votes
0answers
80 views

Why is spatialite query taking so long (only) on first execution?

I have an AWS lambda function deployed with a spatialite table. When queried, a point lookup is done on the table to find the locations in the table containing the point. The first execution of the ...
1
vote
0answers
6k views

Writing Python list data into CSV file in multiple columns? [closed]

I am trying to write data into csv file from python list. I am using aws lambda for this...... My code fields = ['SnapshotId', 'StartDate'] csvio = io.StringIO() writer = csv.writer(csvio,delimiter=...
2
votes
1answer
869 views

How to generate a correct HTTP response for a pbf within AWS API Gateway?

I am attempting to implement this approach to serving vector tiles from PostGIS using a lambda function and an AWS API Gateway Method: https://www.sparkgeo.com/blog/vector-tile-server-using-postgis. ...
1
vote
1answer
454 views

Java unsatisfied link error at runtime

I'm getting an unsatisfied link error when running gdal.AllRegister() in my java application running on AWS Lambda. java.lang.UnsatisfiedLinkError: /var/task/lib/libgdaljni.so: libgdal.so: cannot ...
3
votes
0answers
342 views

QGIS Python: sort by attributes <= 0 [closed]

In QGIS 2.18 I'm try to sort features by an integer attribute with a Python script. The problem is, that some of the values of the sorting attribue are <= 0 (for sure they have to be <=0) and ...
4
votes
1answer
2k views

using gdal /vsis3/ on aws lambda fails

I am trying to use AWS lambda to process some files stored in an S3 bucket using GDAL. I have used information in the previous question enter link description here to test that I can read the file ...