developmentseed / geolambda

Create and deploy Geospatial AWS Lambda functions
MIT License
303 stars 85 forks source link

Possible to use with node ogr2ogr? #66

Closed stdmn closed 4 years ago

stdmn commented 5 years ago

Apologies if this is more of a StackOverflow question, but I'm trying to run ogr2ogr to push user-uploaded files to a Postgres database. The ogr2ogr module requires a native install of GDAL.

I've added your Lambda layer to my function but not sure if I need to import or call it. Thoughts?

matthewhanson commented 4 years ago

Wow, sorry I never responded to this @stdmn .

You can use the layer, but you will need to include the ogr2ogr executable in your own deployment.

matthewhanson commented 4 years ago

Also asked in #80 and responded here: https://github.com/developmentseed/geolambda/issues/80#issuecomment-553551347