Skip to content
Snippets Groups Projects

Resolve "[Hotfix]: building information rule retrieves too many attributes"

1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -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};
Loading