首页 > 其他 > 详细

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

时间:2017-08-16 16:40:27      阅读:366      评论:0      收藏:0      [点我收藏+]
<!--
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

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

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!