Opened 12 years ago

Closed 5 years ago

#4531 closed defect (wontfix)

PostGIS Raster driver: SetRasterProperties for empty rasters

Reported by: dzwarg Owned by: jorgearevalo
Priority: normal Milestone: closed_because_of_github_migration
Component: GDAL_Raster Version: svn-trunk
Severity: normal Keywords: postgis_raster, postgisraster, wktraster
Cc: jorgearevalo

Description

When a new dataset is opened, if there are no rasters, no dataset can be opened.

There are legitimate use cases where an empty dataset is desired. When creating a new dataset, the initial tables need to be created, then a dataset returned (all prior to writing anything to the dataset).

I suggest removing the check on line 391(-ish) where:

PQntuples(poResult) <= 0

This would require a fallback to a default geotransform, raster size, and block size.

Change History (10)

comment:1 by jorgearevalo, 12 years ago

Cc: jorgearevalo added
Status: newassigned

comment:2 by pracine, 12 years ago

Keywords: postgis_raster added; postgisraster removed

comment:3 by jorgearevalo, 12 years ago

Milestone: 1.9.1

comment:4 by Mateusz Łoskot, 12 years ago

Keywords: postgisraster wktraster added

comment:5 by jorgearevalo, 12 years ago

Milestone: 1.9.12.0.0

comment:6 by jorgearevalo, 11 years ago

Milestone: 1.10.02.0

comment:7 by jorgearevalo, 11 years ago

Priority: normalhigh

comment:8 by Even Rouault, 9 years ago

Milestone: 2.0

Removing obsolete milestone

comment:9 by Even Rouault, 9 years ago

Priority: highnormal

All those tickets have more than one year and nobody has acted on it, so the priority is not so high

comment:10 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: assignedclosed

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.