Skip to content

Commit

Permalink
[server][bugfix] Fixes OGC tests on getmap bbox
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed Oct 13, 2017
1 parent d97a51b commit e67a191
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/server/services/wms/qgswmsparameters.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e67a191

Please sign in to comment.