performance debugs
This commit is contained in:
parent
4b3ce016b2
commit
b722125c3e
|
@ -237,10 +237,12 @@ class Geojson:
|
|||
self._city.level_of_detail.geometry = lod
|
||||
if lod == 1:
|
||||
start = datetime.datetime.now()
|
||||
lines_information = GeometryHelper.city_mapping(self._city)
|
||||
lines_information = GeometryHelper.city_mapping(self._city, plot=True)
|
||||
print(lines_information)
|
||||
print(f'mapping: {datetime.datetime.now() - start}')
|
||||
|
||||
# self._store_shared_percentage_to_walls(self._city, lines_information)
|
||||
start = datetime.datetime.now()
|
||||
self._store_shared_percentage_to_walls(self._city, lines_information)
|
||||
print(f'shared_walls: {datetime.datetime.now() - start}')
|
||||
if len(missing_functions) > 0:
|
||||
print(f'There are unknown functions {missing_functions}')
|
||||
return self._city
|
||||
|
|
Loading…
Reference in New Issue
Block a user