Skip to content
Snippets Groups Projects

Resolve "Change the processing of the `stories` rule to a `height` GEM Taxonomy tag"

Compare and Show latest version
1 file
+ 4
1
Compare changes
  • Side-by-side
  • Inline
@@ -64,7 +64,10 @@ class HeightAndFloorspaceRule:
# If any of the number of stories and height_and_floorspace are found in OSM, these are
# returned.
if len(gem_taxonomy_height) > 0:
return {"height_and_floorspace": "+".join(gem_taxonomy_height), "floorspace": floorspace}
return {
"height_and_floorspace": "+".join(gem_taxonomy_height),
"floorspace": floorspace,
}
# If no information can be retrieved from OSM, we use the height_and_floorspace estimation from GHSL
# and do not estimate any floorspace.
Loading