Convert WGS84 to OSGB36
问题 Is there any known java library which allows me to convert WGS 84 cords to OSGB36 or if there is a good formula I can use? I am currently using this one, but it's not very accurate so I'm wondering if there's a better one I can use. private static double[] Wgs84ToBNG(double inLat, double inLon) { double lat = inLat * Math.PI / 180.0; double lon = inLon * Math.PI / 180.0; double a = 6377563.396; // Airy 1830 major & minor semi-axes double b = 6356256.910; double F0 = 0.9996012717; // NatGrid