[postgis-users] 3D WKB Geometries

Frank Warmerdam warmerdam at pobox.com
Tue Sep 10 20:49:20 PDT 2002


Folks,

I have discovered the WKB "Z" mask for geometry types is supposed to be
0x80000000 not 0x8000 as has been used in the past in OGR and PostGIS.  The
matter was pointed out to me by Martin Daly at Cadcorp.   If you review the
document (http://gdal.velocet.ca/projects/opengis/twohalfdsf.html) or the real
document at OGC (99-402) you will see this.

Assuming no one knows a good reason we shouldn't fix this bug I would like to
see it corrected in the next release of OGR and PostGIS.  Can anyone thing of
other OGC WKB 2.5D supporting software that might have this issue?

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent






More information about the postgis-users mailing list