﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
36196	django.contrib.gis.GDALRaster support for driver configuration options	Jordi Castells	Jordi Castells	"Some raster files will refuse to open when using newer versions of GDAL (for example 3.8).

GDAL behaves as expected, although it is not always as desired. It brought to my attention that there is no support for driver specific open options when calling `contrib.gis.GDALRaster`

There is driver option support via `papsz_options` when creating GDALRaster from scratch (https://docs.djangoproject.com/en/5.1/ref/contrib/gis/gdal/#creating-rasters-from-data) but not when opening an existing raster file (https://docs.djangoproject.com/en/5.1/ref/contrib/gis/gdal/#gdalraster).

The example that I can come up now is opening a `COG` directly with `contrib.gis.GDALRaster` and requiring the option `IGNORE_COG_LAYOUT_BREAK`, but I imagine that other drivers would benefit from this capability.

.. note: I can prepare this patch myself but first I would like opinion from the maintainers :-)"	New feature	assigned	GIS	5.1	Normal			Jordi Castells Daniel Wiesmann Mariusz Felisiak	Accepted	0	0	0	0	0	0
