Quoting Christoph Spoerri <spoerri@duke.edu>:
>

Christoph,

This is actually good timing.  I just finished implementing code required to 
implement the lwgeom.h I proposed a little while ago.

Currently, I have support for (x,y) and (x,y,z).  I could add (x,y,z,m) 
support, I just have to figure out exactly how to do it.

This would almost certainly make thing way easier for you, but more 
complicated for me.

Take a quick look at lwgeom.h (in CVS and on the list) - I had to make a bunch 
of minor changes during the implementation, but nothing at all major.

I guess we'll have to change "is3d" to "dimentionality type" (2d, 3d, 4d), and 
abstract the info out in POINTARRAY.

I'll see if i can put some thought in tomorrow.

dave


