Handling of non-valid height tags during the filtering of assets
Buildings with the height tag HHT:0.50
cause Finalizer to crash during the filtering of assets. In this procedure, a Taxonomy
object is created with the height tag of the building. The function is_valid_height_tag()
returns False
for this tag because building heights must be at least 2m. This subsequently raises an exception during the constructor.
Therefore, in the filter_assets()
function, the code needs to catch such an exception and consider the height tag invalid and keep filtering the assets assuming that the building does not carry a height tag.