File: cli_parser.rst

package info (click to toggle)
totalopenstation 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,784 kB
  • sloc: python: 4,123; makefile: 84; xml: 50
file content (49 lines) | stat: -rw-r--r-- 1,479 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
.. _cli-parser:

=============================
Total Open Station CLI Parser
=============================

This is a command line application to convert raw data to common formats for
use in CAD or GIS environments.

Synopsis
========

totalopenstation-cli-parser [options]

Options
=======

  -h, --help            show this help message and exit
  -i FILE, --infile=FILE
                        select input FILE  (do not specify for stdin)
  -o FILE, --outfile=FILE
                        select output FILE (do not specify for stdout)
  -f FORMAT, --input-format=FORMAT
                        select input FORMAT
  --2d                  Exclude Z coordinates, output only 2D data
  -t FORMAT, --output-format=FORMAT
                        select input FORMAT
  -r, --raw             Enhanced parsed file process
  --overwrite           overwrite existing output file
  --list                list the available input and output formats

Using totalopenstation-cli-parser
---------------------------------

If no input file is specified, input is read from stdin.

Output goes to stdout by default, but it is recommended to use the -o option.

Raw parsing
-----------

The ``--raw`` option is useful when exporting to CSV for processing in
other programs, and will export all field records found in the raw data from
the total station. It only makes sense for certain input formats where the
original measurements are stored, namely:

- Leica GSI
- Nikon RAW
- Carlson RW5