The HeightAndFloorspaceRule should use the checks implemented in taxonomy-lib to validate building height information
Currently, we have a series of plausibility checks of the height parameter implemented in taxonomy-lib. These are partly repeated here in the HeightAndFloorspaceRule. These plausibility checks should be unified (Adding the maximum height and maximum stories checks to the rule) and, if possible, the rule should use taxonomy-lib to perform the plausibility checks. If this is not possible, these checks may be put into an independent module and be accessed by any rule and taxonomy-lib.
Maximum checks:
- Burj Khalifa: 828-meter-high, 163 floors above ground, 2 underground floors.
- Tianma Pit Hotel, Shanghai: maximum number of underground floor = 16.
Minimum checks:
- From taxonomy-lib, a building should be at least 2m high.
- Every building should at least have one story.
- A building can have no underground floor, the min_underground = 0.
Edited by Chengzhi Rao