<!--
osgEarth Sample

This example tests osgEarth's image reprojection capabilities.  The imagery coming from
ESRI is in WGS1984 Geodetic and it is being reprojected on the fly to NAD83 UTM zone 17N. The
"tile_size" attribute tells osgEarth what size the reprojected imagery should be.

Refer to this site for spatial reference definitions:
http://spatialreference.org

Please note that use of ESRI's free maps is subject to certain restrictions:
http://resources.esri.com/arcgisonlineservices/index.cfm?fa=content
-->

<map name="ESRI Imagery and Roads UTM" type="projected" version="2">
    
    <options>
        <!--Specify the profile to use since we want to reproject to UTM-->        
        <profile srs="+proj=utm +zone=17 +ellps=GRS80 +datum=NAD83 +units=m +no_defs" 
                 xmin="560725.500" ymin="4385762.500" 
                 xmax="573866.500" ymax="4400705.500"/>
                 
        <lighting>false</lighting>
    </options>

    <image name="ags-imagery" driver="arcgis">
        <url>http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer</url>

        <!--Specify a tile_size to reproject the imagery to -->
        <tile_size>512</tile_size>
        <nodata_image>http://server.arcgisonline.com/ArcGIS/rest/services/ESRI_Imagery_World_2D/MapServer/tile/100/0/0.jpeg</nodata_image>
    </image>
      
    <image name="ags-trans" driver="arcgis">
        <url>http://server.arcgisonline.com/ArcGIS/rest/services/Reference/ESRI_Transportation_World_2D/MapServer</url>

        <!--Specify a tile_size to reproject the imagery to -->
        <tile_size>512</tile_size>
    </image>

</map>
