Skip to content

Commit

Permalink
Mapserver: fix automatic normalisation of layer bbox (invalid bbox mu…
Browse files Browse the repository at this point in the history
…st stay invalid)
  • Loading branch information
mhugent committed Aug 7, 2013
1 parent b166dea commit 82d6336
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/mapserver/qgsprojectparser.cpp
Expand Up @@ -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() )
{
Expand Down

0 comments on commit 82d6336

Please sign in to comment.