diff --git a/hub/imports/geometry/geojson.py b/hub/imports/geometry/geojson.py index a66ab7cf..29b8551e 100644 --- a/hub/imports/geometry/geojson.py +++ b/hub/imports/geometry/geojson.py @@ -121,7 +121,7 @@ class Geojson: year_of_construction = int(feature['properties'][self._year_of_construction_field]) function = None if self._function_field is not None: - function = feature['properties'][self._function_field] + function = str(feature['properties'][self._function_field]) if self._function_to_hub is not None: # use the transformation dictionary to retrieve the proper function if function in self._function_to_hub: