added nrcan catalog
This commit is contained in:
parent
536a3fe414
commit
ee495bf41a
|
@ -163,6 +163,6 @@ class Geojson:
|
|||
for building in buildings:
|
||||
self._city.add_city_object(building)
|
||||
self._city.level_of_detail.geometry = lod
|
||||
if len(missing_functions > 0):
|
||||
if len(missing_functions) > 0:
|
||||
print(f'There are unknown functions {missing_functions}')
|
||||
return self._city
|
||||
|
|
|
@ -272,9 +272,6 @@ class TestConstructionFactory(TestCase):
|
|||
function_field='LIBELLE_UT',
|
||||
function_to_hub=Dictionaries().montreal_function_to_hub_function).city
|
||||
|
||||
for building in city.buildings:
|
||||
building.year_of_construction = 1980
|
||||
building.function = self._internal_function('pluto', building.function)
|
||||
ConstructionFactory('nrcan', city).enrich()
|
||||
|
||||
self._check_buildings(city)
|
||||
|
@ -288,8 +285,6 @@ class TestConstructionFactory(TestCase):
|
|||
self._check_thermal_openings(thermal_boundary)
|
||||
self._check_surfaces(thermal_boundary)
|
||||
|
||||
|
||||
|
||||
def test_archetype_not_found(self):
|
||||
file = 'pluto_building.gml'
|
||||
city = self._get_citygml(file)
|
||||
|
|
Loading…
Reference in New Issue
Block a user