<!-- 
OpenStreetMap's Mapnik "Slippy Map"

This is an example of using the TMS driver when there is no TMS
TileMap config available on the server. We have to manually specify:

 * The map's profile
 * The image source's format, tile_width, and tile_height

In this case, we also specify the "google" tms_type, which will
invert the Y tile index.
-->

<map name="OpenStreetMap" type="projected" version="2">

    <options>
        <profile>global-mercator</profile>
        <lighting>false</lighting>
        <terrain>
            <loading_policy mode="preemptive"/>
        </terrain>
    </options>
    
    <image name="OSM on Mapnik" driver="tms">
        <url>http://tile.openstreetmap.org/</url>
        <profile>global-mercator</profile>
        <format>png</format>
        <tile_width>256</tile_width>
        <tile_height>256</tile_height>
        <tms_type>google</tms_type>
    </image>
    
</map>
