[postgis-devel] gzip support for ST_AsMVT

Justin Pryzby pryzby at telsasoft.com
Sun Nov 3 09:57:26 PST 2019


I guess it wouldn't work for your purposes - just curious.

On Sun, Nov 03, 2019 at 12:48:48PM -0500, Yuri Astrakhan wrote:
> Justin, I only saw pglz_compress() as an internal PG function, but it
> doesn't appear to be exposed to queries, or is it?  Also, while it appears
> to be in the same family of compression algorithms as gzip, I wasn't able
> to confirm if standard gzip libraries will be able to decompress it, and if
> they can't, it defeats the whole purpose of gzipping tiles - I will need to
> uncompress and recompress them as gzips when using/sending to browsers.
> 
> On Sun, Nov 3, 2019 at 11:47 AM Justin Pryzby <pryzby at telsasoft.com> wrote:
> 
> > On Sun, Nov 03, 2019 at 09:29:39AM -0700, nyurik wrote:
> > > * Implement gzip() or ST_gzip()
> > >    PROs:  a more generic approach not tied to MVTs
> > >    CONs:  logically implies the need of ungzip(), requires PG community
> > to
> > > agree this functionality is needed


More information about the postgis-devel mailing list