Closed bertday closed 1 year ago
The prebuilt binaries of gdal-async
are fully self-contained which limits the number of external libraries that I can use. In order to support PosgreSQL, the npm
distribution must contain PostgreSQL. You can rebuild it against your system installed GDAL when installing, in this case it will support everything your GDAL supports.
npm install gdal-async --build-from-source --shared_gdal
Hello! 👋
I'm trying to use
vectorTranslate
to copy a file from GeoJSON to Postgres (thank you again @mmomtchev for pointing me to that function). My code looks like:I get an error:
I'm in a brand-new project with
"gdal-async": "^3.6.2"
and Node 18.13.0. Would greatly appreciate any guidance if I'm not calling this properly.