Function `get_number_of_stories()` needs to translate the total height of the building (given as `HHT`) into number of stories if these are not given as `H`, `HBET` or `HEX`.
To be able to meaningfully include the height attribute from GHSL, we need to translate the height of a building into an approximate number of stories. This is a rather complex task and would require country-specific and likely region-specific knowledge about the difference in ceiling height per residential or commercial units. At this point, I suggest to take a global average value of ceiling height as the detailed information is not available.
This average value should be implemented in the get_number_of_stories()
function that can then translate building heights given as HHT
tags into numbers of stories.
Edited by Danijel Schorlemmer