码迷,mamicode.com
首页 > 其他好文 > 详细

osgEarth的agglite插件使用例子feature_rasterize.earth

时间:2017-08-16 17:28:16      阅读:312      评论:0      收藏:0      [点我收藏+]

标签:extern   mon   使用   read   pre   features   shape   blend   uil   

<!--
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>

 

osgEarth的agglite插件使用例子feature_rasterize.earth

标签:extern   mon   使用   read   pre   features   shape   blend   uil   

原文地址:http://www.cnblogs.com/coolbear/p/7373787.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!