[OSGeo-Standards] An idea about a compressed binary geometry format

Jody Garnett jody.garnett at gmail.com
Tue Aug 20 17:01:25 PDT 2013


Sounds interesting, any alternative to BinaryXML would be welcome.

The header of Binary XML was very complicated, extending into information
such as endian order. I got the impression it was set up around with a
server bias. The result was a specification which was difficult to
implement as a client, and has seen only one implementation in open source
products I am aware of (in the gvSig community).



On Tue, Aug 20, 2013 at 6:27 AM, Nicklas Avén <nicklas.aven at jordogskog.no>wrote:

> Hallo
>
> I do not know if this list is the right place so that will be my first
> question.
>
> I have a naive idea about a compressed binary format for geometries.
>
> I have done some work to sketch what it is about.
>
> The name so far is TWKB (Tiny WKB)
>
> Can this list be the right place to discuss this format. It is just an
> embryo, and my hope is that it can be something designed by and hard
> connected to the FOSS4G-community.
>
>
> What is done is:
>
> A draft of a spec:
> https://github.com/nicklasaven/TWKB/blob/master/twkb.md
>
> including ideas from Evan Rouault and Oliver Tonnhofer
>
>
> Demos:
> Streaming TWKB from PostGIS to Leaflet via websocket.
> http://178.79.156.122/twkb_node/
>
> Streaming TWKB-aggregates (tiles created on the fly) from PostGIS to
> Leaflet
> http://178.79.156.122/twkb_agg
>
> A page to compare twkb in timing and size with geoJSON directly from
> PostGIS.
> http://178.79.156.122/twkb_test
>
>
> Examples of implementation.
> The PostGIS part is in the trunk:
> http://svn.osgeo.org/postgis/trunk/
>
> The client parts is exemplified here:
> https://github.com/nicklasaven/twkb_web
>
>
> So, first, can this list host discussions about TWKB (or whatever name
> it gets)?
> If not where should it go?
>
> Second, any feedback is very welcome
>
>
>
> Best Regards
>
> Nicklas Avén
>
> _______________________________________________
> Standards mailing list
> Standards at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/standards
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/standards/attachments/20130821/fb46ec14/attachment.html>


More information about the Standards mailing list