The coordinate_file command

coordinate_file coord_file_name

coordinate_file coord_file_name csv csv_options

add_coordinate_file add_options from coord_file_name

add_coordinate_file add_options from coord_file_name csv csv_options

The coordinate_file command defines the name of the station coordinate file. At least one coordinate file must be specified. The first coordinate file is the primary coordinate file. It defines the coordinate system used in the adjustment. Also it defines name of the output coordinate file unless the output_coordinate_file command is used.

The add_coordinate_file command adds additonal information from a coordinate file. This can be used to update coordinates and station classifications read from the station , or to add new stations to the adjustment.

The station file may be either a SNAP format file, or a CSV delimited text file. For CSV format files the coordinate_file command can also include one or more CSV options entered as

option=value

The "format=dtf_file" CSV option defines the format definition file that defines the layout of coordinate information in the CSV file. The default format is "stn". Any other CSV options are specific to the selected format definition.

In the add_coordinate_file command add_options can include

coordinates

Updates the coordinate of marks.

classes

Updates station classifications (including coordinate order) which may include adding new classifications

existing_classes

Updates station classifications (including coordinate order) but does not add new classifications

stations

Adds stations not already in the adjustment. This is equivalent to an additional coordinate_file command

epoch date

Specifies a coordinate system epoch for coordinate conversions if required. The date format can by any used by SNAP, for example decimal years, YYYYMMDD, or YYYY/MM/DD.

See also:

The station coordinate file

CSV format definition files

Command file syntax

Alphabetical list of commands

Summary of commands by function