Skip to content
Permalink
Browse files
Mapserver: fix automatic normalisation of layer bbox (invalid bbox mu…
…st stay invalid)
  • Loading branch information
mhugent committed Aug 7, 2013
1 parent b166dea commit 82d6336570c7677ec4e9137b63826a43cc97b0ea
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/mapserver/qgsprojectparser.cpp
@@ -3101,7 +3101,10 @@ QgsRectangle QgsProjectParser::layerBoundingBoxInProjectCRS( const QDomElement&
return BBox;
}

BBox.set( minx, miny, maxx, maxy );
BBox.setXMinimum( minx );
BBox.setXMaximum( maxx );
BBox.setYMinimum( miny );
BBox.setYMaximum( maxy );

if ( version != "1.1.1" && layerCrs.axisInverted() )
{

0 comments on commit 82d6336

Please sign in to comment.