[PostGIS] #2807: [raster] ST_MapAlgebra injecting a default NODATA value of 0
PostGIS
trac at osgeo.org
Sat Jun 20 12:53:41 PDT 2026
#2807: [raster] ST_MapAlgebra injecting a default NODATA value of 0
---------------------+-----------------------------
Reporter: strk | Owner: dustymugs
Type: defect | Status: closed
Priority: medium | Milestone: PostGIS Fund Me
Component: raster | Version: master
Resolution: fixed | Keywords:
---------------------+-----------------------------
Changes (by Darafei Praliaskouski <me@…>):
* resolution: => fixed
* status: new => closed
Comment:
In [changeset:"ea6edb5d5a44804bd0e3d2d05d76b220134fae1f/git" ea6edb5/git]:
{{{#!CommitTicketReference repository="git"
revision="ea6edb5d5a44804bd0e3d2d05d76b220134fae1f"
raster: preserve missing NODATA in map algebra
ST_MapAlgebra no longer injects an output NODATA value when the selected
input band has none. Expression and callback variants now raise an error
if they produce NULL without an output NODATA value available.
Keep ST_Grayscale explicit about its own NODATA contract so later RGB-band
NODATA values still become output NODATA pixels even when the first band
has no NODATA value.
Closes #2807
Closes https://github.com/postgis/postgis/pull/1056
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/2807#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list