[postgis-devel] Z() and M() semantics (was: M-Accessors)

strk at refractions.net strk at refractions.net
Wed Nov 23 05:54:42 PST 2005

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:



On Wed, Nov 23, 2005 at 10:27:05AM +0100, Alex Mayrhofer wrote:
> All,
> is there a specific reason why there is no M() accessor for geometries? Is 
> that not part of the OGC specs, or are there technical reasons for this?
> I'd really love to see that in 1.0.5, if that's trivial enough (btw, there 
> are some copy/paste artifacts in the comments at lwgeom_ogc.c:607/646 
> mentioning always "X").
> thanks
> alex
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-devel

More information about the postgis-devel mailing list