绘制十进制度XY坐标(米)中的纬度经度

时间:2018-03-07 10:31:55

标签: latitude-longitude location-services cartesian-coordinates

我在地图上有一组不同位置的Lat-long值。 例如

(18.605906724686033,73.14103329678608) (18.606069075261992,73.13979277511669) (18.606066194308486,73.13996845980716) (18.60624633887108,73.1400100340469)

我需要将它们绘制在以第一个位置为原点的图形(以米为单位)中。 请帮我解决转换公式。 谢谢你的回答。

1 个答案:

答案 0 :(得分:0)

x0 = 18.605906724686033 //原点经度

y0 = 73.14103329678608 //原始纬度

x1 = 18.606069075261992 // longidute

y1 = 73.13979277511669 //纬度

dlong = x1-x2

DLAT = Y1-Y2。

X = dlong * 111139。 //给定经度的x-cordinate

y = dlat * 111190 //给定纬度的y坐标

相关问题