You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Kotlin/JVM reader implementation: worth listing under "Consuming PMTiles"? #134
Hi! I wrote a small dependency-free Kotlin/JVM reader for PMTiles v3 and thought it might be useful to others in the JVM/Android ecosystem, which doesn't seem to have one listed yet.
Pure Kotlin, no third-party dependencies (works on any JVM, not just Android)
Reads tiles by z/x/y with random access; gzip decompression via the JVM stdlib
Verified against the official fixtures in this repo (test_fixture_1/2.pmtiles, protomaps(vector)ODbL_firenze.pmtiles) and the spec's golden Hilbert tile-id values (e.g. zxyToTileId(12, 3423, 1763) == 19078479), plus an exhaustive zxy -> tileId -> zxy round-trip up to zoom 8.
I noticed the README's ## Consuming PMTiles section lists JS / Go / Python / Serverless but nothing for Kotlin/JVM. Would you be open to a small PR adding a ### Kotlin / JVM entry there pointing to it? Happy to match the existing prose-and-link style. Totally fine if community
readers aren't something you list, just wanted to ask before sending a PR.
Thanks for PMTiles. It's a great format to build on.
Activity
bdon commentedon Jul 28, 2026
Sure, you're welcome to open a PR on github.com/protomaps/docs/ - I'll transfer the issue there
MinotaurG commentedon Jul 29, 2026
Opened #135 with the one-line addition to the Other Languages list. Thanks @bdon!
Add Kotlin/JVM reader to Other Languages (#135)
bdon commentedon Jul 31, 2026
Thanks!