martin/martin-tile-utils
Yuri Astrakhan 3fcad46500
fix (re-)compression of images (#579)
Compression middleware turned out to be hard to use for image cases - it
simply looks at the content-encoding, and if not set, tries to compress
if accepted by the client.

Instead, now individual routes are configured with either that
middleware, or for tiles, I decompress and optionally recompress if
applicable.

Now encoding is tracked separately from the tile content, making it
cleaner too. Plus lots of tests for mbtiles & pmtiles.

Fixes #577
2023-02-20 10:44:22 -05:00
..
fixtures Refactorings, content-type/enc, cli parsing, tests, minor fixes (#548) 2023-01-08 16:31:58 +02:00
src fix (re-)compression of images (#579) 2023-02-20 10:44:22 -05:00
Cargo.toml Multi-source support, new path structure (#456) 2022-11-26 04:46:40 -05:00