The parameters needed to run this are below:
-pf : Project file path which will be created. OneButton creates all the needed folders and files. Only the path name (without spaces) is needed.
-pt : Project type ("Agriculture", "Urban Mapping", Mining, "Construction&Engineering", "Utility", "Forrestry", "Close-In Inspection", or custom template name as seen in drop down list )
-if : Image folder (path to the folder where images are stored)
-gps : Gps file path. Gps file should be text file containing image data in the format image_name,lon,lat,alt,omega,phi,kappa,orientation (omega,phi,kappa,orientation optional)
-fl : Focal length in mm
-px : Pixel size in mm
-mxe : Maximum ground elevation above sea level in meters
-mne : Minimum ground elevation above sea level in meters
For example, to create a project
- Project file to be created: D:\OneButton\projects\Stanford.smp
- Image folder at D:\Projects\Stanford\Images
- Gps file at D:\Projects\Stanford\Gps\input.txt
- Focal length 4.3mm
- Pixel size 0.00465mm
- Min elevation 24m
- Max elevation 48m
- Project type: Urban Mapping
-e : Exit program after process ends
-s : Skip Summit exporting - use this to avoid duplication of your output data
-r : Run after project load/create
OneButton.exe –pf “D:\OneButton\projects\Stanford.smp” –pt “Urban Mapping” –if “D:\Projects\Stanford\Images” –gps “D:\Projects\Stanford\Gps\input.txt” –fl 4.3 –px 0.00465 –mne 24 –mxe 48 –r -s –e
This command will create a project, run it and exit after run.
The input gps file needs to be as follows: image_name,lon,lat,alt,omega,phi,kappa,orientation.
Note: omega,phi,kappa and orientation columns are optional.
Delimiter for this file can be tab, space or comma.
To run a project (D:\OneButton\Projects\Reno_Turf.smp ) that already exists:
OneButton.exe “D:\OneButton\Projects\Reno_Turf.smp” –r –s –e