[postgis-users] Bug dropping the Z coordinate?

Abram Gillespie abe.gillespie.lists at gmail.com
Sun Jan 10 13:30:48 PST 2010


Is this a bug?

select ST_ZMax('BOX3D(0 0 0,0 0 1)'::box3d);

versus

select ST_ZMax(ST_GeomFromEWKB(ST_AsEWKB('BOX3D(0 0 0,0 0 1)'::box3d)));

The first query returns "1" as expected but the second returns "0" as
unexpected.

I'm trying to add Z/M support to zigGIS and this is show-stopping me.
Any work-arounds if this is a bug?  Also, I'll be happy to report the
bug if so.

Thanks.
-Abe



More information about the postgis-users mailing list