Ticket #593 (closed task: fixed)
[raster] Add a ST_BandIsNoData function
| Reported by: | pracine | Owned by: | jorgearevalo |
|---|---|---|---|
| Priority: | medium | Milestone: | PostGIS 2.0.2 |
| Component: | raster | Version: | 2.0.x |
| Keywords: | Cc: |
Description
Returns true if and only if the band is filled only with nodata values.
This function is usefull to optimize many functions.
This function requires a new flag (similar to the hasnodatavalue flag) to be set a the band level.
Change to the loader are also required. Any editing function changing a pixel value from nodata to with data should also reset the flag.
We might want to add a ST_ResetBandISNoData function later.
Change History
Note: See
TracTickets for help on using
tickets.
