-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
38cb675
commit 3a31290
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from dtcc_atlas.atlas import download_roadnetwork, download_footprints, download_laz | ||
from shapely import box | ||
|
||
# NOTE: The server is still under the process of scraping all the data. Currently the server contains only a small portion of the whole dataset. | ||
# That means that the area that the server can return is still minimal. | ||
|
||
|
||
# Create the initial bounding box to request the data | ||
bbox_gpkg = box(445646,7171055, 458746,7195055) | ||
bbox_laz = box(300000,6500000, 302500,6505000) | ||
|
||
# Downloads all missing Lidar files for the specified bounding box and updates/creates the lidar atlas | ||
|
||
download_laz(bbox_laz) | ||
|
||
# Downloads all missing GPKG files for footprints for the specified bounding box | ||
|
||
download_footprints(bbox_gpkg) | ||
|
||
# Downloads all missing Lidar files for roadnetwork for the specified bounding box | ||
|
||
download_roadnetwork(bbox_gpkg) | ||
|