### ----------------------------------------------------
### -- Geo::Ellipsoid
### -- Licenses: Artistic-2.0
### -- Authors: Tom Browder <tbrowder@acm.org> (translator Perl 5 to Raku, current maintainer), Jim Gibson (CPAN Perl 5 author, v1.12)
### -- File: t/07-location.t
### ----------------------------------------------------
### -- Chunk 2 of 3
e1.location(51.523602,137.628739,5934.070688,-4204.718518);
($lat2, $lon2) = $e2.location(51.523602,137.628739,5934.070688,-4204.718518);
is-approx($lat1, 51.4857783969849, :$rel-tol);
is-approx($lon1, 137.714167388512, :$rel-tol);
is-approx($lat2, 51.4857783969849, :$rel-tol);
is-approx($lon2, 137.714167388512, :$rel-tol);

($lat1, $lon1) = $e1.location(25.726049,310.324628,-6257.928111,2250.854111);
($lat2, $lon2) = $e2.location(25.726049,310.324628,-6257.928111,2250.854111);
is-approx($lat1, 25.7463533347373, :$rel-tol);
is-approx($lon1, 310.262255281203, :$rel-tol);
is-approx($lat2, 25.7463533347373, :$rel-tol);
is-approx($lon2, -49.7377447187972, :$rel-tol);

($lat1, $lon1) = $e1.location(68.128342,115.791221,-2001.180839,-4332.668684);
($lat2, $lon2) = $e2.location(68.128342,115.791221,-2001.180839,-4332.668684);
is-approx($lat1, 68.0894895788839, :$rel-tol);
is-approx($lon1, 115.743184646015, :$rel-tol);
is-approx($lat2, 68.0894895788839, :$rel-tol);
is-approx($lon2, 115.743184646015, :$rel-tol);

($lat1, $lon1) = $e1.location(-11.919645,340.641713,400.975087,-796.364784);
($lat2, $lon2) = $e2.location(-11.919645,340.641713,400.975087,-796.364784);
is-approx($lat1, -11.9268441615802, :$rel-tol);
is-approx($lon1, 340.645393779515, :$rel-tol);
is-approx($lat2, -11.9268441615802, :$rel-tol);
is-approx($lon2, -19.354606220485, :$rel-tol);

($lat1, $lon1) = $e1.location(-30.550903,251.787663,-775.012580,-3452.638734);
($lat2, $lon2) = $e2.location(-30.550903,251.787663,-775.012580,-3452.638734);
is-approx($lat1, -30.5820467190056, :$rel-tol);
is-approx($lon1, 251.77958340328, :$rel-tol);
is-approx($lat2, -30.5820467190056, :$rel-tol);
is-approx($lon2, -108.22041659672, :$rel-tol);

($lat1, $lon1) = $e1.location(-61.797586,265.384439,7146.867896,5933.555966);
($lat2, $lon2) = $e2.location(-61.797586,265.384439,7146.867896,5933.555966);
is-approx($lat1, -61.7442754682937, :$rel-tol);
is-approx($lon1, 265.519702300482, :$rel-tol);
is-approx($lat2, -61.7442754682937, :$rel-tol);
is-approx($lon2, -94.4802976995183, :$rel-tol);

($lat1, $lon1) = $e1.location(71.112709,8.834545,3822.767201,1239.546435);
($lat2, $lon2) = $e2.location(71.112709,8.834545,3822.767201,1239.546435);
is-approx($lat1, 71.1237884898956, :$rel-tol);
is-approx($lon1, 8.9403714174623, :$rel-tol);
is-approx($lat2, 71.1237884898956, :$rel-tol);
is-approx($lon2, 8.9403714174623, :$rel-tol);

($lat1, $lon1) = $e1.location(-63.553064,13.025588,1412.584591,-3809.123459);
($lat2, $lon2) = $e2.location(-63.553064,13.025588,1412.584591,-3809.123459);
is-approx($lat1, -63.587232627602, :$rel-tol);
is-approx($lon1, 13.0540374200214, :$rel-tol);
is-approx($lat2, -63.587232627602, :$rel-tol);
is-approx($lon2, 13.0540374200214, :$rel-tol);

($lat1, $lon1) = $e1.location(29.289568,92.918510,4731.596510,6590.786214);
($lat2, $lon2) = $e2.location(29.289568,92.918510,4731.596510,6590.786214);
is-approx($lat1, 29.3490208963828, :$rel-tol);
is-approx($lon1, 92.9672340946057, :$rel-tol);
is-approx($lat2, 29.3490208963828, :$rel-tol);
is-approx($lon2, 92.9672340946057, :$rel-tol);

($lat1, $lon1) = $e1.location(23.630668,183.960989,4138.465023,2799.859193);
($lat2, $lon2) = $e2.location(23.630668,183.960989,4138.465023,2799.859193);
is-approx($lat1, 23.6559427295585, :$rel-tol);
is-approx($lon1, 184.001554318971, :$rel-tol);
is-approx($lat2, 23.6559427295585, :$rel-tol);
is-approx($lon2, -175.998445681029, :$rel-tol);

($lat1, $lon1) = $e1.location(21.323022,38.682180,-1399.057344,1614.938175);
($lat2, $lon2) = $e2.location(21.323022,38.682180,-1399.057344,1614.938175);
is-approx($lat1, 21.3376068588205, :$rel-tol);
is-approx($lon1, 38.6686929767104, :$rel-tol);
is-approx($lat2, 21.3376068588205, :$rel-tol);
is-approx($lon2, 38.6686929767104, :$rel-tol);

($lat1, $lon1) = $e1.location(77.751666,6.954744,5929.596522,6252.746147);
($lat2, $lon2) = $e2.location(77.751666,6.954744,5929.596522,6252.746147);
is-approx($lat1, 77.8075587887118, :$rel-tol);
is-approx($lon1, 7.20615011733763, :$rel-tol);
is-approx($lat2, 77.8075587887118, :$rel-tol);
is-approx($lon2, 7.20615011733763, :$rel-tol);

($lat1, $lon1) = $e1.location(-58.652658,205.140021,-989.610011,857.234290);
($lat2, $lon2) = $e2.location(-58.652658,205.140021,-989.610011,857.234290);
is-approx($lat1, -58.6449608105583, :$rel-tol);
is-approx($lon1, 205.122978574437, :$rel-tol);
is-approx($lat2, -58.6449608105583, :$rel-tol);
is-approx($lon2, -154.877021425563, :$rel-tol);

($lat1, $lon1) = $e1.location(7.193705,159.638737,1331.489232,-2884.772253);
($lat2, $lon2) = $e2.location(7.193705,159.638737,1331.489232,-2884.772253);
is-approx($lat1, 7.16761967835449, :$rel-tol);
is-approx($lon1, 159.650791084088, :$rel-tol);
is-approx($lat2, 7.16761967835449, :$rel-tol);
is-approx($lon2, 159.650791084088, :$rel-tol);

($lat1, $lon1) = $e1.location(74.707726,290.854396,-5950.188093,4079.190116);
($lat2, $lon2) = $e2.location(74.707726,290.854396,-5950.188093,4079.190116);
is-approx($lat1, 74.7441816240245, :$rel-tol);
is-approx($lon1, 290.651891561222, :$rel-tol);
is-approx($lat2, 74.7441816240245, :$rel-tol);
is-approx($lon2, -69.3481084387778, :$rel-tol);

($lat1, $lon1) = $e1.location(68.994921,41.466113,2924.344241,-3618.182892);
($lat2, $lon2) = $e2.location(68.994921,41.466113,2924.344241,-3618.182892);
is-approx($lat1, 68.9624691494271, :$rel-tol);
is-approx($lon1, 41.5390782800596, :$rel-tol);
is-approx($lat2, 68.9624691494271, :$rel-tol);
is-approx($lon2, 41.5390782800596, :$rel-tol);

($lat1, $lon1) = $e1.location(-19.222949,91.053479,-938.847377,-953.711224);
($lat2, $lon2) = $e2.location(-19.222949,91.053479,-938.847377,-953.711224);
is-approx($lat1, -19.2315645979899, :$rel-tol);
is-approx($lon1, 91.0445501139712, :$rel-tol);
is-approx($lat2, -19.2315645979899, :$rel-tol);
is-approx($lon2, 91.0445501139712, :$rel-tol);

($lat1, $lon1) = $e1.location(19.041053,175.994927,-5076.395617,1015.894519);
($lat2, $lon2) = $e2.location(19.041053,175.994927,-5076.395617,1015.894519);
is-approx($lat1, 19.0502245946019, :$rel-tol);
is-approx($lon1, 175.946699498326, :$rel-tol);
is-approx($lat2, 19.0502245946019, :$rel-tol);
is-approx($lon2, 175.946699498326, :$rel-tol);

($lat1, $lon1) = $e1.location(-35.454628,153.274308,1065.988824,115.261143);
($lat2, $lon2) = $e2.location(-35.454628,153.274308,1065.988824,115.261143);
is-approx($lat1, -35.4535887262639, :$rel-tol);
is-approx($lon1, 153.286050580698, :$rel-tol);
is-approx($lat2, -35.4535887262639, :$rel-tol);
is-approx($lon2, 153.286050580698, :$rel-tol);

($lat1, $lon1) = $e1.location(64.324875,209.104753,-7966.963936,1631.358114);
($lat2, $lon2) = $e2.location(64.324875,209.104753,-7966.963936,1631.358114);
is-approx($lat1, 64.3394159635433, :$rel-tol);
is-approx($lon1, 208.939932681831, :$rel-tol);
is-approx($lat2, 64.3394159635433, :$rel-tol);
is-approx($lon2, -151.060067318169, :$rel-tol);

($lat1, $lon1) = $e1.location(33.139375,123.465763,9017.723154,2497.952993);
($lat2, $lon2) = $e2.location(33.139375,123.465763,9017.723154,2497.952993);
is-approx($lat1, 33.1618601109721, :$rel-tol);
is-approx($lon1, 123.562433957867, :$rel-tol);
is-approx($lat2, 33.1618601109721, :$rel-tol);
is-approx($lon2, 123.562433957867, :$rel-tol);

($lat1, $lon1) = $e1.location(35.694667,300.725605,3044.246236,-1595.338139);
($lat2, $lon2) = $e2.location(35.694667,300.725605,3044.246236,-1595.338139);
is-approx($lat1, 35.6802840942486, :$rel-tol);
is-approx($lon1, 300.75923369164, :$rel-tol);
is-approx($lat2, 35.6802840942486, :$rel-tol);
is-approx($lon2, -59.2407663083597, :$rel-tol);

($lat1, $lon1) = $e1.location(-25.789728,191.087862,546.974169,5517.283430);
($lat2, $lon2) = $e2.location(-25.789728,191.087862,546.974169,5517.283430);
is-approx($lat1, -25.7399260442896, :$rel-tol);
is-approx($lon1, 191.093313592838, :$rel-tol);
is-approx($lat2, -25.7399260442896, :$rel-tol);
is-approx($lon2, -168.906686407162, :$rel-tol);

($lat1, $lon1) = $e1.location(-7.204161,179.885067,-166.062018,-2506.871288);
($lat2, $lon2) = $e2.location(-7.204161,179.885067,-166.062018,-2506.871288);
is-approx($lat1, -7.22682901108564, :$rel-tol);
is-approx($lon1, 179.883563144484, :$rel-tol);
is-approx($lat2, -7.22682901108564, :$rel-tol);
is-approx($lon2, 179.883563144484, :$rel-tol);

($lat1, $lon1) = $e1.location(-41.090138,219.595320,-1516.572325,2551.756928);
($lat2, $lon2) = $e2.location(-41.090138,219.595320,-1516.572325,2551.756928);
is-approx($lat1, -41.0671591825447, :$rel-tol);
is-approx($lon1, 219.577276687536, :$rel-tol);
is-approx($lat2, -41.0671591825447, :$rel-tol);
is-approx($lon2, -140.422723312464, :$rel-tol);

($lat1, $lon1) = $e1.location(11.191046,106.356107,3797.399564,3019.906799);
($lat2, $lon2) = $e2.location(11.191046,106.356107,3797.399564,3019.906799);
is-approx($lat1, 11.2183452049465, :$rel-tol);
is-approx($lon1, 106.390879919224, :$rel-tol);
is-approx($lat2, 11.2183452049465, :$rel-tol);
is-approx($lon2, 106.390879919224, :$rel-tol);

($lat1, $lon1) = $e1.location(22.955732,47.794852,-728.235876,-8214.488456);
($lat2, $lon2) = $e2.location(22.955732,47.794852,-728.235876,-8214.488456);
is-approx($lat1, 22.8815557299625, :$rel-tol);
is-approx($lon1, 47.7877547716615, :$rel-tol);
is-approx($lat2, 22.8815557299625, :$rel-tol);
is-approx($lon2, 47.7877547716615, :$rel-tol);

($lat1, $lon1) = $e1.location(-15.074589,56.914619,812.601451,-7118.197278);
($lat2, $lon2) = $e2.location(-15.074589,56.914619,812.601451,-7118.197278);
is-approx($lat1, -15.1389196660838, :$rel-tol);
is-approx($lon1, 56.9221791309893, :$rel-tol);
is-approx($lat2, -15.1389196660838, :$rel-tol);
is-approx($lon2, 56.9221791309893, :$rel-tol);

($lat1, $lon1) = $e1.location(35.067827,307.917302,1430.720014,-8246.452560);
($lat2, $lon2) = $e2.location(35.067827,307.917302,1430.720014,-8246.452560);
is-approx($lat1, 34.993494196776, :$rel-tol);
is-approx($lon1, 307.932973187806, :$rel-tol);
is-approx($lat2, 34.993494196776, :$rel-tol);
is-approx($lon2, -52.0670268121944, :$rel-tol);

($lat1, $lon1) = $e1.location(66.084685,30.192264,-1488.568101,-729.098707);
($lat2, $lon2) = $e2.location(66.084685,30.192264,-1488.568101,-729.098707);
is-approx($lat1, 66.0781430272163, :$rel-tol);
is-approx($lon1, 30.1593794067059, :$rel-tol);
is-approx($lat2, 66.0781430272163, :$rel-tol);
is-approx($lon2, 30.1593794067059, :$rel-tol);

($lat1, $lon1) = $e1.location(42.839865,327.847225,-3356.170762,2661.665629);
($lat2, $lon2) = $e2.location(42.839865,327.847225,-3356.170762,2661.665629);
is-approx($lat1, 42.8638173053354, :$rel-tol);
is-approx($lon1, 327.806155932557, :$rel-tol);
is-approx($lat2, 42.8638173053354, :$rel-tol);
is-approx($lon2, -32.1938440674425, :$rel-tol);

($lat1, $lon1) = $e1.location(-23.824528,241.336801,164.348890,-2173.203049);
($lat2, $lon2) = $e2.location(-23.824528,241.336801,164.348890,-2173.203049);
is-approx($lat1, -23.8441499994285, :$rel-tol);
is-approx($lon1, 241.338413904748, :$rel-tol);
is-approx($lat2, -23.8441499994285, :$rel-tol);
is-approx($lon2, -118.661586095252, :$rel-tol);

($lat1, $lon1) = $e1.location(-48.109675,147.804097,-2798.934288,2645.898077);
($lat2, $lon2) = $e2.location(-48.109675,147.804097,-2798.934288,2645.898077);
is-approx($lat1, -48.0858733128975, :$rel-tol);
is-approx($lon1, 147.766528156688, :$rel-tol);
is-approx($lat2, -48.0858733128975, :$rel-tol);
is-approx($lon2, 147.766528156688, :$rel-tol);

($lat1, $lon1) = $e1.location(-17.562152,276.168590,4000.919027,-4011.407532);
($lat2, $lon2) = $e2.location(-17.562152,276.168590,4000.919027,-4011.407532);
is-approx($lat1, -17.5983930208429, :$rel-tol);
is-approx($lon1, 276.206284342329, :$rel-tol);
is-approx($lat2, -17.5