Closed GoogleCodeExporter closed 9 years ago
Sorry, typo on that first box
GeocellManager.bestBboxSearchCells(new BoundingBox(76.043611,64.576263,
-54.505934, 87.076263), null) = [4, 6, c, e]
Original comment by daniel.t...@gmail.com
on 13 Apr 2011 at 8:37
Fixed my side using this
List<String> cells = null;
Boolean antimeridian= bounds[1] > bounds[3];
if ( antimeridian )
{
cells = GeocellManager.bestBboxSearchCells(new BoundingBox(bounds[2], bounds[3], bounds[0], -180.0), null);
cells.addAll(GeocellManager.bestBboxSearchCells(new BoundingBox(bounds[2], 180.0, bounds[0], bounds[1]), null));
}
else
{
BoundingBox bb = new BoundingBox(bounds[2], bounds[3], bounds[0], bounds[1]);
cells = GeocellManager.bestBboxSearchCells(bb, null);
}
Original comment by daniel.t...@gmail.com
on 13 Apr 2011 at 10:38
Fixed on 0.0.6 version
Original comment by alexandr...@gmail.com
on 12 May 2011 at 7:52
Original comment by alexandr...@gmail.com
on 12 May 2011 at 7:52
Original issue reported on code.google.com by
daniel.t...@gmail.com
on 13 Apr 2011 at 8:15