Opened 2 years ago

Last modified 11 months ago

#30519 assigned Cleanup/optimization

Add sanity checks to Django RasterField deserialization for rasters that are not fully managed through Django.

Reported by: Daniel Wiesmann Owned by: Srinivas Reddy Thatiparthy
Component: GIS Version: dev
Severity: Normal Keywords: raster
Cc: Triage Stage: Accepted
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no


When using the RasterField for raster columns in PostGIS that are not fully managed by Django, the raster table could be of a type that is not supported by the GDALRaster. Examples are out-of-db rasters, or rasters that have an unsupported pixeltype (single bit rasters, 2 or 4 bit rasters).

A paragraph about this could be added to the documentation, and some sanity checks could be added to the raster deserialization here:

This ticket is related to and

Change History (2)

comment:1 Changed 2 years ago by Claude Paroz

Triage Stage: UnreviewedAccepted

comment:2 Changed 11 months ago by Srinivas Reddy Thatiparthy

Owner: changed from nobody to Srinivas Reddy Thatiparthy
Status: newassigned
Note: See TracTickets for help on using tickets.
Back to Top