Upload app.py
Browse files
app.py
CHANGED
|
@@ -288,6 +288,7 @@ with gr.Blocks(title="Flood Raster Downloader") as demo:
|
|
| 288 |
# HOTOSM Downloads
|
| 289 |
pp_path = download_hotosm_data(iso3, feature_type="populated_places", geometry="points")
|
| 290 |
roads_path = download_hotosm_data(iso3, feature_type="roads", geometry="lines")
|
|
|
|
| 291 |
|
| 292 |
# CKAN Downloads
|
| 293 |
pop_paths = download_resource_ckan(iso3, dataset_prefix="cod-ps")
|
|
@@ -300,6 +301,8 @@ with gr.Blocks(title="Flood Raster Downloader") as demo:
|
|
| 300 |
files.append(pp_path)
|
| 301 |
if roads_path:
|
| 302 |
files.append(roads_path)
|
|
|
|
|
|
|
| 303 |
if admin_path:
|
| 304 |
files.extend(admin_path)
|
| 305 |
if pop_paths:
|
|
|
|
| 288 |
# HOTOSM Downloads
|
| 289 |
pp_path = download_hotosm_data(iso3, feature_type="populated_places", geometry="points")
|
| 290 |
roads_path = download_hotosm_data(iso3, feature_type="roads", geometry="lines")
|
| 291 |
+
buildings_path = download_hotosm_data(iso3, feature_type="buildings", geometry="polygons")
|
| 292 |
|
| 293 |
# CKAN Downloads
|
| 294 |
pop_paths = download_resource_ckan(iso3, dataset_prefix="cod-ps")
|
|
|
|
| 301 |
files.append(pp_path)
|
| 302 |
if roads_path:
|
| 303 |
files.append(roads_path)
|
| 304 |
+
if buildings_path:
|
| 305 |
+
files.append(buildings_path)
|
| 306 |
if admin_path:
|
| 307 |
files.extend(admin_path)
|
| 308 |
if pop_paths:
|