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 7ff0883 commit 009c0ea0495f8a0830d52c35a31735d7155bd6e9
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 009c0ea

Please sign in to comment.
You can’t perform that action at this time.