Opened 9 years ago

Closed 4 years ago

#5304 closed defect (wontfix)

PostGIS Raster Driver: Review how the column name is deduced

Reported by: jorgearevalo Owned by: jorgearevalo
Priority: normal Milestone: closed_because_of_github_migration
Component: GDAL_Raster Version: 1.10.1
Severity: major Keywords:
Cc: jorgearevalo

Description

I've executed a query like this to create a new raster table

create table new_raster_table as(
SELECT ST_Clip(rast,
	  ST_Buffer(ST_Centroid(ST_Envelope(rast)), 20), 
	  false
	) from aerials.boston
WHERE rid = 4)

So, the new_raster_table has a column named 'st_buffer', but the driver looks for 'rast' and throws an error, when executing:

gdalinfo PG:"dbname=dbname host=myhost user=myuser password=mypassword port=myport table=new_raster_table mode=2"

I need to activate GDAL_DEBUG to see what's happening

Change History (2)

comment:1 by Even Rouault, 8 years ago

Milestone: 2.0

Removing obsolete milestone

comment:2 by Even Rouault, 4 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.