Opened 7 years ago

Closed 4 months 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 Changed 7 years ago by jorgearevalo

Cc: jorgearevalo added
Status: newassigned

comment:2 Changed 7 years ago by pracine

Keywords: postgis_raster added; postgisraster removed

comment:3 Changed 7 years ago by jorgearevalo

Milestone: 1.9.1

comment:4 Changed 7 years ago by Mateusz Łoskot

Keywords: postgisraster wktraster added

comment:5 Changed 7 years ago by jorgearevalo

Milestone: 1.9.12.0.0

comment:6 Changed 7 years ago by jorgearevalo

Milestone: 1.10.02.0

comment:7 Changed 6 years ago by jorgearevalo

Priority: normalhigh

comment:8 Changed 4 years ago by Even Rouault

Milestone: 2.0

Removing obsolete milestone

comment:9 Changed 4 years ago by Even Rouault

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 Changed 4 months ago by Even Rouault

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.