|
osgEarth 2.1.1
|
Functions | |
| SpatialReference * | createEulerSRS () |
Variables | |
| CacheInitializer | s_cacheInitializer |
| SpatialReference* seamless::anonymous_namespace{Euler.cpp}::createEulerSRS | ( | ) |
Definition at line 960 of file Euler.cpp.
{
// root the cube srs with a WGS84 intermediate ellipsoid.
std::string init = "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs";
SpatialReference* result = 0;
GDAL_SCOPED_LOCK;
void* handle = OSRNewSpatialReference(0);
if ( OSRImportFromProj4( handle, init.c_str() ) == OGRERR_NONE )
{
result = new EulerSpatialReference( handle );
}
else
{
OE_WARN << "[osgEarth::SRS] Unable to create SRS: " << init << std::endl;
OSRDestroySpatialReference( handle );
}
return result;
}
Here is the caller graph for this function:| CacheInitializer seamless::anonymous_namespace{Euler.cpp}::s_cacheInitializer |
1.7.3