snapconv - changing coordinate systems

snapconv converts SNAP coordinate files from one coordinate system to another. The syntax for snapconv is:

snapconv [options] input_file new_code output_file

where

input_file

is the name of the coordinate file to be converted

new_code

is the code for the coordinate system of the output file. This is one of the codes defined in the coordinate system definition file. This can include the code for a vertical datum defining the geoid height and deflections of the vertical (for example NZGD2000/NZVD2016). Note that if the coordinate file includes explicit geoid information then the coordinate system vertical datum has no effect.

output_file

is the name of the output file to be created

and options can be:

-y YYYY-MM-DD

Specify a coordinate conversion epoch for transformations that require it (eg NZGD2000 to ITRF2008)

-d

output latitude and longitude as decimal degrees

-h

output latitude and longitude as degrees, minutes, and seconds

-e

set the height coordinate type to ellipsoidal

-o

set the height coordinate type to orthometric

-p

keeps the orthometric height unchanged when the geoid height is changed. The default is to keep the 3 dimensional ellipsoidal location unchanged except when the coordinate file does not include geoid information (either from the coordinate system or explicitly) and the coordinate type is orthometric.

-q

quiet mode - even less output

snapconv will convert the coordinates and also the geoid information in the file (deflections and geoid height). The geoid information may also be changed by including or removing a height reference surface in the new coordinate system. Note that the snapgeoid program can be used for managing height information in the coordinate file.

See also:

SNAP station coordinate files

The snapgeoid program

Coordinate systems in SNAP