[postgis-users] PointM, PolyLineM, PolygonM, MultiPointM support patch
Paul Ramsey
pramsey at refractions.net
Fri Mar 7 08:40:56 PST 2003
I've applied the patch to CVS and committed.
For future reference, "unified" patches are easier to read. Just invoke
diff with the -U option.
Thanks,
Paul
strk wrote:
> 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;
>>>
>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
--
__
/
| Paul Ramsey
| Refractions Research
| Email: pramsey at refractions.net
| Phone: (250) 885-0632
\_
More information about the postgis-users
mailing list