File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -240,17 +240,6 @@ int expire_tiles_t::from_bbox(geom::box_t const &box,
240240{
241241 double const width = box.width ();
242242 double const height = box.height ();
243- if (width > tile_t ::HALF_EARTH_CIRCUMFERENCE + 1 ) {
244- /* Over half the planet's width within the bounding box - assume the
245- box crosses the international date line and split it into two boxes */
246- int ret = from_bbox ({-tile_t ::HALF_EARTH_CIRCUMFERENCE, box.min_y (),
247- box.min_x (), box.max_y ()},
248- expire_config);
249- ret += from_bbox ({box.max_x (), box.min_y (),
250- tile_t ::HALF_EARTH_CIRCUMFERENCE, box.max_y ()},
251- expire_config);
252- return ret;
253- }
254243
255244 if (expire_config.mode == expire_mode::hybrid &&
256245 (width > expire_config.full_area_limit ||
You can’t perform that action at this time.
0 commit comments