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>

相关文章:

  • 2021-09-08
  • 2021-10-27
  • 2022-12-23
  • 2021-03-27
  • 2022-12-23
  • 2021-05-03
  • 2021-08-15
  • 2022-12-23
猜你喜欢
  • 2021-10-11
  • 2021-04-19
  • 2021-11-05
  • 2022-01-07
  • 2022-12-23
  • 2022-12-23
  • 2021-12-18
相关资源
相似解决方案