Commit ba394e85 authored by Danijel Schorlemmer's avatar Danijel Schorlemmer
Browse files

Added the OSM Id of the buildings to the Building table to be included in the exposure data

parent 9340c9ac
Pipeline #21471 passed with stage
in 1 minute and 56 seconds
......@@ -270,7 +270,13 @@ class CoquimboDatabase(Database):
sql_statement = "INSERT INTO Building "
sql_statement += "(id, location_id, quadkey, geom, centroid) "
sql_statement += "VALUES (%d, %d, %s, %s, %s)" % (osm_id, location_id, quadkey, geom, centroid)
sql_statement += "VALUES (%d, %d, %s, %s, %s)" % (
osm_id,
location_id,
quadkey,
geom,
centroid,
)
self.cursor.execute(sql_statement)
return self.cursor.lastrowid
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment