Opened 6 years ago

Last modified 7 months 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 Changed 6 years ago by strk

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 Changed 6 years ago by strk

The unexpected NODATA was ticketed as #2807

comment:3 Changed 7 months ago by Algunenano

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