kopia lustrzana https://github.com/OpenDroneMap/NodeODM
commit
48cf7f01b2
|
@ -1,4 +1,4 @@
|
||||||
= node-opendronemap
|
= NodeODM
|
||||||
|
|
||||||
|
|
||||||
[[_overview]]
|
[[_overview]]
|
||||||
|
@ -8,7 +8,7 @@ REST API to access ODM
|
||||||
|
|
||||||
=== Version information
|
=== Version information
|
||||||
[%hardbreaks]
|
[%hardbreaks]
|
||||||
_Version_ : 1.5.2
|
_Version_ : 1.5.3
|
||||||
|
|
||||||
|
|
||||||
=== Contact information
|
=== Contact information
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -341,7 +341,8 @@ module.exports = class Task{
|
||||||
let allPaths = ['odm_orthophoto/odm_orthophoto.tif', 'odm_orthophoto/odm_orthophoto.mbtiles',
|
let allPaths = ['odm_orthophoto/odm_orthophoto.tif', 'odm_orthophoto/odm_orthophoto.mbtiles',
|
||||||
'odm_georeferencing', 'odm_texturing',
|
'odm_georeferencing', 'odm_texturing',
|
||||||
'odm_dem/dsm.tif', 'odm_dem/dtm.tif', 'dsm_tiles', 'dtm_tiles',
|
'odm_dem/dsm.tif', 'odm_dem/dtm.tif', 'dsm_tiles', 'dtm_tiles',
|
||||||
'orthophoto_tiles', 'potree_pointcloud', 'entwine_pointcloud', 'images.json'];
|
'orthophoto_tiles', 'potree_pointcloud', 'entwine_pointcloud',
|
||||||
|
'images.json', 'cameras.json'];
|
||||||
|
|
||||||
// Did the user request different outputs than the default?
|
// Did the user request different outputs than the default?
|
||||||
if (this.outputs.length > 0) allPaths = this.outputs;
|
if (this.outputs.length > 0) allPaths = this.outputs;
|
||||||
|
|
|
@ -222,6 +222,18 @@ module.exports = {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
regex: /^(json)$/,
|
||||||
|
validate: function(matches, value){
|
||||||
|
try{
|
||||||
|
if (typeof value !== 'string') return false;
|
||||||
|
JSON.parse(value);
|
||||||
|
return true;
|
||||||
|
}catch(e){
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
regex: /^(string|path)$/,
|
regex: /^(string|path)$/,
|
||||||
validate: function(){
|
validate: function(){
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "NodeODM",
|
"name": "NodeODM",
|
||||||
"version": "1.5.2",
|
"version": "1.5.3",
|
||||||
"description": "REST API to access ODM",
|
"description": "REST API to access ODM",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
||||||
|
{"dji fc300s 4000 2250 perspective 0.5555": {"k2": 0.016, "projection_type": "perspective", "k1": 0.006, "height": 2250, "width": 4000, "focal": 0.5616905969087824}}
|
Ładowanie…
Reference in New Issue