| 24 | |
| 25 | == Status == |
| 26 | |
| 27 | As of the end of August 2008, the TMS driver has been implemented; though it has a number of operational issues. In particular write support does not work though substantial code exists for this case. |
| 28 | |
| 29 | The code can be found in svn at http://svn.osgeo.org/gdal/spike/tms. |
| 30 | |
| 31 | === Building === |
| 32 | |
| 33 | To build it into GDAL follow these steps: |
| 34 | |
| 35 | 1. Download and unpack GDAL trunk. |
| 36 | 2. Configure normally, but ensure that CURL support is enabled. |
| 37 | 3. Add TMS driver code (eg. '''cd frmts; svn checkout !http://svn.osgeo.org/gdal/spike/tms'''). |
| 38 | 4. Manually edit GDALmake.opt and add "tms" into the list of formats in the GDAL_FORMATS macro. |
| 39 | 5. Build normally. |
| 40 | 6. Confirm via "gdalinfo --format tms" that you have the driver. |
| 41 | |
| 42 | === Testing === |
| 43 | |
| 44 | An existing small TMS dataset created with GDAL2Tiles is available at: |
| 45 | |
| 46 | http://download.osgeo.org/gdal/data/tms/tms_obr.zip |
| 47 | |
| 48 | Download and unpack, and then run gdalinfo against "obr/tilemapresource.xml". |