ITeye博客

2013 年文章归档

共 2 篇文章

mysql函数-根据经纬度坐标计算距离

在实际的Web开发中,越来越多的碰到一些特定领域的专业算法,比如本文提到的根据两点经纬度计算距离的方法。 通常的两种计算: 1。要算的距离是椭球面的距离 设第一点A的经纬度为(LonA, LatA),第二点B的经纬度为(LonB, LatB),按照0度经线的基准,东经取经度的正值(Longitude),西经取经度负值(-Longitude),北纬取90-纬度值(90- Latitude),南纬取90+纬度值(90+Latitude),则经过上述处理过后的两点被计为(MLonA, MLatA)和(MLonB, MLatB)。那么根据三角推导,可以得到计算两点距离的如下公式: C = sin(M…

2013-09-23 09:55 · it · PHP · database · mysql

Internet Explorer cannot open the Internet site - Operation aborted

Recently, I found IE error report in our web application as below, in my case, I search solution via Google and Baidu Search Engine , and then find this is a bug existing in IE browser. Internet Explorer cannot open the Internet site - Operation aborted http://social.msdn.microsoft.com/Forums/en-US…

2013-09-10 10:20 · it · js