Make the region_constraint optional

Bug #1214936 reported by matley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenQuake Engine
Fix Released
High
Michele Simionato

Bug Description

The region_constraint parameter in a risk calculation should be made optional as usually people provide already filtered exposure models. If not given, then the risk calculation should consider all the assets considered by the exposure model.

Revision history for this message
matley (matley) wrote :

Mind that also oq-engine-server should be updated as it is using the region_constraint to get the exposure extent. Instead a query using a proper St_xxxx SQL function should be used to derive the convex hull which covers the whole exposure.

Changed in oq-engine:
assignee: nobody → Michele Simionato (michele-simionato)
summary: - Make region_constraint optional
+ See https://github.com/gem/oq-engine/issues/1864
Changed in oq-engine:
status: New → Triaged
Changed in oq-engine:
status: Triaged → Fix Released
summary: - See https://github.com/gem/oq-engine/issues/1864
+ Make the region_constraint optional
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.