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

Show file spec version #27

Closed
stevage opened this issue Oct 27, 2022 · 1 comment
Closed

Show file spec version #27

stevage opened this issue Oct 27, 2022 · 1 comment
Assignees

Comments

@stevage
Copy link

stevage commented Oct 27, 2022

/pmtiles show file:// public/catch.pmtiles 
total size: 13 MB
tile type: Vector Protobuf (MVT)
bounds: 140.962409,-39.136654 149.974995,-33.981390
min zoom: 0
max zoom: 15
center: 142.476196,-38.371809
center zoom: 15
addressed tiles count: 322258
tile entries count: 55994
tile contents count: 42135
clustered: true

Surprised it doesn't list what spec version the .pmtiles file is - that would be helpful.

@bdon
Copy link
Member

bdon commented Oct 27, 2022

v1.5.1 released that:

  • displays spec version
  • errors if version > 3 or no magic number detected
  • displays instructions on converting for version <3

@bdon bdon closed this as completed Oct 27, 2022
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