目标:(三十六)中的问题102
osgEarth::Profile关注空间范围、初始LOD数目等信息。GeoExtent中有SpatialReference信息,因此通过Profile能获取到SpatialReference信息。每一个高程、影像层都有自己的Profile。
osgEarth/Profile
class OSGEARTH_EXPORT Profile : public osg::Referenced
{
GeoExtent _extent;
GeoExtent _latlong_extent;
unsigned _numTilesWideAtLod0;
unsigned _numTilesHighAtLod0;
std::string _fullSignature;
std::string _horizSignature;
}
osgEarth::SpatialReference关注投影方式、椭球体等信息
osgEarth/SpatialReference
class OSGEARTH_EXPORT SpatialReference : public osg::Referenced
{
bool _initialized;
void* _handle;
bool _owns_handle;
bool _is_geographic;
bool _is_mercator;
bool _is_spherical_mercator;
bool _is_north_polar, _is_south_polar;
bool _is_cube;
bool _is_contiguous;
bool _is_user_defined;
bool _is_ltp;
bool _is_plate_carre;
bool _is_ecef;
unsigned _ellipsoidId;
std::string _name;
Key _key;
std::string _wkt;
std::string _proj4;
std::string _init_type;
std::string _datum;
Units _units;
osg::ref_ptr<osg::EllipsoidModel> _ellipsoid;
osg::ref_ptr<SpatialRef

本文深入探讨osgEarth中的osgEarth::SpatialReference和osgEarth::Profile的关系。内容涉及Profile的关注点如空间范围、LOD,以及SpatialReference的投影方式、椭球体信息。同时列出一系列关于osgEarth引擎内部机制的问题,包括地理信息引擎节点创建、地形变形、瓦片管理、多线程、缓存等主题。
最低0.47元/天 解锁文章
949





