zoukankan      html  css  js  c++  java
  • osgearth使用prjected投影

    In projected mode, you have to specify a map profile (i.e. a map projection). You also need to tell osgEarth the spatial reference of your feature data if it differs from that of the map. 
    For example: 
    <map name="demo" type="projected" version="2">
            <options>
                    <profile>global-mercator</profile>
            </options>
            <image name="world" driver="gdal">
                    <url>../data/world.tif</url>
            </image>

       <elevation driver="tms" name="ReadyMap.org-Elevation">

                    <url>../data/elevation/tms.xml</url>

            </elevation>
            <model name="polygon" driver="feature_geom" overlay="true">
                    <features name="data" driver="ogr">
                            <geometry>
                                    POLYGON((-74.096 40.332, -74.096 42.386, -70.988 42.386, -70.988 40.332)) 
                            </geometry>
                            <profile srs="wgs84"/>
                    </features>
            </model>
    </map>

  • 相关阅读:
    Longest Palindromic Substring问题
    twosum问题
    longest substring问题
    特殊的ARP
    【转】人肉搜索技巧
    ARP攻击
    Linux kali安装及常用命令收集
    【转】ICMP协议
    SpringBoot集成Mybatis-XML方式通用Mapper
    springMVC的controller中insert()多次,记优惠券被多次领取
  • 原文地址:https://www.cnblogs.com/coolbear/p/4018570.html
Copyright © 2011-2022 走看看