在FlatteningLayer文件的createHeightField函数中:使用的github在2017年1月份的代码 if (!geoms.getComponents().empty()) { osg::ref_ptr<osg::HeightField> hf = HeightFieldUtils::createReferenceHeightField( ex, , , // base tile size for elevation data 0u, // no border true)…
参考:http://docs.osgearth.org/en/latest/data.html Processing Local Source Data If you have geospatial data that you would like to view in osgEarth, you can usually use the GDAL driver. If you plan on doing this, try loading it as-is first. If you find…