developmentseed / geolambda

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

Support for PostgreSQL drive #84

Open Rub21 opened 4 years ago

Rub21 commented 4 years ago

example:

Running this command: 👇

docker run --rm -v ${PWD}:/home/geolambda developmentseed/geolambda:latest ogr2ogr \
  -f "PostgreSQL" \
  PG:"host=localhost port=15432 dbname=db user=postgres password=1234 " \
  data/admin-areas/states/Admin2.shp \
  -overwrite \
  -nln states \
  -nlt MULTIPOLYGON \
  -lco GEOMETRY_NAME=geom

The error: There is not includedPostgreSQL in gdal.

WaffiAltaher commented 1 year ago

Did you find a solution/workaround? I am running into the same issue now.....