Skip to content

Commit e67a191

Browse files
committedOct 13, 2017
[server][bugfix] Fixes OGC tests on getmap bbox
1 parent d97a51b commit e67a191

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎src/server/services/wms/qgswmsparameters.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -875,6 +875,12 @@ namespace QgsWms
875875
}
876876
}
877877

878+
if ( d[0] > d[2] || d[1] > d[3] )
879+
{
880+
*error = true;
881+
return extent;
882+
}
883+
878884
extent = QgsRectangle( d[0], d[1], d[2], d[3] );
879885
}
880886
else

0 commit comments

Comments
 (0)
Please sign in to comment.