Open CraigglesO opened 2 months ago
in PMTiles the compression for tiles is specified independently of directories/metadata, so this is working as intended.
PMTiles clients are expected to have access to a decompressor, whether that's built-in DecompressionStream
or https://github.com/101arrowz/fflate
Ah, so I am using fflate currently and it's pretty cheap which is nice, but I guess what I'm saying is I'd like the ability to use tippecanoe and add a flag that doesn't allow compression at all including PMTiles metadata. If tippecanoe doesn't want to do this though that's fine, it would just be a good feature for me.
Title says it all, using PMTiles default example with the
-pC
flag included:tippecanoe -pC -zg --projection=EPSG:4326 -o cb_2018_us_zcta510_500k_nolimit.pmtiles -l zcta cb_2018_us_zcta510_500k.json
I don't plan on supporting browser managed deflate, so it would be cool to ensure the metadata and directories is not gzipped by default either.