[Qgis-developer] Use of Tiny WKB
Jean-Roc Morreale
jr.morreale at enoreth.net
Wed Jan 15 05:47:40 PST 2014
Hi,
I would like to know if any of you (strk?) had a thought on the use of
Tiny WKB inside QGIS's memory layer, it's a format created by Nicklas
Avén and included in PostGIS 2.2's trunk
To sum up, TWKB is a compressed binary format that allows to :
- control of the decimal precision
- relative coordinates
- id stored in the geom
The main advantages are :
- weight reduction, even for a single point
- no time wasted computing the edge position at
6589786.35633001290261745 when your viewscale's resolution is over 1m
I think it is similar to the work done by Alavaro Huarte as it seems to
be a way to improve display's efficiency without significant loss.
Blog posts about the format :
http://blog.jordogskog.no/tag/twkb/
ST_AsTWKB :
http://postgis.net/docs/manual-dev/ST_AsTWKB.html
Regards,
Jean-Roc Morreale
More information about the Qgis-developer
mailing list