Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Creating PMTiles with the -pC still creates gzipped metadata #236

Open
CraigglesO opened this issue May 29, 2024 · 2 comments
Open

Creating PMTiles with the -pC still creates gzipped metadata #236

CraigglesO opened this issue May 29, 2024 · 2 comments

Comments

@CraigglesO
Copy link

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.

@bdon
Copy link
Contributor

bdon commented May 30, 2024

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

@CraigglesO
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants