kopia lustrzana https://github.com/OpenDroneMap/ODM
Merge branch 'master' of https://github.com/OpenDroneMap/OpenDroneMap into osfm-update
commit
9f8f083375
|
@ -61,3 +61,4 @@ project_path: '/' #DO NOT CHANGE THIS OR DOCKER WILL NOT WORK. It should be '/'
|
|||
#orthophoto_bigtiff: IF_SAFER # Options are [YES, NO, IF_NEEDED, IF_SAFER]
|
||||
#build_overviews: FALSE
|
||||
#pc-classify: none
|
||||
#force_gps: False
|
||||
|
|
|
@ -574,6 +574,12 @@ def config():
|
|||
'Options: %(choices)s. Default: '
|
||||
'%(default)s'))
|
||||
|
||||
parser.add_argument('--force-gps',
|
||||
action='store_true',
|
||||
default=False,
|
||||
help=('Use images\' gps exif data for reconstruction, even if there are gcps present.'
|
||||
'This flag is useful if you have high precision gps measurements.'))
|
||||
|
||||
args = parser.parse_args()
|
||||
|
||||
# check that the project path setting has been set properly
|
||||
|
|
|
@ -133,7 +133,8 @@ class OSFMContext:
|
|||
|
||||
if gcp_path:
|
||||
config.append("bundle_use_gcp: yes")
|
||||
config.append("bundle_use_gps: no")
|
||||
if not args.force_gps:
|
||||
config.append("bundle_use_gps: no")
|
||||
io.copy(gcp_path, self.path("gcp_list.txt"))
|
||||
|
||||
config = config + append_config
|
||||
|
|
|
@ -61,3 +61,4 @@ project_path: '' # Example: '/home/user/ODMProjects'
|
|||
#orthophoto_bigtiff: IF_SAFER # Options are [YES, NO, IF_NEEDED, IF_SAFER]
|
||||
#build_overviews: FALSE
|
||||
#pc-classify: none
|
||||
#force_gps: False
|
||||
|
|
Ładowanie…
Reference in New Issue