13 double lat = 33.3,
lon = 44.4;
19 c.
Reset(
"1d38'W 55d30'N");
22 catch (
const exception&
e) {
23 cerr <<
"Caught exception: " << e.what() <<
"\n";
Conversion between geographic coordinates.
Header for GeographicLib::GeoCoords class.
std::string MGRSRepresentation(int prec=0) const
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Math::real Longitude() const
std::string GeoRepresentation(int prec=0, bool longfirst=false) const
std::string DMSRepresentation(int prec=0, bool longfirst=false, char dmssep=char(0)) const
Math::real Latitude() const
void Reset(const std::string &s, bool centerp=true, bool longfirst=false)