Opened 10 years ago

Last modified 5 years ago

#2805 new defect

[raster] Expected return from ST_MapAlgebra callback function is not documented

Reported by: strk Owned by: robe
Priority: medium Milestone: PostGIS Fund Me
Component: documentation Version: master
Keywords: Cc: dustymugs., robe

Description

The documentation for ST_MapAlgebra does not say what is the semantic of the value returned by the user callback function. In particular, it doesn't mention you can return NULL to mean "nodata" (or can you ?)

Change History (3)

comment:1 by strk, 10 years ago

Cc: dustymugs. robe added

I'm unexpectedly getting a NODATA value of 0 in output from ST_MapAlgebra when the input has no NODATA flag set. This is one of the reasons why I was looking for documentation about return values...

comment:2 by strk, 10 years ago

The unexpected NODATA was ticketed as #2807

comment:3 by Algunenano, 5 years ago

Milestone: PostGIS Fund Me
Note: See TracTickets for help on using tickets.