AIFDR/risk_in_a_box — Issue #45: Redo growing of raster clipping bbox to avoid interpolation issues
Author: uniomni
Created: 2012-01-23 04:25:37+00:00
State: open

Simple: Just use the old logic:

if (haz_metadata['layer_type'] == 'raster' and
exp_metadata['layer_type'] == 'vector'):
haz_res = haz_metadata['resolution']
haz_bbox = buffered_bounding_box(intersection_bbox, haz_res)
else:
haz_bbox = intersection_bbox