1%\documentclass{article} 2%\usepackage{fancyvrb} 3%\usepackage{perltex} 4%\usepackage{xcolor} 5%\usepackage{listings} 6%\usepackage{longtable} 7%\usepackage{multirow} 8%\input{src/cmd} 9%\begin{document} 10 11\index{poscvt!application writeup} 12\section{\emph{poscvt}} 13\subsection{Overview} 14This application allows the user to convert among different coordinate systems on 15the command line. Coordinate systems handled include Cartesian, geocentric, and 16geodetic. 17 18\subsection{Usage} 19\subsubsection{\emph{poscvt}} 20\begin{\outputsize} 21\begin{longtable}{lll} 22%\multicolumn{3}{c}{\application{poscvt}} \\ 23\multicolumn{3}{l}{\textbf{Optional Arguments}} \\ 24\entry{Short Arg.}{Long Arg.}{Description}{1} 25\entry{-d}{--debug}{Increase debug level.}{1} 26\entry{-v}{--verbose}{Increase verbosity.}{1} 27\entry{-h}{--help}{Print help usage.}{1} 28\entry{}{--ecef=POSITION}{ECEF ``X Y Z'' in meters.}{1} 29\entry{}{--geodetic=POSITION}{Geodetic ``lat lon alt'' in deg, deg, meters.}{1} 30\entry{}{--geocentric=POSITION}{Geocentric ``lat lon radius'' in deg, deg, meters.}{1} 31\entry{}{--spherical=POSITION}{Spherical ``theta, pi, radius'' in deg, deg, meters.}{1} 32\entry{-l}{--list-formats}{List the available format codes for use by the input and output format options.}{2} 33\entry{-F}{--output-format=ARG}{Write the position with the given format.}{1} 34\end{longtable} 35\end{\outputsize} 36 37\subsection{Examples} 38\begin{\outputsize} 39\begin{verbatim} 40> poscvt --ecef="4345070.59253 45619878.26297 803.598856837" 41 42 ECEF (x,y,z) in meters 4345070.5925 45619878.2630 803.5989 43 Geodetic (llh) in deg, deg, m 0.00100566 84.55926933 39448197.4795 44 Geocentric (llr) in deg, deg, m 0.00100472 84.55926933 45826334.4795 45 Spherical (tpr) in deg, deg, m 89.99899528 84.55926933 45826334.4795 46 47\end{verbatim} 48\end{\outputsize} 49\subsection{Notes} 50If no options are given \application{poscvt} assumes XYZ 0 0 0. 51 52%\end{document} 53 54