Skip to content

Commit

Permalink
Atlas demo
Browse files Browse the repository at this point in the history
  • Loading branch information
themis1234 committed Sep 11, 2024
1 parent 38cb675 commit 3a31290
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions demos/atlas_demo.py
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)

0 comments on commit 3a31290

Please sign in to comment.