kopia lustrzana https://github.com/OpenDroneMap/NodeODM
Update Task.js to get the tile path
rodzic
5cf8e65e56
commit
8219bb6df6
|
@ -204,6 +204,11 @@ module.exports = class Task{
|
|||
return path.join(this.getProjectFolderPath(), filename);
|
||||
}
|
||||
|
||||
//get the tile path
|
||||
getTilePath(z,x,y){
|
||||
return path.join(this.getProjectFolderPath(), "orthophoto_tiles",z,x,y+".png");
|
||||
}
|
||||
|
||||
// Deletes files and folders related to this task
|
||||
cleanup(cb){
|
||||
if (this.initialized) rmdir(this.getProjectFolderPath(), cb);
|
||||
|
|
Ładowanie…
Reference in New Issue