Command line utility for geographic coordinate conversions. More...
#include <iostream>
#include <sstream>
#include <string>
#include <stdexcept>
#include <iomanip>
#include "GeographicLib/GeoCoords.hpp"
Go to the source code of this file.
Functions | |
int | usage (int retval) |
int | main (int argc, char *argv[]) |
Command line utility for geographic coordinate conversions.
Copyright (c) Charles Karney (2008) <charles@karney.com> http://charles.karney.info/geographic and licensed under the LGPL.
Compile with
g++ -g -O3 -I.. -o GeoConvert GeoConvert.cpp GeoCoords.cpp MGRS.cpp UTMUPS.cpp DMS.cpp Constants.cpp TransverseMercator.cpp PolarStereographic.cpp
See GeoConvert for usage information.
Definition in file GeoConvert.cpp.
int usage | ( | int | retval | ) |
Definition at line 23 of file GeoConvert.cpp.
Referenced by main().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 108 of file GeoConvert.cpp.
References usage(), GeographicLib::GeoCoords::Reset(), GeographicLib::GeoCoords::SetAltZone(), GeographicLib::GeoCoords::GeoRepresentation(), GeographicLib::GeoCoords::DMSRepresentation(), GeographicLib::GeoCoords::AltUTMUPSRepresentation(), GeographicLib::GeoCoords::AltMGRSRepresentation(), GeographicLib::GeoCoords::AltConvergence(), and GeographicLib::GeoCoords::AltScale().