[postgis-devel] gzip support for ST_AsMVT

Yuri Astrakhan yuriastrakhan at gmail.com
Sun Nov 3 09:48:48 PST 2019


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
>
> Have you tried using pglz_compress ?
>
> Justin
> _______________________________________________
> postgis-devel mailing list
> postgis-devel at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20191103/aa8114ea/attachment.html>


More information about the postgis-devel mailing list