Convert to GSI¶
Sometimes it is necessary to use the target coordinates for further measurements. To simplify the process, the targets definition file can be converted into a Leica GSI8 or GSI16 file, which is a common exchange format for Leica instruments.
Requirements¶
Target definition JSON file
Examples¶
iman convert targets-gsi targets.json targets.gsi
iman convert targets-gsi --gsi16 --precision cmm targets.json targets.gsi
Usage¶
iman convert targets-gsi¶
Convert target definition to GSI coordinate format.
The program writes the point names and coordinates into a GSI measurement file. If the coordinates are known to be large, the format can be set to GSI16.
The output only supports meter unit, but the precision can be set as appropriate.
iman convert targets-gsi [OPTIONS] INPUT OUTPUT
Options
- -l, --gsi16¶
Export to GSI16 format (instead of GSI8)
- -p, --length-unit <length_unit>¶
Length unit and precision (millimeter, millifeet, decimillimeter, decimillifeet, centimillimeter)
- Options:¶
mm | mft | dmm | dmft | cmm
Arguments
- INPUT¶
Required argument
Source file to convert
- OUTPUT¶
Required argument
Target file to save result to