<GDAL_WMS>

<!-- Caution : currently the georeferencing only works properly for the lowest-resolution level (base band).
     Some overviews levels are not exactly at half resolution of the neighbouring overview level, and
     the extent might also be slightly different... -->

<!-- Do not open this file as such in a GUI like QGIS since the smallest overview for now is 48000x32000 !,
     which means that it would need to fetch thousands and thousands of tiles...
     or alter the <OverviewCount> to be 8. But in which case the above warning will apply. -->

<!-- Data is subject to term of use detailed at http://www.geo.admin.ch/internet/geoportal/en/home/geoadmin/contact.html#copyright -->

    <Service name="TMS">
        <ServerUrl>http://tile8.geo.admin.ch/geoadmin/ch.swisstopo.pixelkarte-farbe/${z}/${xxx}/${yyy}.jpeg</ServerUrl>
    </Service>
    <DataWindow>
        <UpperLeftX>420000</UpperLeftX>
        <UpperLeftY>350000</UpperLeftY>
        <LowerRightX>900000</LowerRightX>
        <LowerRightY>30000</LowerRightY>
        <SizeX>192000</SizeX>
        <SizeY>128000</SizeY>
        <TileLevel>22</TileLevel>
        <YOrigin>bottom</YOrigin>
    </DataWindow>
    <Projection>EPSG:21781</Projection>
    <OverviewCount>2</OverviewCount>
    <BlockSizeX>256</BlockSizeX>
    <BlockSizeY>256</BlockSizeY>
    <BandsCount>3</BandsCount>
    <Cache />
    <UserAgent>Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110312 Gentoo Firefox/3.6.15</UserAgent>
    <Referer>http://map.geo.admin.ch/?lang=en</Referer>
</GDAL_WMS>
