Re: [Qgis-developer] twkb (Tiny WKB) in QGIS?

2016-03-02 Thread Nicklas Avén
Hi Answers inlined On Wed, 2016-03-02 at 12:55 +0100, Hugo Mercier wrote: > Hi, > > This is interesting. > > But I am pretty sure the possible gain in speed greatly depends on > multiple other factors. In some scenarios, computing deltas in geometry > coordinates may take time compared to a

Re: [Qgis-developer] twkb (Tiny WKB) in QGIS?

2016-03-02 Thread Hugo Mercier
Hi, This is interesting. But I am pretty sure the possible gain in speed greatly depends on multiple other factors. In some scenarios, computing deltas in geometry coordinates may take time compared to a direct access to numbers represented by raw doubles. That would be an interesting addition

Re: [Qgis-developer] twkb (Tiny WKB) in QGIS?

2016-03-02 Thread kimaidou
Hi Nicklas, This is indeed a great idea, and will go on further on the step already done here [1] with PostGIS 2.2 backend. QGIS 2.14 now uses ST_RemoveRepeatedPoints as described by one of the optimisations we can use with PostGIS As you said, we could only use this format for rendering

[Qgis-developer] twkb (Tiny WKB) in QGIS?

2016-03-02 Thread Nicklas Avén
Hallo all I have seen this question raised before some time ago on QGIS list. That made me glad :-) But I think maybe time is more right now, since twkb is suppoerted in a released PostGIS version. For anyone not knowing what twkb is: TWKB is a geometry format with similarities to wkb, but uses