[postgis-users] (E)WKB specification

Johan C. de Koning johan.de.koning at geodan.nl
Tue Oct 25 07:11:47 PDT 2005

There is something written about WKB in the OGC standard OpenGIS® Simple
Features Implementation Specification for SQL (SFS) at page 66 - 70 (section
3.3). http://portal.opengeospatial.org/files/?artifact_id=829 

With the PostGIS source code there is also a directory with examples. It
contains a wkb_reader which also works with the z coordinate. With this code
you can also find out how the WKB works.

Hope this can help you.

Best regards,

Johan de Koning 

-----Original Message-----
From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Frank
Sent: Tuesday, October 25, 2005 3:34 PM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] (E)WKB specification

On 10/25/05, Lars Rößiger <lars.roessiger at d33.net> wrote:
> Hi.
> Where can I find the WKB and EWKB specifications? I browsed some
> documents on opengis.org without success. I tried a search for WKB but
> no results found :-(


I believe that WKB is defined in the Simple Features for SQL
specification.  I don't think the existing document includes the
2.5D extensions.  There is a separate document floating around
that covers that.

I'm not exactly sure what you mean by EWKB.  There an ISO
SQL MM specification which defines at least a variety of EWKT
that OGC will likely try to align with.  It might include EWKB
(I don't recall).   Of course ISO specs are not normally free.
I got a review copy under the cross agreement between ISO
and OGC.

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
postgis-users mailing list
postgis-users at postgis.refractions.net

More information about the postgis-users mailing list