forked from s_ranjbar/city_retrofit
erased not needed max_location_distance_for_shared_walls in configuration
This commit is contained in:
parent
78f3921447
commit
6bbc300730
|
@ -1,6 +1,5 @@
|
|||
# These values are intended as configurable assumptions
|
||||
[buildings]
|
||||
max_location_distance_for_shared_walls = 5.0
|
||||
min_coordinate = -1.7976931348623157e+308
|
||||
max_coordinate = 1.7976931348623157e+308
|
||||
comnet_lighting_latent = 0
|
||||
|
|
|
@ -17,14 +17,6 @@ class ConfigurationHelper:
|
|||
self._config = configparser.ConfigParser()
|
||||
self._config.read(config_file)
|
||||
|
||||
@property
|
||||
def max_location_distance_for_shared_walls(self) -> float:
|
||||
"""
|
||||
Get configured maximal distance between attributes to consider that they may share walls in meters
|
||||
:return: 5.0
|
||||
"""
|
||||
return self._config.getfloat('buildings', 'max_location_distance_for_shared_walls')
|
||||
|
||||
@property
|
||||
def min_coordinate(self) -> float:
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user