<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Nicklas,<br>
      You might want to look into Binary XML, which I understand was
      being investigated for GML at one point - apparently into a white
      paper according to:<br>
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <a href="http://en.wikipedia.org/wiki/Binary_XML">http://en.wikipedia.org/wiki/Binary_XML</a><br>
      <br>
      On 20/08/13 06:27, Nicklas Avén wrote:<br>
    </div>
    <blockquote cite="mid:1376944071.4383.36.camel@gis-debian"
      type="cite">
      <pre wrap="">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:
<a class="moz-txt-link-freetext" href="https://github.com/nicklasaven/TWKB/blob/master/twkb.md">https://github.com/nicklasaven/TWKB/blob/master/twkb.md</a>

including ideas from Evan Rouault and Oliver Tonnhofer 


Demos:
Streaming TWKB from PostGIS to Leaflet via websocket.
<a class="moz-txt-link-freetext" href="http://178.79.156.122/twkb_node/">http://178.79.156.122/twkb_node/</a>

Streaming TWKB-aggregates (tiles created on the fly) from PostGIS to
Leaflet
<a class="moz-txt-link-freetext" href="http://178.79.156.122/twkb_agg">http://178.79.156.122/twkb_agg</a>

A page to compare twkb in timing and size with geoJSON directly from
PostGIS.
<a class="moz-txt-link-freetext" href="http://178.79.156.122/twkb_test">http://178.79.156.122/twkb_test</a>


Examples of implementation.
The PostGIS part is in the trunk:
<a class="moz-txt-link-freetext" href="http://svn.osgeo.org/postgis/trunk/">http://svn.osgeo.org/postgis/trunk/</a>

The client parts is exemplified here:
<a class="moz-txt-link-freetext" href="https://github.com/nicklasaven/twkb_web">https://github.com/nicklasaven/twkb_web</a>


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
<a class="moz-txt-link-abbreviated" href="mailto:Standards@lists.osgeo.org">Standards@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/standards">http://lists.osgeo.org/mailman/listinfo/standards</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>