<!--
osgEarth Sample
Demonstrates use of the "agglite" feature rasterization driver.
-->

<map name="Geometry Rasterizer Demo" type="round" version="2">

    <external>
        <lod_blending/>
    </external>

    <image name="world" driver="gdal">
        <url>../data/world.tif</url>
        <cache_policy usage="no_cache"/>
    </image>
    
    <image name="world_boundaries" driver="agglite" opacity="0.5">

        <!-- Configure the OGR feature driver to read the shapefile. -->
        <features name="world" driver="ogr">
            <url>../data/world.shp</url>
            <build_spatial_index>true</build_spatial_index>
        </features>
        
        <styles>        
            <style type="text/css">
                default {
                    fill:          #ff7700;
                    stroke:           #ffff00;
                    stroke-width:  1px;
                }
            </style>
        </styles>
        
        <cache_policy usage="no_cache"/>
        
    </image>
  
</map>

 

相关文章:

  • 2022-12-23
  • 2021-04-30
  • 2022-12-23
  • 2021-09-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-21
  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案