查看: 2507|回复: 3

osgearth_cache使用问题

[复制链接]

该用户从未签到

发表于 2012-4-28 09:38:39 | 显示全部楼层 |阅读模式
未命名.JPG
编译osgearth_cache例子没有问题,但是在使用的时候不能切分瓦片,执行过程出现osgearth*【cacheFactory】 sorry,不知道是什么问题,请大牛看看有什么问题没有!
下面是earth文件内容
<!--
osgEarth Sample

Shows how to set up a simple map level cache
-->

<map name="My Map" type="geocentric" version="2">

  <options>
      <!--Specify a map level "tms" cache for all images and heightfields.-->
      <cache type="tms">
          <path>E:\cache_dir</path>
      </cache>
  </options>

  <!--Because the bluemarble image doesn't have a cache element of its own, it will inherit the map level cache-->
  <image name="bluemarble" driver="gdal">
     <url>c:\world.tif</url>      
  </image>
  
</map>
下面是dos命令
osgearth_cache -seed simple.earth
还有dos执行的图片

该用户从未签到

发表于 2012-4-28 13:33:57 | 显示全部楼层
帮顶了!

该用户从未签到

发表于 2012-5-9 12:02:53 | 显示全部楼层
人家已经提示你了,tms已经不支持了,用FileSystem替换就可以了

该用户从未签到

发表于 2013-7-11 10:48:22 | 显示全部楼层
楼主指教下怎么切瓦片呗!小弟刚刚入门不懂啊很拙计啊
您需要登录后才可以回帖 登录 | 注册

本版积分规则

OSG中国官方论坛-有您OSG在中国才更好

网站简介:osgChina是国内首个三维相关技术开源社区,旨在为国内更多的技术开发人员提供最前沿的技术资讯,为更多的三维从业者提供一个学习、交流的技术平台。

联系我们

  • 工作时间:09:00--18:00
  • 反馈邮箱:1315785073@qq.com
快速回复 返回顶部 返回列表