为什么我用osggis生成矢量匹配地形的时候,lines参数就可以匹配,polygons就不行?
为什么我用osggis生成矢量匹配地形的时候,lines参数就可以匹配,polygons就不行,生成的是平面数据?矢量数据是polygon数据。 估计你没指定相应的匹配投影坐标系~~~~~~ 2# FlySky--terrain-srs已经指定过了,所以线数据可以匹配到地形上,但是面数据就匹配不上了。 可能是你的数据或者参数设置上出了问题~~~~~~~~~ 在osggis官网上找到了答案:
osggis_makelayer will clamp lines and points to the terrain, but polygons only get clamped at their points (the entire polygon area does not conform to terrain). Try extruding polygons with --extrude-height. Or, you can generate a flat geometry model from your polygons and then project it onto the terrain with osgSim::OverlayNode.
页:
[1]