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

v3: TileMatrixSets with more than one tile at ID=0 #66

Closed
bdon opened this issue Aug 18, 2022 · 2 comments
Closed

v3: TileMatrixSets with more than one tile at ID=0 #66

bdon opened this issue Aug 18, 2022 · 2 comments

Comments

@bdon
Copy link
Member

bdon commented Aug 18, 2022

Some common TileMatrixSet definitions (Appendix D http://docs.opengeospatial.org/is/17-083r2/17-083r2.html) do not fit in pyramids because ID 0 has more than one tile. We can define a uint8 TileMatrixIDOffset that translates between zoom levels and Tile IDs, allowing tiles like Z=0 X=1 Y=0 to be addressable by internally shifting it to Z=1 in a way that is handled by the PMTiles implementation.

@bdon
Copy link
Member Author

bdon commented Aug 23, 2022

Discussion from Slack via Blayne:

The original nztm tile matrix had this "feature" https://github.com/linz/NZTM2000TileMatrixSet/blob/master/raw/NZTM2000.json we are recommending most people move to nztm2000quad which is quadkey compatible I believe a few of the Antarctica ones are similar.

developmentseed/morecantile#19 (comment)

One of the primary reasons we now recommend using nztm2000quad, there are still a bunch of systems on the older nztm tms as gdal has it as a buitl in one for years

My current thinking is anything that doesn't support a quadkey based index should be changed, because the tile matrix set spec allows for too much variance. Imo if your designing a spec go for the simple but opinionated option!
This is mostly from me converting nztm2000quad imagery back into the older nztm2000 tms, it's pretty easy to convert backwards with a simple scale and crop operation.

@bdon
Copy link
Member Author

bdon commented Oct 3, 2022

Conclusion is to exclude non-Quad key compatible TileMatrixSets. Sorry.

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

1 participant