kopia lustrzana https://github.com/OpenDroneMap/ODM
added option for zipping results
rodzic
d367d74786
commit
4f10772627
16
run.pl
16
run.pl
|
@ -105,6 +105,8 @@ sub parseArgs {
|
|||
|
||||
$args{"--odm_georeferencing-gcpFile"} = "gcp_list.txt";
|
||||
$args{"--odm_georeferencing-useGcp"} = "true";
|
||||
|
||||
$args{"--zip-results"} = "true";
|
||||
|
||||
for($i = 0; $i <= $#ARGV; $i++) {
|
||||
if($ARGV[$i] =~ /^--[^a-z\-]*/){
|
||||
|
@ -269,6 +271,13 @@ sub parseArgs {
|
|||
die "\n invalid parameter for \"".$ARGV[$i]."\": ".$ARGV[$i+1];
|
||||
}
|
||||
}
|
||||
if($ARGV[$i] eq "--zip-results"){
|
||||
if($ARGV[$i+1] eq "true" || $ARGV[$i+1] eq "false"){
|
||||
$args{$ARGV[$i]} = $ARGV[$i+1];
|
||||
} else {
|
||||
die "\n invalid parameter for \"".$ARGV[$i]."\": ".$ARGV[$i+1];
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -358,6 +367,10 @@ sub parseArgs {
|
|||
print "\n default: 1";
|
||||
print "\n Number of points per octree node, recommended value: 1.0";
|
||||
|
||||
print "\n --zip_results: <true|false>";
|
||||
print "\n default: true";
|
||||
print "\n Set to false if you do not want to have gunzipped tarball of the results.";
|
||||
|
||||
exit;
|
||||
}
|
||||
|
||||
|
@ -827,6 +840,9 @@ switch ($args{"--start-with"}) {
|
|||
case "odm_orthophoto" { odm_orthophoto(); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
print "\n";
|
||||
print "\n - done - "; now(); print "\n";
|
||||
print "\n";
|
||||
|
|
Ładowanie…
Reference in New Issue