Skip to content

Fix addressed tiles calculation#270

Merged
bdon merged 1 commit intoprotomaps:mainfrom
anysomewhere:adressed-tiles
Feb 3, 2026
Merged

Fix addressed tiles calculation#270
bdon merged 1 commit intoprotomaps:mainfrom
anysomewhere:adressed-tiles

Conversation

@anysomewhere
Copy link
Copy Markdown
Contributor

The addressed tiles is the sum of all tile runlengths. Compare with pmtiles/verify.go:112.

Without this fix clustering will result in invalid pmtiles containers with larger maps.
I didn't add a test because that would increase the test runtime signifficantly.

The addressed tiles is the sum of all tile runlengths.
Compare with pmtiles/verify.go:112.
@bdon bdon merged commit 4d1c99f into protomaps:main Feb 3, 2026
3 of 4 checks passed
@bdon
Copy link
Copy Markdown
Member

bdon commented Feb 3, 2026

Thanks for the fix!

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.

2 participants