[postgis-devel] Z() and M() semantics
schabi at logix-tt.com
Wed Nov 23 06:29:25 PST 2005
strk at refractions.net wrote:
> M() is already in the 1.1 branch.
> BTW, what about making Z() and M() return NULL
> rather then 0 for points w/out the requested dimension ?
> I think NULL is the correct semantic, but nobody answered in September:
I agree that NULL is the correct semantic, and the old semantic can be
easily emulated using coalesce(M(point),0) (which is backwards
compatible with the old semantic, btw).
More information about the postgis-devel