Closed gilalan closed 11 years ago
The internal scheme in MBTiles files is TMS.
How can I change from TMS to XYZ schema? I've read that is supported: https://github.com/mapbox/mbutil/issues/21
Thanks in advance.
Internally, MBTiles is only specified for storing in TMS scheme. However, if you import tile images, e.g. from disk, you can use --scheme=xyz
.
I've read some previous issues but I am not sure that XYZ is the current default scheme.
In my case, I generated a mbtile file from my web tiles in XYZ scheme (builded from Maperitive software). I'm not sure whether the mbtile generated is on the XYZ scheme too. I said that because I´ve uploaded my mbtile on MapBox and the result was a confusing map, the tiles were exchanged. The javascript code says that the scheme is XYZ and shows follow code: "tiles": ["\/v3\/gilliardlopes.ubtest\/{z}\/{x}\/{y}.png"]}.
My feeling is that the mbtile is on the TMS scheme and the MapBox are trying to build the map on XYZ schema.
Has anyone experienced this?
Thanks in advance.