diff --git a/app/migrations/0006_task_available_assets.py b/app/migrations/0006_task_available_assets.py index 0be61a86..fa95c40a 100644 --- a/app/migrations/0006_task_available_assets.py +++ b/app/migrations/0006_task_available_assets.py @@ -12,6 +12,7 @@ ASSETS_MAP = { 'all.zip': 'all.zip', 'orthophoto.tif': os.path.join('odm_orthophoto', 'odm_orthophoto.tif'), 'orthophoto.png': os.path.join('odm_orthophoto', 'odm_orthophoto.png'), + 'orthophoto.mbtiles': os.path.join('odm_orthophoto', 'odm_orthophoto.mbtiles'), 'georeferenced_model.las': os.path.join('odm_georeferencing', 'odm_georeferenced_model.las'), 'georeferenced_model.laz': os.path.join('odm_georeferencing', 'odm_georeferenced_model.laz'), 'georeferenced_model.ply': os.path.join('odm_georeferencing', 'odm_georeferenced_model.ply'), diff --git a/app/models/task.py b/app/models/task.py index ed2edc44..957291d2 100644 --- a/app/models/task.py +++ b/app/models/task.py @@ -114,6 +114,7 @@ class Task(models.Model): 'all.zip': 'all.zip', 'orthophoto.tif': os.path.join('odm_orthophoto', 'odm_orthophoto.tif'), 'orthophoto.png': os.path.join('odm_orthophoto', 'odm_orthophoto.png'), + 'orthophoto.mbtiles': os.path.join('odm_orthophoto', 'odm_orthophoto.mbtiles'), 'georeferenced_model.las': os.path.join('odm_georeferencing', 'odm_georeferenced_model.las'), 'georeferenced_model.laz': os.path.join('odm_georeferencing', 'odm_georeferenced_model.laz'), 'georeferenced_model.ply': os.path.join('odm_georeferencing', 'odm_georeferenced_model.ply'), diff --git a/app/static/app/js/classes/AssetDownloads.js b/app/static/app/js/classes/AssetDownloads.js index 9f1f1a37..855b230c 100644 --- a/app/static/app/js/classes/AssetDownloads.js +++ b/app/static/app/js/classes/AssetDownloads.js @@ -33,6 +33,7 @@ const api = { return [ new AssetDownload("Orthophoto (GeoTIFF)","orthophoto.tif","fa fa-map-o"), new AssetDownload("Orthophoto (PNG)","orthophoto.png","fa fa-picture-o"), + new AssetDownload("Orthophoto (MBTiles)","orthophoto.mbtiles","fa fa-picture-o"), new AssetDownload("Terrain Model (GeoTIFF)","dtm.tif","fa fa-area-chart"), new AssetDownload("Surface Model (GeoTIFF)","dsm.tif","fa fa-area-chart"), new AssetDownload("Point Cloud (LAS)","georeferenced_model.las","fa fa-cube"), diff --git a/slate/source/includes/reference/_task.md b/slate/source/includes/reference/_task.md index a8ece286..148be960 100644 --- a/slate/source/includes/reference/_task.md +++ b/slate/source/includes/reference/_task.md @@ -121,6 +121,7 @@ Asset | Description all.zip | Archive (.zip) containing all assets, including an orthophoto, TMS tiles, a textured 3D model and point cloud in various formats. orthophoto.tif | GeoTIFF orthophoto. orthophoto.png | PNG orthophoto. +orthophoto.mbtiles | Orthophoto MBTiles archive. textured_model.zip | Archive containing the textured 3D model georeferenced_model.las | Point cloud in .LAS format. georeferenced_model.ply | Point cloud in .PLY format.