I want to convert large map file to tms format. how directory structure, zoom levels , tile size, xml file creation have to be dealt with. Please point to the relevant docs.
And is there any gdal c++ api to create tiles(not gdal2tiles.py). Thanks
TMS was an unofficial, interim standard created by OSGeo:
A counterpart was accepted by the OGC standards-creating body as 'Web Map Tile Service'. The WMTS standard is available here:
GDAL distributes GDAL2Tiles bundled in with the library as an official utility, and a GUI tool was put out by the creators, MapTiler, to use it. Maptiler comes in a free basic open-source version. Later the developer created a paid 'cluster' version, presumably on a different codebase: http://www.maptiler.org/
Aside from that, all these can be work with TMS/WMTS if you're willing to do some legwork (like setting up a WMS tileservice first):