17 double lat = 33.3,
lon = 44.4;
22 string zonestr = UTMUPS::EncodeZone(zone, northp);
23 cout << fixed << setprecision(2)
24 << zonestr <<
" " << x <<
" " << y <<
"\n";
28 string zonestr =
"38n";
31 UTMUPS::DecodeZone(zonestr, zone, northp);
32 double x = 444e3,
y = 3688e3;
34 UTMUPS::Reverse(zone, northp, x, y, lat, lon);
35 cout << lat <<
" " << lon <<
"\n";
38 catch (
const exception&
e) {
39 cerr <<
"Caught exception: " << e.what() <<
"\n";
Header for GeographicLib::UTMUPS class.
Namespace for GeographicLib.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x