Convert to CSV

If necessary, the target definition can be converted into an ordinary CSV coordinate list file for easier use in other applications.

Requirements

  • Target definition JSON file

Examples

Exporting coordinates
iman convert targets-csv -c pt -c e -c n -c h targets.json targets.csv

Usage

iman convert targets-csv

Convert target definition to CSV coordinate list.

The columns of the CSV can be defined by setting the column option multiple times. The output can show the name, easting, northing and height of each point, as well as the reflector type and height.

iman convert targets-csv [OPTIONS] INPUT OUTPUT

Options

-c, --column <columns>

Required Data column to output

Options:

pt | e | n | h | prism | ht

--header, --no-header

Write header row

-d, --delimiter <delimiter>

Column delimiter character

-p, --precision <precision>

Number of decimals to output

Arguments

INPUT

Required argument

Source file to convert

OUTPUT

Required argument

Target file to save result to