zoukankan      html  css  js  c++  java
  • osgEarth的agglite插件使用例子feature_rasterize.earth

    <!--
    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-  1px;
                    }
                </style>
            </styles>
            
            <cache_policy usage="no_cache"/>
            
        </image>
      
    </map>
  • 相关阅读:
    算法图解
    Cairo graphics tutorial
    远程对象调用
    异步和多线程的关系
    jQuery调用api
    GTK# tutorial
    DLT
    protobuf入门笔记
    PDO讲解
    数据库练习——分页查询
  • 原文地址:https://www.cnblogs.com/coolbear/p/7373787.html
Copyright © 2011-2022 走看看