if ( result->isGeographic() && v.result->getEllipsoidModel() != NULL )
{
result = createGeocentricSRS( result );
}
为:
if ( result != NULL )
{
if ( result->isGeographic() && v.result->getEllipsoidModel() != NULL )
{
result = createGeocentricSRS( result );
}
}
else
{
if ( v.result->getEllipsoidModel() != NULL )
{
result = createGeocentricSRS( result );
}
}