David FORT ff92a12ceb Fix a bug in region_union_rect()
When region_union_rect() was called with a rect that was above the region without
intersecting it, the first band was created too large. This patch fixes this and
add a unitary test.

All credits go to @nfedera that:
* found the bug;
* find a dataset to reproduce;
* code the unitary test;
* spotted a suspicious line that was the faulty one.
2015-09-30 21:14:43 +02:00
..
2015-09-30 21:14:43 +02:00
2014-09-15 19:51:17 +02:00
2015-05-11 09:07:39 +02:00
2015-04-08 11:34:37 +02:00
2015-05-11 09:07:39 +02:00
2015-03-30 17:15:45 +02:00
2014-09-23 20:00:26 -04:00
2015-09-30 21:14:43 +02:00
2015-03-25 17:38:21 +01:00
2013-12-04 11:44:22 +01:00
2015-05-26 16:41:29 +02:00
2015-06-22 19:21:47 +02:00