Closed daniviga closed 8 years ago
I think we have two distinct and inconsistent checks for "area too large" in the UI and the backend:
I suspect that the backend value of 100k is probably safer: users on a slow line will probably have trouble downloading the gridded data for 300k cells. Reassigning to Ben.
Thank you Paul. That's what I was suspecting. Perhaps we should define the threshold only once, in a shared file, to avoid this kind of inconsistency.
Personally I would like to have a setting in the local_settings.py. It shouldn't be a big deal.
I agree, we should have a single value and it should be configurable via local settings.
Using the Exposure export to download data from Greece and Portugal and maybe more gives an error.
How to reproduce:
Load data by region
You'll get a new web page wit this error:
You should get the possibility of drawing a box on the map to reduce the exported area instead (like Italy).
Thanks to @monellid for discovering the bug: https://groups.google.com/forum/#!topic/openquake-users/a4rlxtAYFIs