See http://trac.osgeo.org/gdal/wiki/SoCTMSDriver for more information about this driver.