Ticket #1049 (closed task: fixed)

Opened 2 years ago

Last modified 18 months ago

[raster] ST_SetBandNoDataValue change to use default args

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

Description

I've already updated the documentation as if it uses default args, but can you merge:

st_setbandnodatavalue(rast raster, band integer, nodatavalue double precision, forcechecking boolean)

st_setbandnodatavalue(rast raster, band integer, nodatavalue double precision)

to just:

st_setbandnodatavalue(rast raster, band integer, nodatavalue double precision, forcechecking boolean DEFAULT false)

Also I forgot -- what exactly does the forcechecking argument do when set to true?

Change History

Changed 2 years ago by robe

  • summary changed from ST_SetBandNoDataValue change to use default args to [raster] ST_SetBandNoDataValue change to use default args

Changed 18 months ago by dustymugs

  • status changed from new to closed
  • resolution set to fixed

If forcechecking is TRUE, the band specified is inspected pixel by pixel to see if all pixels are NODATA. If all pixels are NODATA, a special band flag "isnodata" is set to TRUE.

I'm closing this ticket as the changes requested in this ticket was done in r8218.

Note: See TracTickets for help on using tickets.