docker-postgis icon indicating copy to clipboard operation
docker-postgis copied to clipboard

Document which ST_GDALDrivers are available on debian vs alpine based images

Open zm-bm opened this issue 1 year ago • 2 comments

Small documentation request. I was trying to export part of a raster using ST_AsPNG and it took me a while to figure out that the PNG GDAL driver isn't available on the alpine image.

SET postgis.gdal_enabled_drivers = 'ENABLE_ALL';
SELECT short_name, long_name, can_write
FROM st_gdaldrivers()
ORDER BY short_name;

showed no PNG driver but google didn't give any hint as to why.

Looking at the gdal documentation, it's built-in by default so I was confused for a bit. Eventually I tried the debian based image which includes the PNG driver, but I thought it'd be nice to have this documented somewhere.

zm-bm avatar May 13 '24 20:05 zm-bm

@evanderh Can I document this ?

AHB102 avatar Jun 28 '24 16:06 AHB102

@AHB102 Go for it!

zm-bm avatar Jul 01 '24 21:07 zm-bm