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

feat: enable GTiff GDAL driver for PostGIS raster #1351

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

lookevink
Copy link

Description

Enable GTiff GDAL driver by default for PostGIS raster functionality.

Problem

Currently, despite postgis_raster being enabled, none of the required GDAL drivers are enabled, leading to:
rt_util_gdal_open: Cannot open file. All GDAL drivers disabled

Solution

  • Add postgis.gdal_enabled_drivers = 'GTiff' to platform defaults configuration
  • Ensure postgresql-platform-defaults.conf is properly included in main PostgreSQL configuration
  • Set appropriate file permissions and ownership

Changes

  1. Added to postgresql-platform-defaults.conf:

@lookevink lookevink requested a review from a team as a code owner December 2, 2024 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant