Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- http://www.geomidpoint.com/destination/
- Latitude: 58°48′29″S -58.80806228
- Longitude: 17°30′11″E 17.50310241
- GeodeticCalculator calc = new GeodeticCalculator();
- calc.setStartingGeographicPoint(0,-60);
- calc.setDirection(90, 1000000);
- Point2D dest = calc.getDestinationGeographicPoint();
- System.out.println("lon:"+dest.getX()+" lat:"+dest.getY());
- lon:17.5031024131395 lat:-58.808062278802744
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement