Closed typebrook closed 3 years ago
Problem: Now pmtiles-serve directly uses y value in sqlite table tiles from MBTiles, which is TMS scheme.
pmtiles-serve
y
tiles
In fact, MBTiles always follow TMS scheme. So if we want to serve tiles with XYZ scheme, the y value should be
# y is the value in MBTiles 2^z - 1 - y
@typebrook can you try with version 0.0.5?
@bdon Looks good on latest version! Well done!
Problem: Now
pmtiles-serve
directly usesy
value in sqlite tabletiles
from MBTiles, which is TMS scheme.In fact, MBTiles always follow TMS scheme. So if we want to serve tiles with XYZ scheme, the
y
value should be