Converting coordinates to WGS84
问题 I have the following function which plots a Circle given the centroid, but I want the coordinates to be In WGS84. var coords = new List<Tuple<double, double>>(); const double EARTH_RADIUS_NM = 3437.670013352; var lat = (latIn * Math.PI) / 180; var lon = (lonIn * Math.PI) / 180; double d = radiusIn / EARTH_RADIUS_NM; for (int x = 0; x <= 360; x++) { double brng = (x * Math.PI) / 180; var latRadians = Math.Asin(Math.Sin(lat) * Math.Cos(d) + Math.Cos(lat) * Math.Sin(d) * Math.Cos(brng)); var