Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document which ST_GDALDrivers are available on debian vs alpine based images #384

Open
zmbm-dev opened this issue May 13, 2024 · 2 comments

Comments

@zmbm-dev
Copy link

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.

@AHB102
Copy link

AHB102 commented Jun 28, 2024

@evanderh Can I document this ?

@zmbm-dev
Copy link
Author

zmbm-dev commented Jul 1, 2024

@AHB102 Go for it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants