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

Add quiet mode #117

Open
ebbishop opened this issue Jan 12, 2024 · 4 comments
Open

Add quiet mode #117

ebbishop opened this issue Jan 12, 2024 · 4 comments

Comments

@ebbishop
Copy link

pmtiles version: 1.11.0, 926183a, built at 2023-10-31T00:41:14Z
OS: MacOS 11.7 and Ubuntu 22.04

It would be great to have a quiet mode available, especially when running pmtiles as part of a CI/CD pipeline. Converting mbtiles to pmtiles in our pipeline currently produces ~4,000 lines of progress bar logs. This doesn't add anything of value in this context, and it would be helpful to have a way to turn that off.

@bdon
Copy link
Member

bdon commented Jan 13, 2024

This would a good addition. I'd prefer keeping progress the default and adding --quiet instead of making quiet the default and adding --progress. What program is earlier in your pipeline that creates MBTiles?

@ebbishop
Copy link
Author

Agreed, it makes sense to have --quiet as an opt-in feature.

We're using tippecanoe to build mbtiles from a PostGIS db, then converting to pmtiles.

@bdon
Copy link
Member

bdon commented Jan 16, 2024

If you are using the maintained version of tippecanoe https://github.com/felt/tippecanoe you can generate PMTiles directly and don't need to use go-pmtiles at all.

@bdon
Copy link
Member

bdon commented Jan 29, 2024

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

No branches or pull requests

2 participants