osg
virtualplanetbuilder 最后版本 0.9.12 freesouth
osg版本 稳定版本3.4.0 在研版本 3.5.1
osgdem 命令
-t是纹理,你可以指定多个纹理,当指定多个纹理是后台osgTerrain::DataSet会根据纹理坐标进行拼接。
http://www.osgchina.org/index.php?option=com_content&view=article&id=129:osgdems&catid=100&Itemid=489
Usage of VPB source file
把osgdem的命令信息输入到source文件中,这样可以可视化编辑,避免敲着不方便。
// Create the build.source file
osgdem --bluemarble-west -t ../land_shallow_topo_west.tif \
--bluemarble-east -t ../land_shallow_topo_east.tif \
--geocentric \
-o earth/earth.ive \
--so build.source
// run the build
osgdem -s build.source
// have a look at the file - it's just an extended form of a .osg file
cat build.source
// override the number of levels
osgdem -s build.source -l 4
// run build adding your extra imagery
osgdem -s build.source -t MyOrthoImage.tif
坐标系统
WKT 坐标系统定义清晰,应用广泛,但是字符串太复杂,人类难以自己手写。而PROJ4就方便多了……,不管如何,拿到的影像和高程尽量是已经有坐标系统的,如果没有坐标系统就需要使用GlobalMapper或者Erdas进行校正,可以上网查一下相关教程。最终osgdem都是使用GDAL处理的。如果非要手工指定,可以使用--cs来指定。下面是例子。
2024

被折叠的 条评论
为什么被折叠?



