mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
parent
78a1aa9774
commit
642ac618a7
@ -2637,7 +2637,15 @@ bool QgsWFSProvider::getCapabilities()
|
||||
QgsDebugMsgLevel( "dst:" + mShared->mSourceCrs.authid(), 4 );
|
||||
|
||||
ct.setBallparkTransformsAreAppropriate( true );
|
||||
mShared->mCapabilityExtent = ct.transformBoundingBox( r, Qgis::TransformDirection::Forward );
|
||||
try
|
||||
{
|
||||
mShared->mCapabilityExtent = ct.transformBoundingBox( r, Qgis::TransformDirection::Forward );
|
||||
}
|
||||
catch ( QgsCsException &e )
|
||||
{
|
||||
QgsDebugError( QStringLiteral( "Error transforming layer extent: %1" ).arg( e.what() ) );
|
||||
mShared->mCapabilityExtent = r;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user