mirror of
https://github.com/mapbox/tippecanoe.git
synced 2025-02-02 01:08:14 +00:00
Use gzip tile compression to match current tile server
This commit is contained in:
parent
ffe4c95376
commit
896f05aea6
2
tile.cc
2
tile.cc
@ -35,7 +35,7 @@ static inline int compress(std::string const& input, std::string& output) {
|
||||
deflate_s.opaque = Z_NULL;
|
||||
deflate_s.avail_in = 0;
|
||||
deflate_s.next_in = Z_NULL;
|
||||
deflateInit(&deflate_s, Z_DEFAULT_COMPRESSION);
|
||||
deflateInit2(&deflate_s, Z_DEFAULT_COMPRESSION, Z_DEFLATED, 31, 8, Z_DEFAULT_STRATEGY);
|
||||
deflate_s.next_in = (Bytef *)input.data();
|
||||
deflate_s.avail_in = input.size();
|
||||
size_t length = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user