From 73e4031dda7fc9f786cb5be0e660dbc66940d9c5 Mon Sep 17 00:00:00 2001 From: Laurens <laurens@gfz-potsdam.de> Date: Thu, 28 Sep 2023 16:22:29 +0200 Subject: [PATCH] Hotfix: remove retrieval of OSM ID from POI SQL statement --- .../obm_buildings_information/obm_buildings_information.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/building/01_select/obm_buildings_information/obm_buildings_information.py b/building/01_select/obm_buildings_information/obm_buildings_information.py index 1937757..d1499c9 100644 --- a/building/01_select/obm_buildings_information/obm_buildings_information.py +++ b/building/01_select/obm_buildings_information/obm_buildings_information.py @@ -68,7 +68,7 @@ class ObmBuildingsInformation: # Get the attributes of the POIs inside the building sql_statement = f""" - SELECT os.key, os.type, obp.osm_id + SELECT os.key, os.type FROM osm_building_polygons AS obp INNER JOIN osm_spots AS os ON ST_Intersects(obp.geometry, os.geometry) WHERE obp.osm_id = {key}; -- GitLab