Ticket #1681 (closed enhancement: fixed)

Opened 15 months ago

Last modified 15 months ago

[raster] ST_BandMetadata should not report hasnodata anymore

Reported by: pracine Owned by: dustymugs
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: trunk
Keywords: Cc:

Description

Now that the absence of nodata value is generally reported as NULL (as in ST_BandNodataValue()), and even if there is an internal flag that is still necessary, there is not need to return a hasnodata column when invoking ST_BandMetadata(). Just return NULL when the flag is false.

The report is confusing as it can say FALSE for hasnodata and still report what is set as nodata value even if it is not used. The expected behaviour is to report NULL when the flag is FALSE.

Change History

Changed 15 months ago by dustymugs

  • owner changed from pracine to dustymugs
  • status changed from new to assigned
  • milestone changed from PostGIS 2.0.1 to PostGIS 2.0.0

Changed 15 months ago by dustymugs

Fixed in r9484.

Changed 15 months ago by dustymugs

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.