[postgis-devel] TWKB_agg broken ?

Sandro Santilli strk at keybit.net
Thu Aug 7 01:16:26 PDT 2014


On Wed, Aug 06, 2014 at 07:04:34PM +0200, Nicklas Avén wrote:
> On on., 2014-08-06 at 18:40 +0200, Sandro Santilli wrote:
> > Nicklas, I was looking at ST_AsTWKB_agg but I think it's broken.
> > Why would otherwise the output of ST_AsTWKB_agg be smaller than
> > the output of ST_AsTWKB ?
> 
> It is possible because the aggregate version uses delta values between
> the points which often gives smaller values to store. 

Is there no separator between records in the output of the aggregator ?
How's it different from collecting the geometries and passing the
collection to ST_AsTWKB ?

--strk; 

 ()  ASCII ribbon campaign  --  Keep it simple !
 /\  http://strk.keybit.net/rants/ascii_mails.txt  



More information about the postgis-devel mailing list