<!--
osgEarth Sample

This demonstrates the "agglite" feature rasterizing driver. It "drapes" vector data by
rasterizing it into image tiles.
-->

<map name="AGGLite Sample" type="geocentric" version="2">
  
    <options>
        <lighting>false</lighting>
    </options>
    
    <image name="world" driver="gdal">
        <url>../data/world.tif</url>
    </image>
    
    <image name="states" driver="agglite">
    
        <features name="states" driver="ogr">
            <url>../data/usa.shp</url>
            <ogr_driver>ESRI Shapefile</ogr_driver>
            <build_spatial_index>true</build_spatial_index>
        </features>
        
        <styles>            
            <style type="text/css">
                default {
                    fill: #ffffff;
                    fill-opacity: 0.5;
                }            
            </style>              
        </styles>
        
    </image>
    
    <image name="roads" driver="agglite" min_level="3">
    
        <features name="roads" driver="ogr">
            <url>../data/istates_dissolve.shp</url>
            <ogr_driver>ESRI Shapefile</ogr_driver>
            <build_spatial_index>true</build_spatial_index>
        </features>
        

        <styles>
            <style type="text/css">
                default {
                    stroke: #ff6666;
                    stroke-width: 0.75;
                    stroke-opacity: 1.0;
                }            
            </style>
        </styles>
        
    </image>
</map>
