diff --git a/Discovery/gpkg_utils.py b/Discovery/gpkg_utils.py index 0e08eba..b5883dc 100644 --- a/Discovery/gpkg_utils.py +++ b/Discovery/gpkg_utils.py @@ -50,7 +50,7 @@ def search_gpkg(search_text, search_field, echo_search_column, display_fields, e for f in it: feature_info = [] geom = f.geometry().asWkt() - epsg = layer.crs().authid().lstrip("EPSG:") # only the plain integer code is wanted later on + epsg = int(layer.crs().authid().lstrip("EPSG:")) # only the plain integer code is wanted later on feature_info.append(geom) feature_info.append(epsg) available_fields = [field.name() for field in f.fields()]