Skip to content

Commit

Permalink
Update heuristics and test result.
Browse files Browse the repository at this point in the history
  • Loading branch information
rhattersley committed Nov 6, 2014
1 parent b209a6e commit f75a5d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cartopy/io/ogc_clients.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ def fetch_raster(self, projection, extent, target_resolution):
if fudge_mode:
# If we shrunk the request area before, then here we
# need to re-inflate.
radius = min(max_x - min_x, max_y - min_y) / 20.0
radius = min(radius, wms_proj.threshold * 5)
radius = min(max_x - min_x, max_y - min_y) / 5.0
radius = min(radius, wms_proj.threshold * 15)
wms_poly = wms_poly.buffer(radius, resolution=1)
min_x, min_y, max_x, max_y = wms_poly.bounds
wms_extents.append((min_x, max_x, min_y, max_y))
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f75a5d6

Please sign in to comment.