[postgis-users] PointM, PolyLineM, PolygonM, MultiPointM support patch

strk strk at freek.keybit.net
Fri Mar 7 02:21:50 PST 2003


pramsey wrote:
> We discard Z for 3D shapes? That's odd, we can actually *store* the Z 
> stuff, unlike the M.
> Discarding M seems like a reasonable short-term hack to allow shp2pgsql 
> to handle M-files for now.

You discard M for 3D shapes, not Z.
All 3D shapes contain also an array of M values.
For each shape type we have 3 versions:
	simple (XY)
	     M (XYM)
	     Z (XYMZ)
M values for Z shapes are in fact discarded by current
implementation of shp2pgsql. So they are for M shapes
with that patch ...

--strk;

> On Thursday, March 6, 2003, at 05:48 AM, strk wrote:
> 
> > This is my short-term proposal for "measured" shapes support.
> > Just discarding 'M' array, like done for 3d shapes rigth now...
> >
> > http://cobalt.rmnet.it/~san/postgis/shp2pgsql.c-0.7.4-M.patch
> >
> > As an aside, I've corrected the code so that PolygonZ shapes
> > are recognized in the right way (a wrong check prevented control
> > from reaching the appropriate code for it).
> >
> > It is a very short patch, you can take a look at it with your eyes.
> >
> > --strk;
> >



More information about the postgis-users mailing list