Bug report #10601

db_manager is unable to load postgis rasters from table where raster column name is not "rast"

Added by Sandro Santilli over 5 years ago. Updated almost 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:DB Manager
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:fixed/implemented
Crashes QGIS or corrupts data:No Copied to github as #:19006

Description

If the table name containing a raster is not "rast" you have to specify it as the "column" parameter of the URI passed to GDAL in order for it to load it. This is as of version 1.10 of gdal.

DBManager never sets a "column" so only fields with name "rast" can be loaded.

History

#1 Updated by Sandro Santilli almost 5 years ago

  • Resolution set to fixed/implemented
  • Target version set to Version 2.8
  • Status changed from Open to Closed

I see the "column" member added to the URI now, and can load rasters where column name is "r".
Not sure which commit fixed this

Also available in: Atom PDF