Open terion-name opened 3 months ago
I am trying to store tile data to table using postgis-raster type for tile data.
const tile_data = Buffer.from(await res.arrayBuffer()) await db`INSERT INTO ${db(sourceSpec.table)} (z, x, y, tile_data) VALUES (${z}, ${x}, ${y}, ${tile_data})`
result in error
column "tile_data" is of type raster but expression is of type bytea
How to insert raster properly with postgres.js?
I am trying to store tile data to table using postgis-raster type for tile data.
result in error
How to insert raster properly with postgres.js?