Merge pull request #1190 from pierotofy/3dtiles

Add support for downloading 3D tiles outputs
pull/1193/head
Piero Toffanin 2022-05-30 14:44:30 -04:00 zatwierdzone przez GitHub
commit b4caf44895
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
3 zmienionych plików z 11 dodań i 1 usunięć

Wyświetl plik

@ -186,6 +186,14 @@ class Task(models.Model):
'deferred_path': 'textured_model.zip',
'deferred_compress_dir': 'odm_texturing'
},
'3d_tiles_model.zip': {
'deferred_path': '3d_tiles_model.zip',
'deferred_compress_dir': os.path.join('3d_tiles', 'model')
},
'3d_tiles_pointcloud.zip': {
'deferred_path': '3d_tiles_pointcloud.zip',
'deferred_compress_dir': os.path.join('3d_tiles', 'pointcloud')
},
'dtm.tif': os.path.join('odm_dem', 'dtm.tif'),
'dsm.tif': os.path.join('odm_dem', 'dsm.tif'),
'dtm_tiles.zip': {

Wyświetl plik

@ -51,7 +51,9 @@ const api = {
new AssetDownload(_("Surface Model"),"dsm.tif","fa fa-chart-area", tiffExportFormats, elevationExportParams),
new AssetDownload(_("Surface Model (Tiles)"),"dsm_tiles.zip","fa fa-table"),
new AssetDownload(_("Point Cloud"),"georeferenced_model.laz","fa fa-cube", ["laz", "las", "ply", "csv"]),
new AssetDownload(_("Point Cloud (3D Tiles)"),"3d_tiles_pointcloud.zip","fa fa-cube"),
new AssetDownload(_("Textured Model"),"textured_model.zip","fab fa-connectdevelop"),
new AssetDownload(_("Textured Model (3D Tiles)"),"3d_tiles_model.zip","fab fa-connectdevelop"),
new AssetDownload(_("Camera Parameters"),"cameras.json","fa fa-camera"),
new AssetDownload(_("Camera Shots"),"shots.geojson","fa fa-camera"),
new AssetDownload(_("Ground Control Points"),"ground_control_points.geojson","far fa-dot-circle"),

@ -1 +1 @@
Subproject commit dc32c0a232e78fd5ba0ffa0d3837b50679b0a66b
Subproject commit 1ba438e80f5a36fe183f3cb33e13821f9915cdb4