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

Edit the metadata and header of a pmtiles archive. #204

Merged
merged 7 commits into from
Jan 24, 2025
Merged

Conversation

bdon
Copy link
Member

@bdon bdon commented Jan 22, 2025

Add a CLI command pmtiles edit for changing some header values as well as writing different metadata JSON.

@bdon bdon force-pushed the edit-header-metadata branch from 1a96e0f to e85bbf0 Compare January 24, 2025 06:12
bdon added 2 commits January 24, 2025 14:52
* JSON representation now aligns with TileJSON spec for  and
* flesh out string to enum conversions for Compression and TileType
* pass one or both of --header-json and --metadata to modify the archive
* works in-place if only header data is passed
@bdon bdon force-pushed the edit-header-metadata branch from e85bbf0 to 52b396b Compare January 24, 2025 08:03
@bdon bdon merged commit b2c24da into main Jan 24, 2025
4 checks passed
@bdon bdon deleted the edit-header-metadata branch January 24, 2025 08:39
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

Successfully merging this pull request may close these issues.

1 participant