[server][bugfix] Fixes OGC tests on getmap bbox

This commit is contained in:
Blottiere Paul 2017-10-13 08:33:03 +01:00
parent d97a51b532
commit e67a191f16

View File

@ -875,6 +875,12 @@ namespace QgsWms
}
}
if ( d[0] > d[2] || d[1] > d[3] )
{
*error = true;
return extent;
}
extent = QgsRectangle( d[0], d[1], d[2], d[3] );
}
else