Introduce a max_distance in GeographicObjects.get_closest

Bug #1387606 reported by Michele Simionato
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Hazard Library
Fix Released
High
Michele Simionato

Bug Description

We need this functionality in hazardlib for OpenQuake Lite. In particular this is needed by the risk calculators: we need a way to associates assets to the closest site. If an asset is too far, however, it should not be associated.

Revision history for this message
Michele Simionato (michele-simionato) wrote :
Changed in oq-hazardlib:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Michele Simionato (michele-simionato)
Changed in oq-hazardlib:
milestone: none → 0.12
Changed in oq-hazardlib:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.