Skip to content
Permalink
Browse files
[BUGFIX][QGIS-Server] Don't failed when transform boundingbox
  • Loading branch information
rldhont committed Oct 21, 2016
1 parent aa5d359 commit 1fbca7eb78822eb06f1d5c89e60d4c0e0df40131
Showing with 9 additions and 1 deletion.
  1. +9 −1 src/server/qgsconfigparserutils.cpp
@@ -193,7 +193,15 @@ void QgsConfigParserUtils::appendLayerBoundingBox( QDomElement& layerElem, QDomD
if ( !layerExtent.isNull() )
{
QgsCoordinateTransform crsTransform( layerCRS, crs );
crsExtent = crsTransform.transformBoundingBox( layerExtent );
try
{
crsExtent = crsTransform.transformBoundingBox( layerExtent );
}
catch ( QgsCsException &cse )
{
Q_UNUSED( cse );
return;
}
}

//BoundingBox element

0 comments on commit 1fbca7e

Please sign in to comment.