From 4657acde9cdb2a31b11d4ad4e9446b6b91f4eb19 Mon Sep 17 00:00:00 2001 From: Lubomir Dolezal Date: Wed, 24 Jul 2024 15:07:30 +0200 Subject: [PATCH] fix type --- src/eodash_catalog/endpoints.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eodash_catalog/endpoints.py b/src/eodash_catalog/endpoints.py index 2b7f7fa..e07cd86 100644 --- a/src/eodash_catalog/endpoints.py +++ b/src/eodash_catalog/endpoints.py @@ -677,7 +677,7 @@ def add_visualization_info( vmin = endpoint_config["Rescale"][0] vmax = endpoint_config["Rescale"][1] # depending on numerical input only - data_projection = endpoint_config.get("DataProjection", 3857) + data_projection = str(endpoint_config.get("DataProjection", 3857)) epsg_prefix = "" if "EPSG:" in data_projection else "EPSG:" crs = f"{epsg_prefix}{data_projection}" target_url = (