|
大家好,我用tests中的例子ocean.earth先生成缓存为何总是写不进去,可能问题有哪些,请指点一下,
例子ocean.earth文件,
<!--
osgEarth Sample - ReadyMap.ORG Server - http://readymap.org
ReadyMap.ORG provides free global base map data for osgEarth developers!
This tiled, worldwide dataset of imagery, elevation, and street map data
is a great base map that provides global context for your own local datasets.
It works "out of the box" with osgEarth applications.
**** NOTICE ****
YOU ARE RESPONSIBLE for abiding by the TERMS AND CONDITIONS outlined at:
http://readymap.org
-->
<map name="readymap.org" type="geocentric" version="2">
<image name="ReadyMap.org - Imagery" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/7/</url>
</image>
<image name="ReadyMap.org - Street Map" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/35/</url>
</image>
<elevation name="ReadyMap.org - Elevation" driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/9/</url>
</elevation>
<options>
<terrain>
<lighting>false</lighting>
<sample_ratio>0.125</sample_ratio>
</terrain>
<cache driver="filesystem">
<path>osgearth_cache</path>
</cache>
</options>
<external>
<sky/>
<!-- Ocean parameters. -->
<ocean>
<!-- Surface texture to use -->
<texture_url>../data/watersurface1.png</texture_url>
<!-- Masking layer to use (optional...without a masking layer, osgEarth will sample the
terrain elevation data to determine where the ocean is.
<mask_layer driver="tms">
<url>http://readymap.org/readymap/tiles/1.0.0/2/</url>
</mask_layer>
-->
<!-- surface color (before texturing) -->
<base_color>#334f7fbf</base_color>
</ocean>
<viewpoint name="Los Angeles" heading="35.27" height="97.48" lat="34.051" long="-117.974" pitch="-17" range="136405"/>
</external>
</map>
现象如下:
|
-
|